[ http://issues.apache.org/jira/browse/GERONIMO-839?page=all ]
Vamsavardhana Reddy closed GERONIMO-839. ---------------------------------------- > Require flag to provide config list on server startup, handle bogus arguments > ----------------------------------------------------------------------------- > > Key: GERONIMO-839 > URL: http://issues.apache.org/jira/browse/GERONIMO-839 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: startup/shutdown > Affects Versions: 1.0-M4 > Reporter: Aaron Mulder > Assigned To: Aaron Mulder > Fix For: 1.0 > > > Currently, if you run "java -jar server.jar foo" then it interprets "foo" as > (a list of) configurations you want to start the server with. And if "foo" > doesn't exist, you get a stack track (unfortunate if you tried --help or /? > or something). > I'd like to require a flag before the list of configurations, something like: > java -jar server.jar -configs o/a/g/Server o/a/g/RuntimeDeployer > So if you don't provide the -configs it knows you gave incorrect arguments > and should then provide syntax/help text instead of a stack trace. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira