You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/05/05 11:56:30 UTC
[jira] Closed: (SLING-953) Preprocess the Commandline in the
"outer" Main class
[ https://issues.apache.org/jira/browse/SLING-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed SLING-953.
-----------------------------------
Resolution: Fixed
Implemented new command line parsing in Rev. 771608 and added a small fix to allow for single dash parameter arguments (as in "-f -") in Rev. 771647.
> Preprocess the Commandline in the "outer" Main class
> ----------------------------------------------------
>
> Key: SLING-953
> URL: https://issues.apache.org/jira/browse/SLING-953
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad Launcher
> Affects Versions: Launchpad Base 2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Launchpad Base 2.0.4
>
>
> Currently the command line is pre-parsed in the real Main class -- o.a.s.launchpad.app.Main -- to extract the sling.home folder setting and parsed fully in the MainDelegate class to which it is handed calling the Launcher.setCommandLine(String[]) method.
> It would make more sense to parse the command line completely in the Main class and pass a map of command line args into the MainDelagate. This allows for more elaborate command line argument handling in the Main class (like start, stop, status support for system service support).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.