notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2544 - development/main/transit/core/plugin/src/main/net/dpml/transit/control
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2544 - development/main/transit/core/plugin/src/main/net/dpml/transit/control
- Date: Fri, 13 May 2005 16:49:28 +0000
Author: mcconnell AT dpml.net
Date: Fri May 13 16:49:26 2005
New Revision: 2544
Modified:
development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
Log:
remove support for the manager option
Modified:
development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
==============================================================================
---
development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
(original)
+++
development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
Fri May 13 16:49:26 2005
@@ -212,23 +212,11 @@
}
else if( "manager".equals( m_command ) )
{
- handleManager();
- }
- }
-
- private void handleManager()
- {
- Preferences prefs = Preferences.systemNodeForPackage( Transit.class
);
- String path = prefs.get( "control-panel-uri", null );
- if( path == null )
- {
- final String error =
- "Control panel uri not declared in Transit preferences.";
- System.out.println( error );
- }
- else
- {
- handleLoadCommand( path );
+ final String message =
+ "Support for preferences management has been removed from the
Transit CLI."
+ + "\nPlease checklout and build the Depot project and execute
the following line:"
+ + "\n$ depot";
+ System.out.println( message );
}
}
@@ -453,9 +441,6 @@
option = OptionBuilder.create( "load" );
group.addOption( option );
- option = new Option( "manager", REZ.getString(
"cli-manager-description" ) );
- group.addOption( option );
-
options.addOptionGroup( group );
//
- svn commit: r2544 - development/main/transit/core/plugin/src/main/net/dpml/transit/control, mcconnell, 05/13/2005
Archive powered by MHonArc 2.6.24.