|
I think the classname for ejbdoclet is now
"xdoclet.modules.ejb.EjbDocletTask"
-Joe
>>> "Steven James Whyte" <[EMAIL PROTECTED]> 06/11/02 08:54AM >>> The following is a snippet from our ant build.xml file and when it is executed the error that follows occurs (XDoclet 1.2) Has anybody seen this? Also I have noticed that in the 1.2 build, that there is no longer just one XDoclet.jar but many jars, is this a change in 1.2? Thanks Steve ANT BUILD <target name="ejbdoclet" depends="init" description="Run XDoclet to generate EJBs"> <taskdef name="ejbdoclet" classname="xdoclet.ejb.EjbDocletTask" classpath="${xdoclet.jar};${log4j.jar};${ant.jar}"/> <ejbdoclet sourcepath="${devsrc.dir}" destdir="${build.src.dir}" classpathref="class.path.id" excludedtags="@version,@author" ejbspec="2.0" force="${xdoclet.force}"> <fileset dir="${devsrc.dir}"> <include name="**/*Bean.java" /> </fileset> <!-- the following determine what XDoclet will generate for us --> <deploymentdescriptor destdir="${build.classes.dir}/META-INF"/> <!-- <remoteinterface/> <localinterface/> <homeinterface/> <localhomeinterface/> <entitycmp/> <session/> --> <!-- generate WebLogic-specific deployment descriptors --> <weblogic/> </ejbdoclet> </target> ERROR BUILD FAILED S:\view\snapview\foo\domain\dev\build.xml:59: Can't create a classpath element under ejbdoclet. Make sure the jar file containing the corresponding subtask class is on the classpath specified in the <taskdef> that defined ejbdoclet. at xdoclet.DocletTask.createDynamicElement(DocletTask.java:252) at org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionHelper.java) at org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java) at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java) at org.apache.tools.ant.Task.perform(Task.java) at org.apache.tools.ant.Target.execute(Target.java) at org.apache.tools.ant.Target.performTasks(Target.java) at org.apache.tools.ant.Project.executeTarget(Project.java) at org.apache.tools.ant.Project.executeTargets(Project.java) at org.apache.tools.ant.Main.runBuild(Main.java) at org.apache.tools.ant.Main.start(Main.java) at org.apache.tools.ant.Main.main(Main.java) _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user |
- [Xdoclet-user] Build Error Steven James Whyte
- Re: [Xdoclet-user] Build Error Marcus Brito
- Re: [Xdoclet-user] Build Error Marcus Brito
- Re: [Xdoclet-user] Build Error Joseph Parks
- Re: [Xdoclet-user] Build Error aslak.hellesoy
- RE: [Xdoclet-user] Build Error Ara Abrahamian
