notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1282 - in trunk/main/station: exec/src/main/net/dpml/station/exec server/src/main/net/dpml/station/server
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1282 - in trunk/main/station: exec/src/main/net/dpml/station/exec server/src/main/net/dpml/station/server
- Date: Tue, 28 Mar 2006 15:46:38 +0200
Author: mcconnell
Date: 2006-03-28 15:46:34 +0200 (Tue, 28 Mar 2006)
New Revision: 1282
Modified:
trunk/main/station/exec/src/main/net/dpml/station/exec/ApplicationHandler.java
trunk/main/station/server/src/main/net/dpml/station/server/RemoteApplication.java
Log:
replace "metro exec <uri>" with "metro -uri <uri>".
Modified:
trunk/main/station/exec/src/main/net/dpml/station/exec/ApplicationHandler.java
===================================================================
---
trunk/main/station/exec/src/main/net/dpml/station/exec/ApplicationHandler.java
2006-03-28 13:19:22 UTC (rev 1281)
+++
trunk/main/station/exec/src/main/net/dpml/station/exec/ApplicationHandler.java
2006-03-28 13:46:34 UTC (rev 1282)
@@ -366,8 +366,9 @@
.create();
private static final Option HELP_COMMAND =
- COMMAND_BUILDER
- .withName( "help" )
+ OPTION_BUILDER
+ .withShortName( "help" )
+ .withShortName( "h" )
.withDescription( "Print command help." )
.create();
@@ -382,8 +383,8 @@
.create();
private static final Option EXECUTE_COMMAND =
- COMMAND_BUILDER
- .withName( "exec" )
+ OPTION_BUILDER
+ .withShortName( "uri" )
.withDescription( "Execute deployment of an application codebase." )
.withChildren( EXECUTE_GROUP )
.withArgument(
Modified:
trunk/main/station/server/src/main/net/dpml/station/server/RemoteApplication.java
===================================================================
---
trunk/main/station/server/src/main/net/dpml/station/server/RemoteApplication.java
2006-03-28 13:19:22 UTC (rev 1281)
+++
trunk/main/station/server/src/main/net/dpml/station/server/RemoteApplication.java
2006-03-28 13:46:34 UTC (rev 1282)
@@ -359,10 +359,10 @@
}
//
- // add the exec command and codebase parameter
+ // add the -uri option and codebase parameter
//
- list.add( "exec" );
+ list.add( "-uri" );
list.add( path );
//
- r1282 - in trunk/main/station: exec/src/main/net/dpml/station/exec server/src/main/net/dpml/station/server, mcconnell at BerliOS, 03/28/2006
Archive powered by MHonArc 2.6.24.