I had a chat with Erik, and he convinced me that Ant's own introspection stuff is better than what I have developed, so I suggest we try to make Erik's stuff a replacement for AntDocSubTask and AntDocTagsHandler. AntDocSubTask and AntDocTagsHandler will remain unchanged, and when Erik's stuff is good enough, we'll throw away AntDocSubTask and AntDocTagsHandler (once Ara's Jelly script for Maven generator has been updated to use Erik's new code).
Comments? Aslak > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Aslak > Hellesoy > Sent: 5. januar 2003 17:18 > To: Erik Hatcher; [EMAIL PROTECTED] > Subject: RE: [Xdoclet-devel] CVS: > xdoclet/modules/apache/src/xdoclet/modules/apache/ant - New directory > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Erik > > Hatcher > > Sent: 5. januar 2003 04:44 > > To: [EMAIL PROTECTED] > > Subject: Fwd: [Xdoclet-devel] CVS: > > xdoclet/modules/apache/src/xdoclet/modules/apache/ant - New directory > > > > > > This is foreshadowing... I'm going to commit a subtask, tag handler, > > and a couple of templates in a bit that generate Ant task documentation > > as an XML file and a properties file for the name/classname pairs > > suitable for <taskdef>. This will be "alpha" quality, and probably > > won't work out of the box just yet. Please review my work to make sure > > it fits in with the XDoclet-way and that I'm dotting my i's and > > crossing my t's. (you folks are a tough crowd to share code with, be > > gentle on me). > > > > I'm sorry, but it looks like you're reinventing the wheel here. The > AntDocSubTask and AntDocTagsHandler (in the xdoclet module) already > implement that kind of functionality. It's being used to generate > XDoclet's > task documentation, and is also used (by extension) to generate the Maven > plugin. > > This is basically code that introspects Ant tasks, looks at @ant tags and > builds a nice model you can use from the template. I think you'd be better > off writing a new template (the current task_xml.xdt template > produces xdoc > docs) that uses the same technique. And of course add any > functionality you > might need to the existing classes. > > So I suggest you stop developing parallel functionality to what we already > have in place. > > Aslak > > > Erik > > > > Begin forwarded message: > > > > > From: Erik Hatcher <[EMAIL PROTECTED]> > > > Date: Sat Jan 4, 2003 9:44:20 PM US/Eastern > > > To: [EMAIL PROTECTED] > > > Subject: [Xdoclet-devel] CVS: > > > xdoclet/modules/apache/src/xdoclet/modules/apache/ant - New directory > > > > > > Update of > > > /cvsroot/xdoclet/xdoclet/modules/apache/src/xdoclet/modules/apache/ant > > > In directory sc8-pr-cvs1:/tmp/cvs-serv32262/ant > > > > > > Log Message: > > > Directory > > > /cvsroot/xdoclet/xdoclet/modules/apache/src/xdoclet/modules/apache/ant > > > added to the repository > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Xdoclet-devel mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Xdoclet-devel mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Xdoclet-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
