Hi Timothy,
The available merge files are listed under the Merge file section:
http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/apache/struts/StrutsConfigXmlSubTask.html
These files give you the means to include further static information into generated files, when ever there are not Javadoc tags for XDoclet to process, e.g. you can include global struts forwards.
The XDoclet Maven plugin is a bit difficult to use at first, but there is a structure to the properties. Basically there is a 1:1 mapping between the ant tasks and their attributes and the corresponding Maven properties. It's best to look into the plugin.jelly script of the plugin, then I think you'll understand pretty quickly how to define and use the properties. For struts xml use something like:
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.mergeDir=${maven.xdoclet.webdoclet.mergeDir}
Leander
Timothy Reaves schrieb:
I've searched for information on this, but none exists; the search is a one-hit-wonder, with no information relevant to my question. So here goes.
I've generated an XDoclet Struts project from Maven. Looking over what gets generated, the struts-config.xml is broken up over seven or so files in src/merge. The maven project.properties contains the line maven.xdoclet.webdoclet.0.mergeDir=src/merge. At first I thought that this was a Maven thing, but it doesn't seem so. I can find no information on why the file is broke up, what Maven XDoclet properties for Struts exist, or even if this merge is required.
Would someone point me in the correct direction if documentation does exist, or perhaps inform me if it does not? I'd greatly appreciate it!
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user