ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Pawson" <dave.paw...@gmail.com>
Subject Re: Any tool for ant build.xml file documentation
Date Wed, 23 Apr 2008 10:10:24 GMT
On 23/04/2008, Steve Loughran <stevel@apache.org> wrote:

>  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@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message