[izpack-devel] IzPack compiler as Ant task ... Problems .... Help needed ...

Khadeer, Syed khadeer.syed at nsn.com
Wed Apr 18 11:45:42 CEST 2007


Hello,

I have defined IzPack compiler as an Ant task in my build.xml as
follows:

	<!-- class path for IzPack task -->
	<path id="IzPackTask.path">
		<pathelement path="${IzPackHome}/lib/installer.jar"/>
		<pathelement path="${IzPack.Home}/lib/compiler.jar"/>
		<pathelement path="${IzPack.Home}/lib/izevent.jar"/>
		<pathelement
path="${IzPack.Home}/bin/customActions/MyCompileListener.jar"/>
		<pathelement
path="${IzPack.Home}/bin/customActions/MyInstallListener.jar"/>
	</path>

	<!-- Include IzPack compiler as an ANT task -->
	<taskdef name="izpack"
classname="com.izforge.izpack.ant.IzPackTask">
		<classpath refid="IzPackTask.path"/>
	</taskdef>

But, when this target it invoked, it some times fails with error:
	java.lang.NoClassDefFoundError:
com/izforge/izpack/event/SimpleCompilerListener

Has some one faced this problem ?
If yes, can you kindly help me with your knowledge please ?

Many thanx in advance.

Best Regards,
Syed.



Disclaimer:
This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-devel/attachments/20070418/745828f5/attachment.html 


More information about the izpack-devel mailing list