error running XDoclet (EJB tutorial)
grubshka Aug 10, 2005 4:05 AMHello !
I just installed JBoss 4 and JBossIDE 1.5 Bundle. The server is running. I tried to create a project with a simple SessionBean (like the one in the tutorial http://docs.jboss.com/jbosside/tutorial/build/en/html/the.ejb.html), but I get an error while running XDoclet and I don't understand ! :
Buildfile: D:\Documents\Boulot\workspace_saccodo\saccodo\xdoclet-build.xml N65540: BUILD FAILED D:\Documents\Boulot\workspace_saccodo\saccodo\xdoclet-build.xml:35: java.lang.IllegalStateException: Error during module loading: no !/ in spec Total time: 1 second
Here's my xdoclet-build.xml (auto-generated), the line 35 is the "ejbdoclet" tag.
<?xml version="1.0" encoding="UTF-8"?> <project name="XDoclet Generator" default="_xdoclet_generation_"> <property file="xdoclet-build.properties"/> <property name="eclipse.home" value="D:/Applis/eclipse"/> <property name="xdoclet.basedir" value="${eclipse.home}/plugins/org.jboss.ide.eclipse.xdoclet.core_1.5.0.M2"/> <property name="jboss.net.version" value="4.0"/> <path id="project.classpath"> <pathelement location="output"/> <pathelement location="${eclipse.home}/plugins/org.jboss.ide.eclipse.jdt.j2ee.core_1.5.0.M2/lib/j2ee-1.4/ejb-api.jar"/> [ A LOT OF PATHELEMENTS ] <pathelement location="D:/Documents/Dl/#Linux/postgresql-8.0-311.jdbc3.jar"/> </path> <path id="xdoclet.classpath"> <path refid="project.classpath"/> <fileset dir="${xdoclet.basedir}"> <include name="*.jar"/> <exclude name="xdoclet-module-jboss-net-*.jar"/> </fileset> <fileset dir="${xdoclet.basedir}"> <include name="xdoclet-module-jboss-net-${jboss.net.version}*.jar"/> </fileset> </path> <target name="_xdoclet_generation_" depends="N65540"/> <target name="N65540" description="EJB"> <taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask" classpathref="xdoclet.classpath"/> <ejbdoclet ejbSpec="2.0" excludedTags="@version,@author,@todo" destDir="src" verbose="true" addedTags="@xdoclet-generated at ${TODAY},@copyright The XDoclet Team,@author XDoclet,@version ${version}" > <fileset dir="src" includes="**/*.java"></fileset> <packageSubstitution packages="ejb" substituteWith="interfaces" ></packageSubstitution> <remoteinterface></remoteinterface> <localinterface></localinterface> <homeinterface></homeinterface> <localhomeinterface></localhomeinterface> <dataobject></dataobject> <valueobject></valueobject> <entitypk></entitypk> <entitycmp></entitycmp> <entitybmp></entitybmp> <session></session> <dao> <PackageSubstitution packages="ejb" substituteWith="dao" > </PackageSubstitution> </dao> <utilobject includeGUID="true" cacheHomes="true" ></utilobject> <deploymentdescriptor validateXML="true" destDir="src/META-INF"></deploymentdescriptor> <jboss Version="4.0" destDir="src/META-INF" ></jboss> </ejbdoclet> </target> </project>
Could someone help me please ?