4.2.12. stop

Description

Stops a deployed bundle.

Usage

bw stop PATH (or NAME stop)

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

Ant Usage

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

Examples

# Stop the current tomcat
tomcat stop
# Stop a specific deployment of the helloserver bundle
bw stop /local/dev/helloserver
# Stop the helloserver bundle using the 'bw' executable in the work directory.
# This does an auto-load of BundleWorks, which is useful at machine shutdown time.
/local/bundleworks/work/bin/bw stop /local/dev/helloserver

Notes

  • This executes the 'stop' bundle hook. This hook must be present inside a bundle for this command to work.