DPML
DPML Station Add Command
HomeUtilitiesStationMetroDepotTransit
Add Command
Description

Create a new application profile associated with a supplied key and add the profile to the persistent registry storage. Default options related to deployment directory, JVM process system properties, deployment timeout conditions, application title and configuration can be supplied as optional arguments (or subsequently set using the set command).

Commandline
$ station add <key> 
  -uri <artifact> 
  [-policy <policy>] 
  [-D<name>=<value>] 
  [-dir <path>] 
  [-title <title>] 
  [-registry <artifact>] 
  [-startup <seconds>] 
  [-shutdown <seconds>] 
  [-config <uri>]
Parameters
<key>The application key.
Options
-uri The application codebase uri (required).
-policy Startup policy (AUTOMATIC, MANUAL or DISABLED). The default value is MANUAL.
-D A system property to assigned to the JVM on application process establishment.
-dir The application working directory.
-title The application title.
-registry Override the selection of the station registry store to use when adding the profile.
-startup Set the startup timeout (seconds).
-shutdown Set the shutdown timeout (seconds).
-config Set a configuration uri.
Example
$ station add demo -uri link:part:dpml/planet/http/dpml-http-demo -dir ${dpml.data}/work/http
Added new profile [demo]

  Codebase: link:part:dpml/planet/http/dpml-http-demo
  Working Directory Path: ${dpml.data}/work/http
  Startup Timeout: 6
  Shutdown Timeout: 6
  Startup Policy: MANUAL
  System Properties: 0