Hi Bozo,

to redeploy a ServiceUnit, you can:
- if you use Unix system, simply make a touch on your SA zip present in the hotdeploy directory:
$ touch myService.zip
This change the zip timestamp and redeploy all SUs in the SA
- you can do the same (shutdown/start on a SA) using the Ant task (ShutDownServiceAssemblyTask)

For the SU itself, I'm working to add new ant tasks (JMX client) to do it :
https://issues.apache.org/activemq/browse/SM-1813

Regards
JB

Bozo Juretic wrote:
Dear servicemix users,

how do you redeploy an already deployed service unit to a servicemix (in mi case 3.3)? I'm developing service units and need to redeploy them very ofter, and for now, since there is no mvn jbi:projectUndeploy (or something similar) I know of, in order to see the changes, I have to:
- shutdown standalone servicemix
- delete service assembly in servicemix/data/smx/service-assemblies by hand
- start servicemix
- move to my project main folder and do a mvn clean && mvn install && mvn jbi:projectDeploy

I'm sure I'm missing some nice feature or either mvn, eclipse plugin (BTW link on http://servicemix.apache.org/eclipse-plugin.html is broken) or something else which can be used conveniently for rapid redeployment in the development phase.

So, how do you redeploy an deployed piece of code (service unit, shared library etc.)? How do you hook up servicemix with eclipse (MyEclipse in my case) so that it behaves well during development?

Thanks and best regards,

Bozo


Reply via email to