ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: XDoclet and Ant descriptor generation
Date Sun, 05 Jan 2003 23:46:16 GMT
Nick Chalko wrote:
> Erik Hatcher wrote:
>> On Sunday, January 5, 2003, at 04:57  PM, Nick Chalko wrote:
>>> Why not  * @antdoc.example  snippet="<foo />"
>>> *                               description="Generates a default bar"
>>>          Lets keep as much as possible in the the source file.
>>
>> Because its a real pain to HTML encode all the <> symbols and its much 
>> easier to have an external file with samples clearly formatted and 
>> styled in HTML I believe.
> 
> 
> Won't xodlet handle the xml excaping for us.  If not we should patch 
> xdoclet.

Even if, you don't *really* want to put large (read: anything larger 
then <foo/>), multi-line examples in the attribute of an XDoclet tag, do 
you?

Specifying links to external examples that get merged in in the 
generation process sounds much more reasonable to me.

-- 
Christopher Lenz
/=/ cmlenz at gmx.de


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message