Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Re: Any tool for ant build.xml file documentation

Dave Pawson

2008-04-23

Replies: Find Java Web Hosting

Author LoginPost Reply
On 23/04/2008, Steve Loughran <stevel@(protected):

> Ant is namespace aware, it merely chooses not to ignore content in other
> namespaces, as it assumes they are tasks declared into a different
> namespace.

Kind of against the idea of namespace aware apps?
If you don't have a use for namespace X, ignore it.


> Consider this, then, my gift to you:
>
> <presetdef name="description" uri="http://www.dpawson.co.uk#ns" >
>      <echo level="debug" />
> </presetdef>
>
> you now get a description
> <d:description>Main variable set</d:description>
>
> which gets printed when you run
> ant -debug

Nice. For debug. Thanks.

Not for other namespaced applications working on ant build files.
Documentation seems like a good use case.



regards


--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.