maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Draws <daniel.dr...@helenos.de>
Subject xdoclet:webdoclet strutsconfigxml problem
Date Mon, 01 Mar 2004 14:52:01 GMT
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



Mime
View raw message