4.2.8. restart

Description

Restarts a deployed bundle by calling stop then start.

Usage

bw restart PATH (or NAME restart)

  • PATH points to a deployed bundle (not needed when action is called using the deployed bundle's NAME)

Ant Usage

<bw.restart path="${path}" />

Examples

# Restart the current tomcat
tomcat restart
# Restart a specific deployment of the helloserver bundle
bw restart /local/dev/helloserver

Notes

  • This executes the 'stop' then 'start' bundle hooks. These hooks must be present inside a bundle for this command to work.