Harkness, David wrote:

David Corbin wrote:

We are using xdoclet to generate EJB stuff.  We would like to
place all
the generated code into it's own package (a sub-package of the
"source").  Is there an Ant task setting to control this? Thanks David


By this do you mean that when you generate the bean and home interfaces
for the bean "com.foo.beans.BarEJB" that you would like them to be in
the *package* "com.foo.beans.intf"? If so, look into the
<packagesubstitution> subelement for each of the <ejbdoclet> subtasks. I
haven't used this yet, but it's been there for a while and should work.

If instead you simply want the generated code to go into a different
directory so it remains separate from the source code -- a good idea
even if you use package substitution so you can have a clean-gen target
and not worry about accidentally adding the generated files to your
source repository -- you just need to specify a different destination
directory.


Actually, I want ALL the generated classes (not just interfaces) in special packages. Well, what I want is the other directory option, but I have to convince my teammates first.


Good luck!

David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756


------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user





-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to