[Fixed]JME3 build problem

Hi All,



I’ve started the work to get the stats patch applied to the engine and to release ImagePainter as a plugin but I’ve run into a problem at the first hurdle. I did an update on my JME3 folder and then opened the project and did a clean and build only to see:



ant -f “C:\ZS Current\JME3” clean jar

C:ZS CurrentJME3nbprojectbuild-impl.xml:297: Must set src.jogl.dir

BUILD FAILED (total time: 0 seconds)





I’ve made no changes at all since I last successfully built a few weeks ago. All I’ve done is updated from SVN.



I’m assuming this is something to do with the jogl stuff I saw in another thread and its simple to fix but I couldn’t see anything about it on the forums.



Thanks,

Z

Check that you update the complete project, incl settings files. In the SDK, richt click the project and select subversion->update with dependencies.

1 Like

Ahha! That fixed it thanks. Not sure why a full svn update on the repository did anything different but I just got a successful build :slight_smile:

@zarch said:
Ahha! That fixed it thanks. Not sure why a full svn update on the repository did anything different but I just got a successful build :)

Well if you don't update all project files some files are prone to have non-matching content :) Since the jogl addition requires changes to the build script and libraries its basically everything you gotta update including nbproject/ and lib/