> I guess I'm having trouble figuring out how you would do that cleanly
> without duplicating a lot of jelly script.
>
> In jboss:ejbdoclet you would have this:
>
> <ejbdoclet ... lots of attributes >
>    ... lots of common stuff like <session/>
>    <jboss subtask />
> </ejbdoclet>
>
> Then in weblogic:ejbdoclet you would have this:
>
> <ejbdoclet ... lots of attributes >
>    ... lots of common stuff like <session/>
>    <weblogic subtask />
> </ejbdoclet>
>
> How do we avoid duplicating all of the common stuff (ejbdoclet attributes
> and subtasks) in an easy to maintain way?

I agree that code written in jelly is not really reusable in case of nested
ant tasks.

So there are two options here:

a) put everything to one hugh bag
b) copy & past  programming

for me out of those two b) still wins

This option was also silently chosen by jar/war/ejb/jnlp plugins for code
which creates manifest file.

Michal

P.S.

There is in fact 3rd and option for ejbdoclet:
 c) do it in Java trying to reuse Ant java code.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to