I\'m developing an Eclipse SWT application using Eclipse. There are also some JUnit 4 tests, which test some DAO\'s. But when I try to run the tests via an ant build, all of
I was getting this only when using the 'fork=true' option to the junit task. It was happening because my ANT_HOME had '..' in it (e.g. '/3rdparth/jboss/jboss-5/../tools'). Once I reduced that path, the 'multiple versions of ant' warning went away.