Restarts a deployed bundle by calling stop then start.
bw restart PATH (or NAME restart)
- PATH points to a deployed bundle (not needed when action is called using the deployed bundle's NAME)
<bw.restart path="${path}" />
# Restart the current tomcat
tomcat restart
# Restart a specific deployment of the helloserver bundle
bw restart /local/dev/helloserver
- This executes the 'stop' then 'start' bundle hooks. These hooks must be present inside a bundle for this command to work.