I'm trying out the new CVS code. It builds (ant 1.5 required), although
the documentation did not :-(
I have some questions: Do I still need to include the xdoclet jars on
the ant classpath?
Which xdoclet module jars do I need if I am only using ejbdoclet
(+jboss)?
I currently have all of the xdoclet jars in the classpathref, and I'm
getting this error:
BUILD FAILED
C:\src\Similarity2\build.xml:111: Can't create a deploymentdescriptor
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:278)
at
org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionH
elper.java:510)
at
org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.jav
a:217)
at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
a:122)
at org.apache.tools.ant.Task.perform(Task.java:312)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
at
org.apache.tools.ant.Project.executeTargets(Project.java:1160)
at org.apache.tools.ant.Main.runBuild(Main.java:605)
at org.apache.tools.ant.Main.start(Main.java:195)
at org.apache.tools.ant.Main.main(Main.java:234)
Any advice? I'm at a loss to identify what is missing. I don't need to
define the "xdoclet" task in order to use ejbdoclet, do I?
Here is the task:
<taskdef
name="ejbdoclet"
classname="xdoclet.modules.ejb.EjbDocletTask"
classpathref="master-classpath"
/>
<ejbdoclet destdir="${generated.dir}"
classpathref="master-classpath"
ejbspec="2.0"
mergedir="${ejb.merge.dir}"
force="${xdoclet.force}">
<fileset dir="${javasrc.dir}">
<include
name="com/similarity/ejb/**/*EJB.java"/>
</fileset>
<remoteinterface/>
<localinterface/>
<homeinterface/>
<localhomeinterface/>
<entitypk/>
<dataobject/>
<entitycmp/>
<deploymentdescriptor validatexml="true" />
...
master-classpath is
<path id="master-classpath">
<pathelement path="${java.class.path}" />
<fileset dir="${lib.dir}">
<include name="**/*.jar" />
</fileset>
</path>
And lib.dir is:
Directory of C:\src\Similarity2\lib
[.] [..]
commons-beanutils.jar commons-collections-2.0.jar
commons-logging.jar [CVS]
jboss-j2ee.jar jbosssx.jar
jdom.jar junit.jar
junitee.jar log4j.jar
mail.jar maverick.jar
servlet.jar velocity-1.3-rc1.jar
velocity-tools-view-0.6.jar [xdoclet]
14 File(s) 1,540,823 bytes
Directory of C:\src\Similarity2\lib\xdoclet
[.] [..]
[CVS] xdoclet-apache-module.jar
xdoclet-bea-module.jar xdoclet-ejb-module.jar
xdoclet-exolab-module.jar xdoclet-hp-module.jar
xdoclet-ibm-module.jar xdoclet-jboss-module.jar
xdoclet-jmx-module.jar xdoclet-macromedia-module.jar
xdoclet-mvcsoft-module.jar xdoclet-mx4j-module.jar
xdoclet-orion-module.jar xdoclet-pramati-module.jar
xdoclet-web-module.jar xdoclet-webwork-module.jar
xdoclet-xdoclet-module.jar xdoclet.jar
xjavadoc.jar
18 File(s) 729,822 bytes
Thanks,
Jeff Schnitzer
[EMAIL PROTECTED]
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user