ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <mcconn...@dpml.net>
Subject RE: Building Ant 1.7beta
Date Thu, 31 Aug 2006 20:01:48 GMT
 

> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of Jesse Glick
> Sent: Friday, 1 September 2006 4:56 AM
> To: dev@ant.apache.org
> Subject: Re: Building Ant 1.7beta
> 
> Stefan Bodewig wrote:
> > you'd just be asking for classloader problems if you have two 
> > different versions of Ant inside the same Java VM while 
> compiling Ant 
> > or running the Unit tests, aren't you?
> 
> 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.

:-)


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


Mime
View raw message