> -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]