struts-config.xml struts-config-moduleone.xml struts-config-moduletwo.xml
When I execute maven with the xdoclet plugin only the last file is created, (struts-config-moduletwo.xml). I had a bit of a read around and then looked that the plugin.jelly file for the
xdoclet. I am very new to looking at jelly scripts, but I got the impression that the plugin would loop through a number of indices, from 0 - 20 and then create a file for each set of properties. For example below I have 3 indices, but when I debug maven I only see the subTaskName of generating struts-config-moduletwo.xml in the debug output, (sample at end of email)
and this occurs 3 times. I am then only left with the file called struts-config-moduletwo.xml under the WEB-INF directory. Does anyone know why this is happening?
There is one way to generate all 3 files and that is to run maven 3 times with only one set of properties set with the value true, but this does not
seem to be in the spirit of maven and the xdoclet plugin :(
Any discussion on this issue would be great :)
It might be that at this hour in the morning I am missing something small, maybe someone has some ideas to get more info from the maven debug?
Has anyone started to look into this requirement or would it need someone to develop it?
Many thanks Trent
maven.xdoclet.webdoclet.strutsconfigxml.0=true
maven.xdoclet.webdoclet.strutsconfigxml.0.validateXML=true
maven.xdoclet.webdoclet.strutsconfigxml.0.Version=1.2
maven.xdoclet.webdoclet.strutsconfigxml.0.subTaskName=generating struts-config.xml
maven.xdoclet.webdoclet.strutsconfigxml.0.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF
maven.xdoclet.webdoclet.strutsconfigxml.0.destinationFile=struts-config.xml
maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts
maven.xdoclet.webdoclet.strutsconfigxml.1=true
maven.xdoclet.webdoclet.strutsconfigxml.1.validateXML=true
maven.xdoclet.webdoclet.strutsconfigxml.1.Version=1.2
maven.xdoclet.webdoclet.strutsconfigxml.1.subTaskName=generating struts-config-moduleone.xml
maven.xdoclet.webdoclet.strutsconfigxml.1.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF
maven.xdoclet.webdoclet.strutsconfigxml.1.destinationFile=struts-config-moduleone.xml
maven.xdoclet.webdoclet.strutsconfigxml.1.mergeDir=src/merge/struts/moduleone
maven.xdoclet.webdoclet.strutsconfigxml.2=true
maven.xdoclet.webdoclet.strutsconfigxml.2.validateXML=true
maven.xdoclet.webdoclet.strutsconfigxml.2.Version=1.2
maven.xdoclet.webdoclet.strutsconfigxml.2.subTaskName=generating struts-config-moduletwo.xml
maven.xdoclet.webdoclet.strutsconfigxml.2.destDir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF
maven.xdoclet.webdoclet.strutsconfigxml.2.destinationFile=struts-config-moduletwo.xml
maven.xdoclet.webdoclet.strutsconfigxml.2.mergeDir=src/merge/struts/moduletwo
Output from maven debug
[webdoclet] [DEBUG] validating subTask: generating struts-config-moduletwo.xml class: class xdoclet.modules.apache.struts.StrutsConfigXmlSubTask
[webdoclet] [DEBUG] validating subTask: generating struts-config-moduletwo.xml class: class xdoclet.modules.apache.struts.StrutsConfigXmlSubTask
[webdoclet] [DEBUG] validating subTask: generating struts-config-moduletwo.xml class: class xdoclet.modules.apache.struts.StrutsConfigXmlSubTask
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 30/12/2004
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user