Thanks Imesh From: Imesh Gunaratne [mailto:[email protected]] Sent: Thursday, January 22, 2015 9:44 PM To: dev Subject: Re: Question: 4.1 alpha: cli stratos.sh script can't accept invocation args ?
I have now fixed this issue and pushed changes to master branch: https://issues.apache.org/jira/browse/STRATOS-1106 Thanks On Fri, Jan 23, 2015 at 10:44 AM, Imesh Gunaratne <[email protected]<mailto:[email protected]>> wrote: Thanks for reporting this Martin, this is an issue. I will fix this. Thanks On Fri, Jan 23, 2015 at 9:06 AM, Martin Eppel (meppel) <[email protected]<mailto:[email protected]>> wrote: In 4.0 the cli script stratos.sh accepted invocation arguments while it seems that in the script in 4.1 alpha it has been removed. I checked the java code and it seems to me that at least the java code still accepts invocation arguments, see snipplet below. Is there a reason for this or can we add this back, (this is causing issues for us to integrate 4.1) ? 4.1 alpha: -java -cp "${class_path}" ${properties} ${debug} org.apache.stratos.cli.Main 4.0: +java -cp "${class_path}" ${properties} ${debug} org.apache.stratos.cli.Main $* 4.1 : Main.java: ... public static void main(final String[] args) { CliTool cliTool = new CliTool(); cliTool.createConfigDirectory(); cliTool.handleConsoleInputs(args); } ... -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos
