Keep your current structure ,and just calll xdoclet multiple times (once for each module). I have a similar setup and it works quite well. I'd recommend an ant custom task called 'foreach' (there are a couple of impls out there, google for it), where you can then just specifying the names of your modules as a comma delimited list, then use that in combination with a foreach task to call the xdoclet target which will generate all the files you need for every module one by one.

Hani

On Thursday, October 17, 2002, at 07:08 AM, Srinivas Dhulipala wrote:


The project that I am working on has multiple source directories (one for
each sub-system) and each sub-system builds its own JAR that goes into an
EAR file. Each sub-system has a set of entity beans and session beans that
are part of the Session Facade. There are dependencies between entity beans
that belong to different sub-system since they all belong to the same
underlying data model.
What are my options if I want to use XDoclet for this environment? Can I
just run the <ejbdoclet> task once for each sub-system (what about the
sub-system dependencies)? Or should I aggregate all the entity beans into a
single source directory (with the session beans staying in their respective
sub-systems and using <ejb-local-ref> to reference the entity beans)? In
both scenarios, I guess I would have to run the <ejbdoclet> task once for
each source directory. Is this the way to use XDoclet for projects with
multiple source directories?
I would really appreciate any comments and suggestions.
Cheers,
Srini



-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to