parseConfigFileName(String[] args, String configFileName) Parse configfile from arguments and override any existing configfile value from reading serialized Project info.
shouldStartEmbeddedServer(String[] args) If either -webport or -webapppath are specified on the command line, then the embedded Jetty server should be
started, otherwise it should not.
Parameters: args - command line arguments.
start(String[] args) Print the version, configure the project with serialized build info and/or arguments and start the project build
process.
void
startEmbeddedServer(String[] args) Starts the embedded Jetty server on the port given by the command line argument -webport and loads the
application from the path specified by the command line argument -webapppath.
Parse cc Name from arguments.
Parameters: args - command line arguments. the name of this instance if specified on the command line, otherwise DEFAULT_NAME.
Parse configfile from arguments and override any existing configfile value from reading serialized Project info.
Parameters: configFileName - existing configfile value read from serialized Project info final value of configFileName; never null throws: CruiseControlException - if final configfile value is null
Parse dashboardpath (new webapp) from arguments.
Parameters: args - command line arguments. the directory if specified in the command line arguments, otherwise returns DEFAULT_DASHBOARD_PATH.
Parse webapppath from arguments.
Parameters: args - command line arguments. the webappdir if specified in the command line arguments, otherwise returns DEFAULT_WEBAPP_DIR.
If either -webport or -webapppath are specified on the command line, then the embedded Jetty server should be
started, otherwise it should not.
Parameters: args - command line arguments. true if the embedded Jetty server should be started, false if not.
Print the version, configure the project with serialized build info and/or arguments and start the project build
process.
true indicates normal return/exit.
Starts the embedded Jetty server on the port given by the command line argument -webport and loads the
application from the path specified by the command line argument -webapppath. Uses default values if either
argument are not specified.
Parameters: args - command line arguments
startPostingToDashboard
public void startPostingToDashboard(String[] args)(Code)