Ledge container

Description

Allows running Ledge applications from the command line. After the continer is started and components are composed and configured, a designated component is looked up and method void main(String[]) is invoked on it. Note that it this mehtod should be non-static so it may take advantage of the actual component instance composed by the container.

Browse

Recognized commandline options

syntax required default description
-h no n/a Display usage information and exit
-v no n/a Display version information on startup
-r <root> no current working directory Root directory of Ledge FileSystem
-c <config> no /config Base directory of the system's configuration
<class-name> yes none Class name of the component to be invoked

Any command line arguments following the componen class name will be passed verbatim to the component's main method.

Dependencies

required components not applicable
required libraries Log4j (log4j), NanoContanier (picocontainer:nanocontainer), Spice CLI (spice:spice-cli)