Eclipse classpath adjustment

Why:

This makes sure that users of jme3 in eclipse automatically have the lwjgl version jme uses for their project ready.

→ No more adjusting calsspath every time jme changes or lwjgl gets updated

→ Usefull, because Input often needs classes from the jinput package, like Mouse and Cursor



What are your opinions on this?





[patch]Index: .classpath

===================================================================

— .classpath (revision 8112)

+++ .classpath (working copy)

@@ -20,7 +20,6 @@

<classpathentry kind="src" path="src/terrain"/>

<classpathentry kind="src" path="src/networking"/>

<classpathentry kind="src" path="src/blender"/>

-

<classpathentry kind="lib" path="lib/jbullet/asm-all-3.1.jar"/>

<classpathentry kind="lib" path="lib/jbullet/jbullet.jar"/>

<classpathentry kind="lib" path="lib/jbullet/stack-alloc.jar"/>

@@ -31,8 +30,8 @@

<classpathentry kind="lib" path="lib/swing-layout/swing-layout-1.0.4.jar"/>

<classpathentry kind="lib" path="lib/swingext/swing-layout-1.0.3.jar"/>

<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>

  • <classpathentry kind="lib" path="lib/lwjgl/jinput.jar"/>
  • <classpathentry kind="lib" path="lib/lwjgl/lwjgl.jar"/>
  • <classpathentry exported="true" kind="lib" path="lib/lwjgl/jinput.jar"/>
  • <classpathentry exported="true" kind="lib" path="lib/lwjgl/lwjgl.jar"/>

    <classpathentry kind="lib" path="lib/lwjgl/jME3-lwjgl-natives.jar"/>

    <classpathentry kind="lib" path="lib/niftygui/nifty-1.3.jar"/>

    <classpathentry kind="lib" path="lib/niftygui/nifty-default-controls-1.3.jar"/>

    @@ -41,6 +40,5 @@

    <classpathentry kind="lib" path="lib/niftygui/eventbus-1.4.jar"/>

    <classpathentry kind="lib" path="lib/niftygui/xmlpull-xpp3-1.1.4c.jar"/>

    <classpathentry kind="lib" path="lib/noise/noise-0.0.1-SNAPSHOT.jar"/>

    -

    <classpathentry kind="output" path="bin"/>

    </classpath>

    [/patch]

I think we should finally remove this so people use the ANT build script also with eclipse. @Kaelthas did some strange test cases using a separate eclipse project…

Forced to ant in eclipse? Don’t make me hate you.

I prefer the ability to change a few lines in the jme core from time to time when i test stuff, and being able to do a incremental build in a few seconds rather than waiting the whole build process.

“Waiting the whole build process” makes sure you don’t break something in the linux or android builds and in fact netbeans only compiles files that have changed when you run the project, so it is incremental. Eclipse should be able to do the same if you configure the project right.