--- Rene Gielen <[EMAIL PROTECTED]>
wrote:

> When we started the taglib generation in ww2, we had
> to tweak the xdoclet templates and a little bit of
> code because the meta information had to be in the
> component sources rather than the Tag-classes.
> Because of the dual use of the components
> (fm-support), the real logic sits there while the
> Tag classes are simple wrappers. Also I remenber
> there were some small issues with html artifact
> generation. We could not get xdoclet to go without
> tweaking it.

Well, XD2 plugin is way easier to tweak as XD1 - as
now there is sane templating language ( jelly in case
of TLD, and everything XML ) and formal tag
definition. 

Usually you would put metadata on wrapper classes, 
but it is also possible to walk down the hierarchy
and gather metadata from there. 


> Maybe Konstantin could bring some light into whether
> standard xd2 taglib doclet would deliver this
> flexibility. Also, the idea of using real
> annotations, while doing generation with xd2, does
> not sound that bad, if it would help us to get
> things out the door more quickly.

Well,  there is  no "doclet" anymore - there are
plugins. For using real annotations one would need
to write different metadata provider ( which would
reside / or be related to generama )  and use it
instead. Though I can not predict how much work it
would be ;)

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org


 
____________________________________________________________________________________
Sponsored Link

Mortgage rates near 39yr lows. 
$310k for $999/mo. Calculate new payment! 
www.LowerMyBills.com/lre

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

Reply via email to