cedric wrote:
> We would like to generate several classes from one source class and
> to be able to choose the name of the generated files. {0} is just
> replace by the name of the source class, we would like to add some
> qualifier such as Complete, Minimal...
If I'm understanding you correctly, at least with regard to the file
naming, you'd like a bean named "CustomerBean" to generate files like
"CompleteCustomer" and "MinimalCustomer". If that's the case, you can
simply put {0} into the full name you'd like: "Complete{0}".
It seems that XDoclet is set up to generate one file per subtask, for
example:
<remoteinterface pattern="{0}"/>
<localinterface pattern="{0}Local"/>
<homeinterface pattern="{0}Home"/>
<localhomeinterface pattern="{0}LocalHome"/>
Not having created my own task, I can't help with having a single custom
task generate multiple files. However, I'd suggest looking at the
<weblogic> subtask as it creates two files:
weblogic-cmp-rdbms-jar.xml
weblogic-ejb-jar.xml
Good luck!
David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user