This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Put the xdoclet @jsp.tag and @jsp.variable tags in your tag implementation classes
Define the webdoclet task in ant using a taskdef
In you Ant script, in some target, invoke the webdoclet task, and inside that use the jsptaglib subtask, telling it where to find your tag classes, etc., and where to spit out the .tld file
If you are using any of the JDK 5.0 features (such as generics, enums, static imports, etc) I recommend you use XDoclet2 rather than XDoclet - XDoclet out of the box does not work with JDK5 unless patched.
XDoclet2 is still in beta but is pretty stable. The process is slightly different, but from the Ant side of things, so the differences aren't far reaching. [ September 07, 2006: Message edited by: Matt Harrah ]
Joined: Jul 04, 2006
Thanks a lot that did help. I hadn't found the documentation about the jsptaglib subtask (in my mind it was not a subtask of webdoclet). I looked more attentively and found it.
Plus your tips helped me solve the problem, which was less complicated than I had first thought ... which is often the case with every problem