On Thursday, February 27, 2003, at 02:45 PM, Craig R. McClanahan wrote:
First of all... why not use XDoclet to generate TLD files in the first place? They you are guaranteed to have valid accurate TLD files.
In general, this is a very useful approach. In the case of Struts, we
start from an XML document for each TLD because we generate the tag
library reference document (HTML) and the TLD from the same source file.
XDoclet could generate the docs from the source code also. Look at what I've done with Ant's documentation (currently a proposal, not part of Ant yet - see link in previous e-mail). If you needed to merge in examples or something that should not be in the code.... no problem either. Simply write an XDoclet template for the XML you want generated and use the <template> subtask.
My JavaDevWithAnt project has an example of this too, generating a .properties file using a custom template.
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]