Problem with Deploy Bundle on Nuxeo IDE
Can´t make the bundle chemistry work as expected.
Detail all the steps to make this work:
1 - download de SDK 5.7.2.
2 - download the nuxeo chemistry project in github https://github.com/nuxeo/nuxeo-chemistry.
3 - change to release-5.7.2-I20130724_0116 tag in git.
4 - configure the SDK in my eclipse.
5 - import the projects in eclipse like maven project.
6 - build the project on eclipse.
7 - remove the nuxeo chemistry opencmis jar from nuxeo-cap-5.7.2-tomcat/nxserver/bundles.
8 - start the Nuxeo Server on Nuxeo IDE (eclipse).
9 - added the bundle on Nuxeo Components Deployment on eclipse.
10 - reload projects on server.
11 - try access the cmis url on nuxeo after the server log that is all ok
12 - Nothing happens.
Please someone help me!
Regards, Rafael Bueno
The nuxeo-chemistry bundles are not designed to be hot-deployable. Keep in mind that hot-deployment is a complex matter, and only implemented for end-user “leaf” bundles that configure themselves entirely through compatible extension points and don't have big interactions with external systems. This is not the case for nuxeo-chemistry, which has to register with JAX-WS and the servlet engine in particular.
If your goal is testing nuxeo-chemistry modification quickly, then you can either bite the bullet and wait for your ~1min server restart, or you can try to connect the debugger to Nuxeo and do dynamic hot-reload of modified methods (this works pretty well if you just modify one method). Or you may look at commercial products like JRebel or others.