Hmmm, this is an interesting idea.  I suppose the easiest way to do this
would be to create a new Ant Task that interprets a tag like <doc> or
<builddoc> and have the contents of that tag formatted into HTML or whatever
format you want.

Alternatively, if Ant will tolerate having tags in build.xml that it doesn't
know about (my guess is it would not - is that correct?), then you could
include <doc> tags in your build.xml, then simply transform build.xml into
HTML (or whatever) using an XSL stylesheet.  Actually, can an XSL stylesheet
recognize XML comments <!-- --> and transform them (sorry, I left my XML/XSL
book at work)?  If so, then you could just comment your build.xml normally
and transform it with such a stylesheet.

Sincerest regards,
Chris Todd
Software Engineer
Alabanza Corporation
[EMAIL PROTECTED]

-----Original Message-----
From: Julian M. Savage [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 19, 2000 4:16 AM
To: [EMAIL PROTECTED]
Subject: documenting your build file


Is there a way that I can easily generate documentation from my build file
for developers who use it? Basically what I want is javadoc like
functionality of some sort. Is there an easy way to do this somehow?

Thanks,

Julian.

Reply via email to