You have bad ant syntax. Use classpathref="xdoclet.path" instead of
classpath="${xdoclet.path}".Aslak -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aatish Shroff Sent: 26. november 2002 11:25 To: [EMAIL PROTECTED] Subject: [Xdoclet-user] migrating from 1.1.2 to 1.2beta HI All, I have just tried to migrate from XDoclet 1.1.2 to ver 1.2beta and am facing a problem of "taskdef class xdoclet.modules.ejb.EjbDocletTask not found" My build.xml is shown below. <path id="xdoclet.path"> <pathelement location="${ant.home}/lib/ant.jar" /> <pathelement location="${xdoclet.home}/lib/xdoclet-ejb-module.jar" /> <pathelement location="${xdoclet.home}/lib/xdoclet.jar" /> <pathelement location="${jboss.client}/log4j.jar" /> </path> <target name="xdoclet-generate" depends="init"> <taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask" classpath="${xdoclet.path}"/> <ejbdoclet sourcepath="${src.ejb.dir}" destdir="${build.generate.dir}" classpathref="base.path" excludedtags="@version,@author" ejbspec="${ejb.version}" mergedir="${src.resources.dir}/xdoclet" force="${xdoclet.force}" > <fileset dir="${src.ejb.dir}"> <include name="**/*Ejb.java"/> </fileset> I used ant -debug and got a message that xdoclet.path was not set. Can someone please let me know why it did not get set or if there is something that i am missing in the build.xml. Thanks, Aatish ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
