Bozo,

Both during development and production, I usually use hot-deployment.
At development time, this has the benefit that it's very easy to just
do a mvn clean install followed by a move to the hotdeploy directory.
I just use Eclipse and Maven, so I'm afraid I don't have any
experience with any more specific tooling that's available.

For a production machine, hotdeployment offers you a very easy way to
see what's deployed.  If you ever run into serious problems, you can
delete the data directory and everything will be redeployed from the
hotdeploy directory.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



2009/4/23 Bozo Juretic <[email protected]>:
> 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