jME 2.0.1 compilation fail


I changed it in build.xml from 256m to 1024m

So, I don't think it's a memory problem


sbook said:

256 is fine.. you didn't change the build.xml to read 256m, right?

Gosh…



Finally, after thousands of times attempting, I made jME compiled from within Command prompt once. But just once.


ant -lib=C:jiapeijavajars



There should be a very clear manual on jME website, to clarify how users can compile their own jME with their own JOGL, lwjgl, jorbis, junit, etc... How come if junit is respecified by a user will not affect the jME compilation but a respecifying of JOGL/lwjgl/jorbis will fail the jME compilation??? How come???
This is absolutely annoying !!! Things are not as easy as the video shows to compile with libraries downloaded with jME, that shouldn't be the correct way out.


Now, my question changes to:
After jME "ant build", what should I obtain? I couldn't see anything like "jME.jar", there seems to be nothing built at all . So, how can I have my own jME.jar and loaded by other projects, rather than copy the whole source into other projects?

Cheers
JIA


jiapei100 said:

After jME "ant build", what should I obtain? I couldn't see anything like "jME.jar", there seems to be nothing built at all . So, how can I have my own jME.jar and loaded by other projects, rather than copy the whole source into other projects?

Cheers
JIA


running build.xml with the dist-all option puts the jar's in the target/ folder...  It's not one big jME.jar though, there's about 13 different ones :)

My question to you would be what do you want to do after jME is build? Actually I wonder for what you need the jars now!? You told you are using eclipse so after checkout the only thing to do is to setup your build-path and if you want to start a project of your own that uses jME you just have to add the whole jME-project!



Did you browse the wiki and the jME2-tutorials?



Have a look here:

http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_eclipse_to_build_jme_2

Hi thanks for you reply.



Since I've got part of my code in JOGL2k, and I do want to use some of the data structures from jME.

So, I want to compile jME from scratch, for its compatibility with JOGL2.



I'm not sure whether this is a correct thought, but this is my intuitive thought.





And, when I tried to make jME be compatible with JOGL2, I found that jME has such a drawback:

it doesn't permit the users to pick up their own jinput, jorbit, lwjgl, jogl, etc…



You know, some times, we may need a specific native code with self-built jinput. Whether directX has been installed or not will affect which native code is going to be used (jinput-dx8.dll, jinput-raw.dll). It totally depends on the user's computer, but it has nothing to do with those files downloaded with current jME.





Since jME relies on some libraries (jinput, jogl, lwjgl) which are using native codes, why can't we build jME natively, but have to rely on downloaded non-native libraries ???



I'm not quite sure whether my logic is correct or not. That's why I asked and I just need to know what is right.



Cheers

JIA










ttrocha said:

My question to you would be what do you want to do after jME is build? Actually I wonder for what you need the jars now!? You told you are using eclipse so after checkout the only thing to do is to setup your build-path and if you want to start a project of your own that uses jME you just have to add the whole jME-project!

Did you browse the wiki and the jME2-tutorials?

Have a look here:
http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_eclipse_to_build_jme_2