Hello,
I'm trying to use the package substitution feature to generate struts form
beans in a different package than the original Java Bean. I got the ant task
definition from Matt Raible's Struts-Resume app. The build for Struts-Resume
runs just fine, but when I run this in my own applications build, it does
not change the package name. Can anyone see what I am doing wrong?
<!-- generate struts forms -->
<ejbdoclet destdir="${build.dir}/${module.persistence}/src-gen"
mergedir="${metadata.dir}/xdoclet-merge/${module.persistence}"
excludedtags="@version,@author"
addedtags="@xdoclet-generated at ${TODAY}"
ejbspec="2.0"
verbose="true"
force="${xdoclet.force}">
<fileset dir="${src.dir}/${module.persistence}"/>
<!-- generate struts forms -->
<strutsform destdir="${build.dir}/${module.webapp}/src-gen"
templateFile="${metadata.dir}/templates/struts_form.xdt">
<packageSubstitution packages="persistence"
substituteWith="webapp.form"/>
</strutsform>
</ejbdoclet>
Also, I've tried the latest xdoclet build and the jars form Struts-Resume -
same results.
By now I've decided that its something really dumb I'm doing, but still
cannot see it.
Thanks in advance - Richard
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user