From: Marco T. <mt...@je...> - 2003-06-14 20:36:52
|
Hi, I think I've followed all the instructions to install xdoclet on my environment; nonetheless, I get the following exception: ejbdoclet: [taskdef] BUILD FAILED: file:./xdoclet_targets.xml:11: taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found This is my target: <!-- TARGET BEGIN --> <target name="ejbdoclet" depends="clean, init"> <taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask" classpathref="run.classpath" /> <tstamp> <format property="TODAY" pattern="dd-MM-yy"/> </tstamp> <ejbdoclet destdir="${xdoclet.build.dir}" excludedtags="@version,@author" addedtags="@xdoclet-generated at ${TODAY}" ejbspec="2.0" > <fileset dir="${src.prod.dir}"> <include name="**/*Bean.java"/> </fileset> <dataobject/> <packageSubstitution packages="ejbs" substituteWith="interfaces"/> <remoteinterface pattern="{0}Remote"/> <localinterface pattern="{0}Local"/> <homeinterface /> <localhomeinterface/> <entitypk/> <entitycmp/> <deploymentdescriptor destdir="${build.dir}/ejb/META-INF"/> <jboss version="3.1" preferredRelationMapping="foreign-key" datasource="java:/Jemos_MySQL" datasourcemapping="mySQL" destdir="${xdoclet.build.dir}/ejb/META-INF" /> </ejbdoclet> </target> <-- TARGET END --> To show that I have the required jars in the classpath, I also include a list of jars contained in the xdoclet.jar property, which is contained in the run.classpath property of the target: [echo] xdoclet.jar = D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\commons-collections-2.0.jar;D: \OPENSOURCES\xdoclet-all\xdoclet\target\lib\commons-logging.jar;D:\OPENSOURC ES\xdoclet-all\xdoclet\target\lib\log4j.jar;D:\OPENSOURCES\xdoclet-all\xdocl et\target\lib\maven-xdoclet-plugin-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\ xdoclet\target\lib\xdoclet-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\ target\lib\xdoclet-apache-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xd oclet\target\lib\xdoclet-bea-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all \xdoclet\target\lib\xdoclet-borland-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoc let-all\xdoclet\target\lib\xdoclet-caucho-module-1.2b3-dev.jar;D:\OPENSOURCE S\xdoclet-all\xdoclet\target\lib\xdoclet-ejb-module-1.2b3-dev.jar;D:\OPENSOU RCES\xdoclet-all\xdoclet\target\lib\xdoclet-exolab-module-1.2b3-dev.jar;D:\O PENSOURCES\xdoclet-all\xdoclet\target\lib\xdoclet-hibernate-module-1.2b3-dev .jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdoclet-hp-module-1.2b3-d ev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdoclet-ibm-module-1.2b 3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdoclet-java-module- 1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdoclet-jboss-mo dule-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdoclet-jdo -module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdoclet- jmx-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdocl et-libelis-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\li b\xdoclet-macromedia-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet \target\lib\xdoclet-mockobjects-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet- all\xdoclet\target\lib\xdoclet-mvcsoft-module-1.2b3-dev.jar;D:\OPENSOURCES\x doclet-all\xdoclet\target\lib\xdoclet-mx4j-module-1.2b3-dev.jar;D:\OPENSOURC ES\xdoclet-all\xdoclet\target\lib\xdoclet-objectweb-module-1.2b3-dev.jar;D:\ OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdoclet-oracle-module-1.2b3-dev.j ar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdoclet-orion-module-1.2b3- dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdoclet-pramati-module -1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdoclet-solarme tric-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\xdoc let-sun-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target\lib\x doclet-sybase-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\target \lib\xdoclet-tjdo-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet\ta rget\lib\xdoclet-web-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\xdoclet \target\lib\xdoclet-webwork-module-1.2b3-dev.jar;D:\OPENSOURCES\xdoclet-all\ xdoclet\target\lib\xdoclet-xdoclet-module-1.2b3-dev.jar As you can see, the xdoclet-xdoclet-module-1.2b3-dev.jar (which contains the EjbDocletTask class) is present. I don't know really where else to look at to solve the problem: please help. Thanks, Marco |