Hi Lahiru,

On Wed, Aug 22, 2012 at 8:29 AM, Lahiru Sandaruwan <[email protected]> wrote:

> Hi,
>
> Refer the mail to architecture "CLI interface for the stratos cartridges",
>
> Here is the implementation plans,
> We can use a shell command to call the .jar,
>
>          java -cp <path>/org.wso2.carbon.hosting.mgt.cli.jar
> org.wso2.carbon.hosting.mgt.cli.CLITool
>
> This calls the main method of the class. We can input our parameters to
> main method.
> We can keep separate classes for the different commands or pass the
> operation as a input parameter.
>
> Any thoughts?
>

Can't we implement a separate command line, like the one we have in Apache
Derby (Derby ij tool) ?

Invoking this jar will take me into a command line where I can issue
commands for those various operations.


> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Cloud Team,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: [email protected] cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to