Hi Wim,

> Of course, the latter, involves some unjar/rejar too, but it should be
> ideal that configuration takes place in an automated manner IN the
> current project.

I had almost exactly the same situation in ivata op - the open source
groupware project I'm working on. In my case I had several EJB jar
files I wanted to combine into one. Each EJB jar has a separate
subproject, with a maven build that is combined using the multiproject mechanism.

My solution was to develop a maven plugin. This takes the ejbs from
the repositories and merges them together. Then the XML descriptors
are extracted and I use dom4j to combine those and jar them into the
combined target.

The maven plugin is quite separate to the rest of my project. If you
download the source package from http://ivata.org (click on the
download link at the top), you should be able to see what I mean.

The plugin lives in thirdparty/maven/ejbmerge and it depends on
another jar project in thirdparty/maven/merge. 

If you want an example of how I used it, look in
openportal/ejb. You'll see there is a file in
openportal/ejb/src/xml/XMLMerger.xml which tells the merge process how
to combine the descriptors.

Take a look. Hope this can help you out.

Cheers,
Colin
__________________________________________________
Colin MacLeod
[EMAIL PROTECTED]
ivata.org - open source enterprise groupware



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to