4.2.2. cfghistory

Description

Display history of configuration changes for the specified deployed bundle.

Usage

bw cfghistory PATH [FILE] (or NAME cfghistory [FILE])

  • PATH points to a deployed bundle (not needed when action is called using the deployed bundle's NAME)
  • FILE is the name of a configuration file inside that deployment. If not specified, all configuration files are shown.

Ant Usage

<bw.cfghistory path="${path}" [config="${config}"] />

Examples

# Show history for all configuration files for the current tomcat
tomcat cfghistory
# Show history for server.xml for the current tomcat
tomcat cfghistory server.xml
# Show history for helloserver.properties inside
# a specific deployment of the helloserver bundle
bw cfghistory /local/dev/helloserver helloserver.properties

Notes

  • The output of this command includes the timestamp that the configuration change was detected, which may not be the exact time the file was actually changed.
  • The output also includes revision numbers that can be used in the other configuration commands.