Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8484817C13 for ; Fri, 23 Jan 2015 03:38:26 +0000 (UTC) Received: (qmail 79039 invoked by uid 500); 23 Jan 2015 03:38:26 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 78985 invoked by uid 500); 23 Jan 2015 03:38:26 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 78975 invoked by uid 99); 23 Jan 2015 03:38:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2015 03:38:26 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of meppel@cisco.com designates 173.37.86.74 as permitted sender) Received: from [173.37.86.74] (HELO rcdn-iport-3.cisco.com) (173.37.86.74) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2015 03:38:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4962; q=dns/txt; s=iport; t=1421984300; x=1423193900; h=from:to:subject:date:message-id:mime-version; bh=mjwqzlUigpykvJqUY6sLMPQeRVGgpuUJDqPzBve4F2c=; b=S8KTfO7dKvNIQk1JtUwODQ+3Np1SvjDZV/hkNUQNIrOmt4tYtNLtqrGW xDhOr8D0rdpNFr3nSBmDsooYxVul/8P0VieSgdL/3KKhP5hddmO7p1M2n sgS++roowCekFbjfIpvwG1rVNkUxRdwijQ0pz/frOi0BdardfWgBbfBVU k=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkMFAHzBwVStJA2J/2dsb2JhbABagkNDUlgExjqFeQKBFUMBAQEBAX2EDgEELV4BKlYmAQQbiCSuNaQlAQEBAQEBBAEBAQEBAQEbj0eDToETBY5mg0qHGZBrIoNub4FFfgEBAQ X-IronPort-AV: E=Sophos;i="5.09,453,1418083200"; d="scan'208,217";a="390127236" Received: from alln-core-4.cisco.com ([173.36.13.137]) by rcdn-iport-3.cisco.com with ESMTP; 23 Jan 2015 03:36:59 +0000 Received: from xhc-rcd-x04.cisco.com (xhc-rcd-x04.cisco.com [173.37.183.78]) by alln-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id t0N3aw4x016849 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Fri, 23 Jan 2015 03:36:58 GMT Received: from xmb-rcd-x12.cisco.com ([169.254.2.7]) by xhc-rcd-x04.cisco.com ([fe80::200:5efe:173.37.183.34%12]) with mapi id 14.03.0195.001; Thu, 22 Jan 2015 21:36:58 -0600 From: "Martin Eppel (meppel)" To: "dev@stratos.apache.org" Subject: Question: 4.1 alpha: cli stratos.sh script can't accept invocation args ? Thread-Topic: Question: 4.1 alpha: cli stratos.sh script can't accept invocation args ? Thread-Index: AdA2vdZW5KRjiYdhR+y8Bg4luX6UrQ== Date: Fri, 23 Jan 2015 03:36:58 +0000 Message-ID: <07110D8A7AC60C49AE2432100017A3F6277D4EC6@xmb-rcd-x12.cisco.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.24.53.216] Content-Type: multipart/alternative; boundary="_000_07110D8A7AC60C49AE2432100017A3F6277D4EC6xmbrcdx12ciscoc_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_07110D8A7AC60C49AE2432100017A3F6277D4EC6xmbrcdx12ciscoc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In 4.0 the cli script stratos.sh accepted invocation arguments while it see= ms 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 stil= l accepts invocation arguments, see snipplet below. Is there a reason for t= his 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.Mai= n 4.0: +java -cp "${class_path}" ${properties} ${debug} org.apache.stratos.cli.Mai= n $* 4.1 : Main.java: ... public static void main(final String[] args) { CliTool cliTool =3D new CliTool(); cliTool.createConfigDirectory(); cliTool.handleConsoleInputs(args); } ... --_000_07110D8A7AC60C49AE2432100017A3F6277D4EC6xmbrcdx12ciscoc_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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 remov= ed.

I checked the java code and it seems to me that at l= east 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) {

        CliToo= l cliTool =3D new CliTool();

        cliToo= l.createConfigDirectory();

        cliToo= l.handleConsoleInputs(args);

    }

...

 

--_000_07110D8A7AC60C49AE2432100017A3F6277D4EC6xmbrcdx12ciscoc_--