how to update libraries in Nuxeo IDE, so that the server will update its sources as well?
I developed some jar library, and put it as user library in Nuxeo IDE.
Now, when I update my library, and replace the previous one, the changes are not taken into account by the server (even though I restarted it).
What should I do to force Nuxeo to take the new library into account?
It may be only for openJdk (I'm on linux), as apparently there is no cache for libraries with the jdk from Oracle.
I started this morning, and the new version was automatically taken into account. So maybe jar are refreshed every day.
Something else that seemed to work was to refresh the folder in eclipse, but I have to try it out again.
So you have to reinstall your Eclipse :D
More seriously. A 3rd part library is considered as immutable and is put in static classloader. If you want reload it you can try to remove it from the preferences and add it again and restart the server.
But you can try also to just add the nuxeo nature on your project :
- right click on the project > Nuxeo > Add Nuxeo nature
- Add it into your deployment definition
It should hot reloads your project. But a next version of Nuxeo IDE should break this.
According to what you said about the class loading, I shut down my computer and started it again (to start with a new JVM). There was a change for better, but still some methods were not updated.
Did you :
I did all of these, and even more:
… any other idea??