net.sourceforge.cruisecontrol.launch
Class Launcher

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.launch.Launcher

public class Launcher
extends java.lang.Object

Provides the means to launch CruiseControl with the appropriate classpath. This code is based heavily on (some parts taken directly from) the Apache Ant project.

Author:
Field Summary
static java.lang.String CC_PRIVATEDIR
          The directory name of the per-user CC directory
static java.lang.String CC_PRIVATELIB
          The location of a per-user library directory
static java.lang.String CCDISTDIR_PROPERTY
          The property containing the CruiseControl dist directory
static java.lang.String CCHOME_PROPERTY
          The property containing the CruiseControl home directory
static java.lang.String CCLIBDIR_PROPERTY
          The property containing the CruiseControl library directory
static java.lang.String MAIN_CLASS
          The startup class that is to be run
static java.lang.String SYSPROP_CCMAIN_SKIP_USAGE_EXIT
          System property name, when if true, bypasses the system.exit call when printing the usage message.
static java.lang.String USER_HOMEDIR
          system property with user home directory
static java.lang.String USER_LIBDIR
          The location of a per-user library directory
 
Constructor Summary
Launcher()
           
 
Method Summary
static void main(java.lang.String[] args)
          Entry point for starting CruiseControl from the command line
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CCHOME_PROPERTY

public static final java.lang.String CCHOME_PROPERTY
The property containing the CruiseControl home directory

See Also:
Constant Field Values

CCDISTDIR_PROPERTY

public static final java.lang.String CCDISTDIR_PROPERTY
The property containing the CruiseControl dist directory

See Also:
Constant Field Values

CCLIBDIR_PROPERTY

public static final java.lang.String CCLIBDIR_PROPERTY
The property containing the CruiseControl library directory

See Also:
Constant Field Values

CC_PRIVATEDIR

public static final java.lang.String CC_PRIVATEDIR
The directory name of the per-user CC directory

See Also:
Constant Field Values

CC_PRIVATELIB

public static final java.lang.String CC_PRIVATELIB
The location of a per-user library directory

See Also:
Constant Field Values

USER_LIBDIR

public static final java.lang.String USER_LIBDIR
The location of a per-user library directory


USER_HOMEDIR

public static final java.lang.String USER_HOMEDIR
system property with user home directory

See Also:
Constant Field Values

MAIN_CLASS

public static final java.lang.String MAIN_CLASS
The startup class that is to be run

See Also:
Constant Field Values

SYSPROP_CCMAIN_SKIP_USAGE_EXIT

public static final java.lang.String SYSPROP_CCMAIN_SKIP_USAGE_EXIT
System property name, when if true, bypasses the system.exit call when printing the usage message. Intended for unit tests only.

See Also:
Constant Field Values
Constructor Detail

Launcher

public Launcher()
Method Detail

main

public static void main(java.lang.String[] args)
Entry point for starting CruiseControl from the command line

Parameters:
args - commandline arguments