admin@glassfish.java.net

Re: how does one specify operands to a CLI command?

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 24 Jun 2008 18:34:42 -0700

Jennifer,

Thanks. In all cases, I get only the last operand. Seems like your
supposition ("no support") is correct.

Same results with:
List<String> expr;
String[] expr;

Lloyd

On Jun 24, 2008, at 6:00 PM, Jennifer Chou wrote:

> If I recall we don't have support for mulitple *operands* right now.
>
> Lloyd L Chambers wrote:
>> How do I get multiple *operands* for asadmin CLI commands? It seems
>> to "eat" all but the last operand:
>>
>> @Param(primary=true)
>> String[] expr = {"*"};
>>
>> $ asadmin get a b c
>> Invocation of GetCommand
>> Parameters
>> c
>> AMXCommand "get" executed successfully at: Tue Jun 24 15:56:40 PDT
>> 2008
>>
>> Command get executed successfully.
>>
>> ---
>> Lloyd L Chambers
>> lloyd.chambers_at_sun.com
>> Sun Microsystems, Inc
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc