> I'm trying to leverage the XDoclet framework to develop some wrapper > classes > for an interface. I'd like to specify the interface or interfaces that > need > code generated for them via the ant task. In addition, there are a few > configuration properties that I've referenced in my .j templates that need > to be passed in. > > I'm a little confused about how to string everything together. > > From one interface, I need to generate: > 1 properties file > 1 class that implements that interface (using template A) > 1 class for each method defined in the interface (using template B) > 1 class for each method defined in the interface (using template C) > > I'm pretty comfortable with the templates I've created. I need help > executing the code generator using ant. Any pointers?
Define a <template/> nested element in your ejbdoclet/whateverdoclet element. Configure it to point to your template files and specify its destdir/etc parameters. See docs for <template/> (parent of all subtasks). You can also search the xdoclet-user archives for various samples. Ara. ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel