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: 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

junit deletes class files and fails

2010-01-29 Thread Christofer Jennings
I must be missing something. The attached build.xml has a target "junit" that causes the classes and test classes to be compiled to "build/..." and then runs the tests. All the compiles work. The test get run. There are a fair number of tests but after a few successes all the rest fail. All the fai