Re: junit deletes class files and fails

2010-01-31 Thread Christofer Jennings
Yeah. My goof. There's a test that runs ant targets that clean and build the project. It needs to when run by itself but when run in the batch of tests it breaks everything, obviously. I made it depend on a system property so the clean could be disabled. Thanks for your reply Antoine! ,chris

Re: Add new resource to existing ResourceCollection (path) in ANT build script

2010-01-31 Thread Antoine Levy-Lambert
Hello Dan, what you would write is something like that : In other words, the macrodef element can be replaced by anything which can fit inside a path. Regards, Antoine Dan Beaulieu wrote: > Err, I'm not entirely new to ant, but I don't understand

Re: junit deletes class files and fails

2010-01-31 Thread Antoine Levy-Lambert
Hello Christofer, your build file looks good. Is the last test class which is getting executed always the same class ? If yes, could it be that this class contains code which deletes the test classes ? Regards, Antoine Christofer Jennings wrote: > I must be missing something. The attached bu

Re: JUnit stack traces missing in Ant 1.8.0RC1

2010-01-31 Thread Antoine Levy-Lambert
Hi, I had not experience this problem yet. Thanks for reporting this. Regards, Antoine N C wrote: > I've recently upgraded from 1.7.1 to 1.8.0RC1, and have lost stack traces > when running JUnit tests. > > These stack traces are missing from both the 'brief' and 'xml' formatters > I've specif

Ant build that compiles and enhances in same build fails to find enhanceable classes

2010-01-31 Thread KARR, DAVID (ATTCINW)
I don't know if this is an Ant-specific problem, or an issue with the OpenJPA PCEnhancerTask class. I have an Ant build script whose "build" target has "compile, enhance-classes" as an excerpt from its dependencies. The "compile" target writes classes to "build/classes", and "enhance-classes" ref