Ever since the JUnit 4.1 upgrade, I've been running into this problem
when running tests:
http://issues.apache.org/bugzilla/show_bug.cgi?id=42053
  See also: http://www.nabble.com/Ant-1.7RC1-Junit-4.1-t2631706.html

I believe this is happening because the Ant 1.6.2 jars in
tools/buildtime are conflicting with 1.7.0.

Upgrading the jars solves the problem. Any objection to updating those
jars to 1.7.0?

- Dave



PS. here's what I get when I run 'ant test' in apps/planet with Ant 1.7.0:

...
...
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.312 sec
   [junit] java.io.FileNotFoundException:
/Users/dave/Source/roller_apache/roller_trunk/apps/planet/junitvmwatcher2109430924.properties
(No such file or directory)
   [junit]     at java.io.FileInputStream.open(Native Method)
   [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:106)
...
...
   [junit]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
   [junit]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
   [junit] Running org.apache.roller.planet.business.PlanetTestSuite
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
BUILD FAILED
/Users/dave/Source/roller_apache/roller_guice/apps/planet/build.xml:391:
The following error occurred while executing this line:
/Users/dave/Source/roller_apache/roller_guice/apps/planet/build.xml:408:
Test org.apache.roller.planet.business.PlanetTestSuite failed
(crashed)

Reply via email to