You could create a MySubTask derived from xdoclet.SubTask instead of xdoclet.TemplateSubTask. Take a look at SubTask's code. You should implement some of the template methods defined there and use XJavaDoc's API from there. With this approach your xdoclet stuff is just another subtask, easy to use and familiar.
Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-devel- > [EMAIL PROTECTED] On Behalf Of Dennis Sosnoski > Sent: Sunday, March 30, 2003 12:57 AM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-devel] New application questions > > I want to provide XDoclet-style support for my JiBX XML data binding > project (http://www.jibx.org). On the surface this looks like it should > be easy using XDoclet, since I just need to generate an XML binding > definition file from tags in the source code. > > For this application I don't see much point in going through the > templates, though. I'm going to want to process the tags with added > code, and it'll probably be easier for me to just generate the data > structures and dump them out using JiBX itself. This also provides some > advantages for the future (such as allowing comparisons to see when the > binding has actually changed). > > Does this type of (non-template) use still fit within the XDoclet > framework, or should I just base my code directly on XJavadoc? I'm > having some difficulty trying to figure out the whole set of APIs and > where I can best tie into the existing code. > > Thanks, > > - Dennis > > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > xdoclet-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel