On Wed, Feb 4, 2009 at 2:05 AM, Raymond Feng <[email protected]> wrote:

> Hi,
>
> I made some progress to use Apache commons-cli to parse the command line
> arguments for the Equinox Launcher. It can now process the following
> options:
>
> [-config <equinoxConfiguration>]: The configuration folder for Equinox
> [-c <compositeURI>]: The composite URI
> contribution1 ... contributionN: A list of contribution files or URLs
>
> To try it, you can build the distribution/all first using "mvn clean
> install", then run the following command:
>
> java -jar target\features\equinox-manifest.jar -config
> target\features\configuration
> ..\..\samples\calculator-equinox\target\sample-calculator-equinox.jar
>
> A related subject: I don't see a need to have a separate launcher which
> delegates to the JSE or Equinox Launcher. Can we just update the shell
> script to directly call the JSE or Equinox launcher main class? I'm working
> on the UNIX script based on the one from Tomcat.
>
>
This doesn't 'delegate' to the other launchers the idea is to replace them
so all the launching is configured in plain text files instead of hidden
away Java code. If you look a the JSE code [1] its very simple and just use
the Node API, so there is no extra 'layer' and its quite a lot simpler than
the old launcher code.

   ...ant

[1]
https://svn.apache.org/repos/asf/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeMain2.java

Reply via email to