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

I've done that.

So what you're saying is that we could create a custom tag that has all of
the common stuff and then write jboss:ejbdoclet in terms of that tag. So
xdoclet:ejbdoclet would be a custom tag in the xdoclet plugin rather than
being an actual goal in the ejb plugin.

I haven't done that :-)

I'll take a shot at that after lunch and see if I can sort it all out.

> 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