JBullet ant build fail...

Just downloaded JBullet from http://jbullet.advel.cz/
but failed to “ant build” it.

with the following error messages:

BUILD FAILED
/home/jiapei/MyPrograms/Eclipse/jbullet/nbproject/build-impl.xml:629: The following error occurred while executing this line:
/home/jiapei/MyPrograms/Eclipse/jbullet/nbproject/build-impl.xml:237: The <classpath> for <junit> must include junit.jar if not in Ant's own classpath

both seems to indicate build-impl.xml failure.

And, both seems to have to do with junit …

The downloaded JBullet doesn’t contain Junit itself, which might have brought this problem.

How to revise build.xml to specify my own junit at /usr/share/java?

Cheers
JIA

Just tried stock Ant 1.7.1, running “ant jar” and it works for me. But the JUnit is probably referenced in the NetBeans build file somewhere. JUnit tests are not used in JBullet. I’ll try to provide Eclipse and IDEA projects in future versions of JBullet. Also it’s not usually needed to compile JBullet yourself, just add the provided “jbullet.jar” into your project as library.

Thanks very much.

yes, in my case, jbullet failed to build just because the junit is not favorably set up in build.xml.

Hope you can help at your earliest convenience.

Thanks
JIA

Ant is fail. Carry on.