James CE Johnson wrote:

> <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?

You create custom tags, either using jelly:define, or by writing your
code as Plain Old Java Objects (in contrast to Ant tasks) and wrapping
them into Jelly Taglibs. Maven core and multiple plugins use this
approach.

R.


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

Reply via email to