jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitch...@apache.org>
Subject Re: Use Xdoclet to generate the tld(s)?
Date Thu, 29 Jan 2004 15:15:35 GMT
Take a look at what the Struts project is doing (Ant/Maven).  The .tlds are
generated from the same xml files that have our documentation in them.  It
is impossible to add/change a tag attribute and forget to update the docs.
Keeping them together has been a very successful technique (IMHO).


--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017 (cell)
AIM: jmitchtx
MSN: jmitchell@apache.org



----- Original Message -----
From: "Eric W Hauser" <ehauser@indiana.edu>
To: "Tag Libraries Developers List" <taglibs-dev@jakarta.apache.org>
Sent: Thursday, January 29, 2004 8:54 AM
Subject: Re: Use Xdoclet to generate the tld(s)?


> Has anyone considered using maven to build the taglibs?  Setting all the
> dependency properties in the build.properties can be rather time
> consuming (not to mention finding and downloading those dependencies if
> you don't have them).  If XDoclet is used, this would especially be more
> compilicated for people who aren't familiar with it. I'd be willing to
> submit the patches if I knew they would be used.
>
> On Thu, 29 Jan 2004, Henri Yandell wrote:
>
> >
> > My grumble on using xdoclet is that it can be a pain in the arse if poor
> > naming conventions are used. Not so much a problem in a public project
> > where people will point out such things though.
> >
> > If the tag is 'str:uppercase', then the only way to find the
configuration
> > is to go searching for the UppercaseTag. If it's actually called
> > BigLettersTag, then you waste lots of time :) Or you can do a dist-build
> > to get the distribution rather than the source and examine that.
> >
> > Hen
> >
> > On Thu, 29 Jan 2004, Marc Guillemot wrote:
> >
> > > Hi,
> > >
> > > I haven't found any post on the subject therefore I have to ask:
> > >
> > > what about using xdoclet to generate the tld(s)?
> > >
> > > I see 2 benefits:
> > > - no need of a separate, possibly out of date xml/${taglib.name}.xml
file for
> > > each taglib
> > > - users extending some tags could generate their own tlds using
xdoclet too.
> > >
> > > any comments?
> > >
> > > Marc.
> > >
> > > PS: I'm not involved in xdoclet, but just a very satisfied user.
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
> >
> >
> >
>
> -------------------
> Eric Hauser
> ehauser@indiana.edu
> (317) 679-4766
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message