You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "nicolas.frank@laposte.net" <ni...@laposte.net> on 2003/04/09 11:07:58 UTC
help for xdoclet
hello,
I am trying to move my project to the maven way... and I have
some hard time with xdoclet !
- I get errors in maven.log
here is a short extract. It seems like the jboss xdoclet is
not set in the pathelement :
2003-04-09 10:45:18,254 WARN
org.apache.commons.jelly.tags.ant.AntTag - Could not convert
tag: deploymentdescriptor into an Ant task, data type or property
2003-04-09 10:45:18,269 ERROR
org.apache.commons.jelly.tags.ant.AntTag - Make sure that the
jar file containing ejbdoclet is on the classpath specified in
the <taskdef> that defined
xdoclet.modules.jboss.jmx.JBossXMBeanDescriptorSubTask. This
class is required by
C:\JAVA\MAVEN1.0BETA8\repository\bsframework\jars\bsframework-server.jar;C:\JAVA\MAVEN1.0BETA8\repository\struts\jars\struts-1.1-rc1.jar;C:\JAVA\MAVEN1.0BETA8\repository\commons-beanutils\jars\commons-beanutils-1.6.1.jar;C:\JAVA\MAVEN1.0BETA8\repository\jboss\jars\jboss-j2ee.jar;C:\JAVA\MAVEN1.0BETA8\repository\javax-servlet\jars\javax.servlet.jar;C:\JAVA\MAVEN1.0BETA8\repository\xerces\jars\xerces-2.2.1.jar;C:\JAVA\MAVEN1.0BETA8\repository\xalan\jars\xalan-2.4.1.jar;C:\JAVA\MAVEN1.0BETA8\repository\xml-apis\jars\xml-apis-1.0.b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\fop\jars\fop-0.20.5rc2.jar;C:\JAVA\MAVEN1.0BETA8\repository\xdoclet\jars\xdoclet-ejb-module-1.2b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\xdoclet\jars\xdoclet-jboss-module-1.2b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\xdoclet\jars\xdoclet-1.2b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\xdoclet\jars\xdoclet-xjavadoc-1.2b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\xdoclet\jars\xdoclet-xdoclet-module-1.2b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\commons-collections\jars\commons-collections-2.1.jar;C:\JAVA\MAVEN1.0BETA8\repository\commons-logging\jars\commons-logging-1.1-dev.jar;C:\JAVA\MAVEN1.0BETA8\repository\log4j\jars\log4j-1.2.6.jar
which is one of the subtasks that was on your classpath. The
C:\JAVA\MAVEN1.0BETA8\repository\bsframework\jars\bsframework-server.jar;C:\JAVA\MAVEN1.0BETA8\repository\struts\jars\struts-1.1-rc1.jar;C:\JAVA\MAVEN1.0BETA8\repository\commons-beanutils\jars\commons-beanutils-1.6.1.jar;C:\JAVA\MAVEN1.0BETA8\repository\jboss\jars\jboss-j2ee.jar;C:\JAVA\MAVEN1.0BETA8\repository\javax-servlet\jars\javax.servlet.jar;C:\JAVA\MAVEN1.0BETA8\repository\xerces\jars\xerces-2.2.1.jar;C:\JAVA\MAVEN1.0BETA8\repository\xalan\jars\xalan-2.4.1.jar;C:\JAVA\MAVEN1.0BETA8\repository\xml-apis\jars\xml-apis-1.0.b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\fop\jars\fop-0.20.5rc2.jar;C:\JAVA\MAVEN1.0BETA8\repository\xdoclet\jars\xdoclet-ejb-module-1.2b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\xdoclet\jars\xdoclet-jboss-module-1.2b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\xdoclet\jars\xdoclet-1.2b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\xdoclet\jars\xdoclet-xjavadoc-1.2b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\xdoclet\jars\xdoclet-xdoclet-module-1.2b2.jar;C:\JAVA\MAVEN1.0BETA8\repository\commons-collections\jars\commons-collections-2.1.jar;C:\JAVA\MAVEN1.0BETA8\repository\commons-logging\jars\commons-logging-1.1-dev.jar;C:\JAVA\MAVEN1.0BETA8\repository\log4j\jars\log4j-1.2.6.jar
task's classpath is:
Could you help me ?
- second question is :
I added in my project.properties :
maven.xdoclet.ejbdoclet.localinterface.0=true
maven.xdoclet.ejbdoclet.localinterface.0.templateFile=${basedir}/templates/localTemplate.xdt
maven.xdoclet.ejbdoclet.jboss.0=true
maven.xdoclet.ejbdoclet.jboss.0.version=3.0
maven.xdoclet.ejbdoclet.jboss.0.xmlencoding=UTF-8
is this the correct format ?
- a last question is the way xdoclet is describing dependencies :
in the project.xml there is :
<dependency>
<id>xdoclet</id>
<version>1.2b2</version>
</dependency>
<dependency>
<id>xdoclet+xdoclet-module</id>
<version>1.2b2</version>
</dependency>
<dependency>
<id>xdoclet+xjavadoc</id>
<version>1.2b2</version>
</dependency>
what is the '+' syntax ? there is nothing about that in the
maven documentation... (why not using <groupId>,<artifactId>...? )
Thank's for your help.
Nicolas FRANK
Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34/mn) ; tél : 08 92 68 13 50 (0,34/mn)"
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org