Re: ant 1.6.1 [was: Pb with namespaces in Ant 1.6 official]

2004-01-07 Thread Stefan Bodewig
On Tue, 06 Jan 2004, Antoine Lévy-Lambert [EMAIL PROTECTED]
wrote:
 Dominique Devienne wrote:
 
Does this warrant a 1.6.1? I'm actually quite stuck because of this
bug


 This bug is impacting the most salient feature of ant 1.6.0, in the
 core of ant, so it is important.

+1

 Do we want to fix other bugs in 1.6.1 ?

So far every commit to HEAD has been merged to the branch AFAICT.  Has
anything major come up so far?  Sorry, I haven't had time to browse
bugzilla so far.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ant 1.6.1 [was: Pb with namespaces in Ant 1.6 official]

2004-01-07 Thread Peter Reilly
Stefan Bodewig wrote:
On Tue, 06 Jan 2004, Antoine Lévy-Lambert [EMAIL PROTECTED]
wrote:
 

Dominique Devienne wrote:
   

Does this warrant a 1.6.1? I'm actually quite stuck because of this
bug
 

This bug is impacting the most salient feature of ant 1.6.0, in the
core of ant, so it is important.
   

+1
 

Do we want to fix other bugs in 1.6.1 ?
   

So far every commit to HEAD has been merged to the branch AFAICT.  Has
anything major come up so far?  Sorry, I haven't had time to browse
bugzilla so far.
 

The two that are fairly serious is the filter fix (just now) and the
jboss element for the ejb task (not in bugzilla).
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: ant 1.6.1 [was: Pb with namespaces in Ant 1.6 official]

2004-01-07 Thread Dominique Devienne
 From: Antoine Lévy-Lambert [mailto:[EMAIL PROTECTED]
 
 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=antlib:org.apache.tools.ant
 xmlns:ac=antlib:net.sf.antcontrib
 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.

--DD

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ant 1.6.1 [was: Pb with namespaces in Ant 1.6 official]

2004-01-06 Thread Antoine Lévy-Lambert

Dominique Devienne wrote:
Does this warrant a 1.6.1? I'm actually quite stuck because of this bug
 

This bug is impacting the most salient feature of ant 1.6.0, in the core 
of ant, so it is
important.

Do we want to fix other bugs in 1.6.1 ?
What do you think ?
Dominique : can you use a patched version of ant 1.6.0 until we provide 
an official new release ?

Antoine
I've been making extensive use of namespaces in my builds based on beta1
--DD
 

-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Thanks for the report.
Yes, the handling of the ant namespace is incorrect due
to a change between 1.6beta3 and 1.6.0.
I have placed a fix now.
Peter
Dominique Devienne wrote:
   

Just starting updating from Ant 1.6 beta1 to 1.6 official,
and I've having a bad surprise. It seems there's a problem
handling the default Ant namespace when explicitly specified,
or when used as the default namespace, at least for the tstamp
task.
Have I doing something wrong??? --DD
 


 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]