I would like to check in the .classpath and .project files for eclipse projects.
This makes it easier for new users to get started with jme2 and eclipse.
Right now if you check out the jme project from svn you have two options:
- "check out as project from svn'" or
- "Check out as project configured using the new project wizard"
If you choose the first option "as project from svn" then no java builder is set and the project cannot be compiled.
What i do then, is delete the jme project (only from workspace, not the files), and create a new java project with the same name as the previously checked out. Now it has the correct Builder and classpath set.
Even with checked in .classpath / .project, the user still has to set the native directory for the lwjgl.jar after the checkout, depending on the OS.
.classpath:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="junit"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="lib/jogl/gluegen-rt.jar"/>
<classpathentry kind="lib" path="lib/jogl/jogl.jar"/>
<classpathentry kind="lib" path="lib/jorbis/jorbis-0.0.17.jar"/>
<classpathentry kind="lib" path="lib/junit/junit-4.1.jar"/>
<classpathentry kind="lib" path="lib/lwjgl/jinput.jar"/>
<classpathentry kind="lib" path="lib/lwjgl/lwjgl_util_applet.jar"/>
<classpathentry kind="lib" path="lib/lwjgl/lwjgl_util.jar"/>
<classpathentry kind="lib" path="lib/lwjgl/lwjgl.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
.project:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>jme 2</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>