JBullet ant build fail...

jiapei100
Posts: 11
Joined: Tue Nov 17, 2009 4:47 pm

JBullet ant build fail...

Post by jiapei100 »

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

with the following error messages:

Code: Select all

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
Empire-Phoenix
Posts: 24
Joined: Sat Nov 07, 2009 7:57 pm

Re: JBullet ant build fail...

Post by Empire-Phoenix »

Well first I would say this forum is not for the Java versio, howver your mistake is not to include the junit(.jar) test in the project (did you even read the error?)
jiapei100
Posts: 11
Joined: Tue Nov 17, 2009 4:47 pm

Re: JBullet ant build fail...

Post by jiapei100 »

Hi, thank you so much for your prompt reply.

However, I did add junit from within Eclipse project settings. That's why jBullet doesn't show any "red cross".
However, what I refer to is "ant build failure". Which means, junit needs to be set correctly within the file "build.xml"

So, can you help?

Cheers
JIA
Empire-Phoenix wrote:Well first I would say this forum is not for the Java versio, howver your mistake is not to include the junit(.jar) test in the project (did you even read the error?)
Empire-Phoenix
Posts: 24
Joined: Sat Nov 07, 2009 7:57 pm

Re: JBullet ant build fail...

Post by Empire-Phoenix »

Well to be true I never tried to compile it , I only use the source to understand it, but use the precompiled jars (Cause for some reason it's impossible to use the stackallocation stuff wihtout the buildscripts)