[izpack-users] NullPointerException

Subir Bhaumik subir_05 at rediffmail.com
Wed Jun 7 11:35:07 CEST 2006


  
Hi
   I am using IzPack(IzPack-install-3.8.1.jar/standalone-compiler.jar) programmatically with the help of ant api
   rather than using build.xml.
   It is running O.K. in Windows platform.But it is getting NullPointerException 
   when it execute the IzPackTask (izpack.execute();).
   Is it not executable in linux environment?If possible then where iam wrong?
   
   Code
   
   
   			IzPackTask izpack = new IzPackTask();			
			izpack.setProject(p);
			izpack.setInput("/opt/bishwakarma/installer/InstallerResources/install.xml");
			izpack.setOutput("/opt/bishwakarma/installer/out.jar");			
			izpack.setBasedir(".");
			Target installer = new Target();
			installer.setName("installer");			
			installer.addTask(izpack);
			izpack.init();
			izpack.execute();
			
   Warm Regards 
   
   Subir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20060607/25dcc19f/attachment.html 


More information about the izpack-users mailing list