Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2506 - development/main/transit/core/plugin/src/main/net/dpml/transit/control

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2506 - development/main/transit/core/plugin/src/main/net/dpml/transit/control
  • Date: Wed, 11 May 2005 08:48:44 +0000

Author: mcconnell AT dpml.net
Date: Wed May 11 08:48:44 2005
New Revision: 2506

Modified:

development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
Log:
complete removal of manager references

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
Wed May 11 08:48:44 2005
@@ -25,6 +25,7 @@
import java.util.StringTokenizer;
import java.util.Map;
import java.util.Hashtable;
+import java.util.prefs.Preferences;

import net.dpml.cli.ArgumentHandler;

@@ -36,7 +37,6 @@
import net.dpml.transit.repository.Repository;
import net.dpml.transit.repository.RepositoryException;
import net.dpml.transit.artifact.Handler;
-import net.dpml.transit.prefs.TransitDialog;
import net.dpml.transit.util.Dictionary;

import net.dpml.exception.ExceptionHelper;
@@ -218,14 +218,15 @@

private void handleManager()
{
- try
+ Preferences prefs = Preferences.systemNodeForPackage( Transit.class
);
+ String path = prefs.get( "control-panel-uri", null );
+ if( path == null )
{
- TransitDialog.main( new String[0] );
- }
- catch( Throwable e )
- {
- e.printStackTrace();
+ final String error =
+ "Control panel uri not declared in Transit preferences.";
+ System.out.println( error );
}
+ handleLoadCommand( path );
}

/**



  • svn commit: r2506 - development/main/transit/core/plugin/src/main/net/dpml/transit/control, mcconnell, 05/11/2005

Archive powered by MHonArc 2.6.24.

Top of Page