ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: ant 1.6.1 [was: Pb with namespaces in Ant 1.6 official]
Date Wed, 07 Jan 2004 14:39:50 GMT
> From: Antoine Lévy-Lambert []
> Dominique : can you use a patched version of ant 1.6.0 until we provide
> an official new release ?

Actually, thanks to Peter's answer I'm not stuck any more.
At first I thought I couldn't use namespaces at all to turn around
the bug, which would have stuck me, but in fact I still can use
namespaces, just not assign a default namespace on the root element,
thus leaving NCNames in NO namespace instead of the (default) Ant namespace.

So in short I can do:

<project xmlns:ac="antlib:net.sf.antcontrib"
         xmlns:bm="antlib:com.lgc.buildmagic" ... />

instead of 

<project xmlns=""
         xmlns:bm="antlib:com.lgc.buildmagic" ... />

which does not work with Ant 1.6. The only consequence this had for
me was to change an XSL stylesheet processing the build.xml (to extract
some meta-data from it) to match elements in no namespace instead of
the Ant namespace (I was still using ant:core, so I had to change
something anyhow.)

That said, I'd welcome a 1.6.1 release, but I think it's not
as much a priority for me now that I have a turn around.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message