ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: RE: Building Ant 1.7beta
Date Thu, 31 Aug 2006 21:55:42 GMT

-------- Original-Nachricht --------
Datum: Fri, 1 Sep 2006 05:31:48 +0930
Von: "Stephen McConnell" <mcconnell@dpml.net>
An: "\'Ant Developers List\'" <dev@ant.apache.org>
Betreff: RE: Building Ant 1.7beta

> > This is another pet peeve of mine: apparently when you run 
> > the Ant unit tests, the version of Ant it is testing is the 
> > version of Ant running build.xml, *not* the (presumably 
> > modified) source code in your svn checkout. This is just a 
> > mistake, I think. All of the unit tests ought to be forked 
> > and ought to use the Ant binary that you are developing. Am I 
> > really the only one to have been burnt (repeatedly) by this? 
> > I keep on writing some code, writing a test, hmm test fails. 
> > OK tweak the code to print some diagnostics... they're never 
> > printed. Hmm. Add "throw new Error();" into the middle of a 
> > method I'm sure must be executed; still nothing. Tear out 
> > hair, then remember I'm not even running the code I just wrote at all.
> 
> LOL - I know what your talking about.
> 
> :-)
> 
> 
I know this too. To run ant testcases, either I run them individually in IDEA, or I bootstrap
and rebuild and install my new version of ant, then run the tests.

Regards,

Antoine

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


Mime
View raw message