atom feed13 messages in net.java.dev.glassfish.adminRe: New CLI
FromSent OnAttachments
Byron NevinsJun 29, 2009 10:59 am 
Lloyd ChambersJun 29, 2009 4:56 pm 
Bill ShannonJun 29, 2009 5:08 pm 
Sreenivas MunnangiJun 29, 2009 7:21 pm 
Bill ShannonJun 30, 2009 12:13 pm 
Paul DaviesJun 30, 2009 1:30 pm 
Bill ShannonJun 30, 2009 3:28 pm 
Paul DaviesJun 30, 2009 4:13 pm 
Kedar MhaswadeJul 1, 2009 6:59 am 
Tim QuinnJul 2, 2009 2:50 pm 
Byron NevinsJul 2, 2009 3:40 pm 
Tim QuinnJul 2, 2009 3:46 pm 
Bill ShannonJul 2, 2009 7:06 pm 
Subject:Re: New CLI
From:Sreenivas Munnangi (Sree@Sun.COM)
Date:Jun 29, 2009 7:21:33 pm
List:net.java.dev.glassfish.admin

Bill Shannon wrote:

Byron Nevins wrote on 06/29/09 11:00:

To start using the new CLI just set this environmental variable semi-permanently

ASADMIN_NEW=true

The above enables support for asadmin options both intermixed with and separate from command options.

For example, you can use either:

$ asadmin list-applications --host foo --port 5656

or

$ asadmin --host foo --port 5656 list-applications

If you use the latter form, *all* the asadmin "meta-options" need to come before the command-specific options.

Hope we could have some doc./TOI around this when you are ready.

As soon as I get some review of the changes, I'm going to commit a version with more extensive updates. The asadmin client will know about the names and types of the parameters supported by a remote command (it gets this information by asking the server). This new capability will still need to be enabled as described above. I'm hoping to get some real feedback on this new version before I switch it to be the default. This shouldn't feel any different than the above to the casual user; mostly it just removes a bunch of special case code in the asadmin client, allowing it to handle new remote commands in a more extensible fashion.