stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chris snow <chsnow...@gmail.com>
Subject Re: CLI command line mode usage
Date Tue, 29 Apr 2014 18:29:00 GMT
Np,  I've wrapped it with an expect script for the time being.

If I get a chance, I'll have a look at the bugs at some point.

On Tue, Apr 29, 2014 at 7:23 PM, Nirmal Fernando <nirmal070125@gmail.com> wrote:
> Yes, I was suggesting the work-around, since you claimed it's not working
> :-)
>
>
> On Tue, Apr 29, 2014 at 11:46 PM, Isuru Perera <isurup@wso2.com> wrote:
>>
>>
>>
>>
>> On Tue, Apr 29, 2014 at 11:14 AM, Nirmal Fernando <nirmal070125@gmail.com>
>> wrote:
>>>
>>> Hi Chris,
>>>
>>> I think you need to run the deploy-partition command inside the stratos
>>> CLI console.
>>
>> Yes. That's the workaround. However what Chris needs is to run it as an
>> external commands. The way Chris tried is supposed to work and that's how
>> the CLI was designed.
>>>
>>>
>>>
>>> On Tue, Apr 29, 2014 at 11:14 PM, chris snow <chsnow123@gmail.com> wrote:
>>>>
>>>> I'm trying to deploy a partition using the following command:
>>>>
>>>> vagrant@puppet:~$ java -jar
>>>> $CLI_HOME/org.apache.stratos.cli-4.0.0-incubating-Tool.jar -username
>>>> admin -password admin deploy-partition -p
>>>> /vagrant/openstack-qemu/example_partition.json
>>>>
>>>> The response is:
>>>>
>>>> Username: admin
>>>> usage: deploy-partition [-p <resource path>]
>>>>
>>>> For some reason, the CLI is not recognising the '-p' option.
>>>>
>>>> Any ideas?
>>>>
>>>> Many thanks,
>>>>
>>>> Chris
>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>>
>> --
>> Isuru Perera
>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Mime
View raw message