Title: Maven - Xdoclet - Validators Form
I solved the problem,
 
I added the property:
 
maven.xdoclet.webdoclet.0.force=true
 
and now webdoclet would take the generated forms to build the validationxml
 
Strange behavior, but works
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of "Treviņo De la Garza, Isidoro"
Sent: Wednesday, March 02, 2005 1:20 PM
To: xdoclet-user@lists.sourceforge.net
Subject: [Xdoclet-user] Maven - Xdoclet - Validators Form

Hi,

        I'm using the ejbdoclet task to generate struts forms which later will be parsed by the webdoclet task to generate the validation.xml, the problem is I can't figure how to make the webdoclet task include the generated forms with the maven plugin. I use the following project.properties:

maven.xdoclet.ejbdoclet.0=true
maven.xdoclet.ejbdoclet.fileset.0.include=**/*.java
maven.xdoclet.ejbdoclet.0.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF
maven.xdoclet.ejbdoclet.strutsform.0=true
maven.xdoclet.ejbdoclet.strutsform.0.destDir=${maven.build.dir}/xdoclet/ejbdoclet/classes

maven.xdoclet.webdoclet.0=true
maven.xdoclet.webdoclet.0.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF
maven.xdoclet.webdoclet.0.mergeDir=src/merge
maven.xdoclet.webdoclet.strutsconfigxml.0=true
maven.xdoclet.webdoclet.strutsconfigxml.0.validateXML=true
maven.xdoclet.webdoclet.strutsconfigxml.0.Version=1.1
maven.xdoclet.webdoclet.strutsconfigxml.0.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF
maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge
maven.xdoclet.webdoclet.strutsvalidationxml.0=true
maven.xdoclet.webdoclet.strutsvalidationxml.0.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF
maven.xdoclet.webdoclet.deploymentdescriptor.0.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF
maven.xdoclet.webdoclet.deploymentdescriptor.0.mergeDir=src/merge
maven.xdoclet.webdoclet.fileset.0.include=**/*.java
maven.xdoclet.webdoclet.fileset.1.dir=${maven.xdoclet.ejbdoclet.strutsform.0.destDir}    ===>>> This is where the generated strutsforms go

maven.xdoclet.webdoclet.fileset.1.include=**/*.java

But it won't take the forms to generate the validation.xml. If I copy the struts-forms into my src directory, they are parsed and the validation.xml is created.

Is there something wrong with my configuration?

Thanks in advance

Reply via email to