You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Daniel Draws <da...@helenos.de> on 2004/03/01 15:52:01 UTC

xdoclet:webdoclet strutsconfigxml problem

Hi,

I have problem using maven and the xdoclet-plugin for generating the
struts-config.xml. But calling the xdoclet:webdoclet goal only generates
the web.xml.

the maven.log:
2004-03-01 15:47:30,221 ERROR org.apache.commons.jelly.tags.ant.AntTag -
Can't create a strutsconfigxml element under webdoclet. Make sure the
jar file containing the corresponding subtask class is on the classpath
specified in the <taskdef> that defined {2}.
2004-03-01 15:47:30,221 WARN  org.apache.commons.jelly.tags.ant.AntTag -
Could not convert tag: strutsconfigxml into an Ant task, data type or
property
2004-03-01 15:47:32,744 INFO  org.apache.maven.cli.App - Total time: 6
seconds
2004-03-01 15:47:32,748 INFO  org.apache.maven.cli.App - Finished at:
Mon Mar 01 15:47:32 CET 2004
2004-03-01 15:47:32,792 INFO  org.apache.maven.cli.App - 



My configuration:
project.xml:
[...]
<dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet</artifactId>
            <version>1.2</version>
            <type>jar</type>
            <properties/>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet-web-module</artifactId>
            <version>1.2</version>
            <type>jar</type>
            <properties/>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet-ejb-module</artifactId>
            <version>1.2</version>
            <type>jar</type>
            <properties/>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet-java-module</artifactId>
            <version>1.2</version>
            <type>jar</type>
            <properties/>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet-xdoclet-module</artifactId>
            <version>1.2</version>
            <type>jar</type>
            <properties/>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xjavadoc</artifactId>
            <version>1.0.2</version>
            <type>jar</type>
            <properties/>
        </dependency>
[...]


project.properties:
[...]

# -------------------------------------------------------------------
# XDoclet plugin.
# -------------------------------------------------------------------

maven.xdoclet.webdoclet.fileset.0=false
maven.xdoclet.webdoclet.fileset.0.include=**/*Action.java
maven.xdoclet.webdoclet.fileset.1=true
maven.xdoclet.webdoclet.fileset.1.include=**/*Form.java
maven.xdoclet.webdoclet.fileset.2=true
maven.xdoclet.webdoclet.fileset.2.include=**/*Tag.java

maven.xdoclet.webdoclet.deploymentdescriptor.0.mergeDir=${basedir}/src/xdoclet
maven.xdoclet.webdoclet.deploymentdescriptor.0.xmlencoding=iso-8859-1
maven.xdoclet.webdoclet.jsptaglib.0=false

maven.xdoclet.webdoclet.strutsconfigxml.0=true
maven.xdoclet.webdoclet.strutsconfigxml.0.Version=1.1
maven.xdoclet.webdoclet.strutsconfigxml.0.useIds=true
maven.xdoclet.webdoclet.strutsconfigxml.0.validateXML=true
maven.xdoclet.webdoclet.strutsconfigxml.0.xmlencoding=iso-8859-1
maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=${basedir}/src/xdoclet

maven.xdoclet.webdoclet.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF


I realy don't know, what I'm doing wrong.

Thx, for your help

daniel



Re: xdoclet:webdoclet strutsconfigxml problem

Posted by Daniel Draws <da...@helenos.de>.
Hi,

Realy strange dependencies causing the trouble. 

After hours of searching, trying and "erroring" I've found the answer by
myself..

If anybody has the same problem:

The solution is to add xdoclet-ejb-module and  xdoclet-apache-module!


daniel


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org