You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christophe Lombart <ch...@sword-technologies.com> on 2004/07/13 22:50:04 UTC

struts-config.xml

Hi All,

I'm using the xdoclet plugin  to generate all xml files used for my 
struts application. Unfortunatly, I cannot generate the struts-config.xml.
I just set the following properties, but it doesnt' work. Other xml 
config files are correclty generated. Any idea ? Is there another 
property to set  for the struts-config ?

Thanks,
Christophe

------------------------------------------------------------------------------------------------------------------------------------
project.properties :
...
maven.xdoclet.webdoclet.strutsconfigxml.0=true
maven.xdoclet.webdoclet.strutsconfigxml.0.destDir=${maven.build.dir}/xdoclet/web/WEB-INF
maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
maven.xdoclet.webdoclet.strutsconfigxml.0.Version=1.1
maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=${maven.src.dir}/xdoc-merge
...

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


RE: struts-config.xml

Posted by Arnaud Heritier <ah...@apache.org>.
Personally I use :

maven.war.webapp.dir=${maven.build.dir}/webapp
maven.xdoclet.webdoclet.destDir=${maven.war.webapp.dir}/WEB-INF
maven.xdoclet.webdoclet.0=true
maven.xdoclet.webdoclet.0.destDir=${maven.war.webapp.dir}/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.war.webapp.dir}/WEB-INF
maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge
maven.xdoclet.webdoclet.strutsvalidationxml.0=true
maven.xdoclet.webdoclet.strutsvalidationxml.0.destDir=${maven.war.webapp.dir}/WEB-INF
maven.xdoclet.webdoclet.jbosswebxml.0=true
maven.xdoclet.webdoclet.jbosswebxml.0.destDir=${maven.war.webapp.dir}/WEB-INF
maven.xdoclet.webdoclet.deploymentdescriptor.0.destDir=${maven.war.webapp.dir}/WEB-INF
maven.xdoclet.webdoclet.deploymentdescriptor.0.mergeDir=src/merge
maven.xdoclet.webdoclet.fileset.0.include=**/*.java
maven.xdoclet.webdoclet.jsptaglib.0.destDir=${maven.war.webapp.dir}/WEB-INF/tld

AND in my maven.xml:

<project xmlns:j="jelly:core" xmlns:ant="jelly:ant" default="war">
  <preGoal name="java:compile">
    <mkdir dir="${maven.xdoclet.webdoclet.destDir}" />
  	<attainGoal name="xdoclet:webdoclet" />
  </preGoal>
</project>


Arnaud


> -----Message d'origine-----
> De : Christophe Lombart [mailto:christophe.lombart@sword-technologies.com]
> Envoyé : mardi 13 juillet 2004 22:50
> À : users@maven.apache.org
> Objet : struts-config.xml
> 
> Hi All,
> 
> I'm using the xdoclet plugin  to generate all xml files used for my
> struts application. Unfortunatly, I cannot generate the struts-config.xml.
> I just set the following properties, but it doesnt' work. Other xml
> config files are correclty generated. Any idea ? Is there another
> property to set  for the struts-config ?
> 
> Thanks,
> Christophe
> 
> ---------------------------------------------------------------------------------------------------
> ---------------------------------
> project.properties :
> ...
> maven.xdoclet.webdoclet.strutsconfigxml.0=true
> maven.xdoclet.webdoclet.strutsconfigxml.0.destDir=${maven.build.dir}/xdoclet/web/WEB-INF
> maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
> maven.xdoclet.webdoclet.strutsconfigxml.0.Version=1.1
> maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=${maven.src.dir}/xdoc-merge
> ...
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org




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