Hello, I managed to get Jme Engine up and running with help of a jmonkey user and all seem pretty smooth. Now it's about time to explore the magnificent JMonkeyEngine.
I want to start a new project of mine, so I have some questions for you (you don't have to answer all, just only what you think is important):
- First of all, is it necessary to compile the source library into a single Jar file? What are the correct packages to choose for the export?
- Can this (packing jmonkey into a JAR file) really reduce the the building time of my own project?
- Is it better to link the my new project with an instance of the current CVS? This is a direct relation though, the functionality of my project will be always depended on the existence of the CVS. But not really a problem, I work alone by the moment.
Thank you for your time reading this.
Any response is much appreciated.
I found some info here on how to do the jme build.
Although when I try it I get the following error…
Buildfile: C:Documents and SettingsUser1workspacejmebuild.xml
Overriding previous definition of reference to classpath
[javac] Compiling 1505 source files to C:Documents and SettingsUser1workspacejmebuild
C:Documents and SettingsUser1workspacejmebuild.xml:53: Error running javac.exe compiler
Total time: 1 second
What does it mean?
Ant couln't find your JDK, namely the java compiler. Check if the PATH environment variable of your Windows OS contains the path to the bin folder of your JDK installation.
<javac source="1.5" target="1.5"
It compiles with jdk 1.5 - You may want to switch workspace jre to 1.5 or try edit ant build file to compile with 1.6 (I haven't ever tried yet)
By default Eclipse uses the JRE as it comes with its own compiler. The ant build script however can not use Eclipses compiler and thus needs a JDK. If you tell Eclipse to use a JDK instead of a JRE ant will work correctly.
Also you don't need to update the ant file to build under 1.6 as the source and target are backward compatible.