Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2993 - development/main/transit/core/handler/src/main/net/dpml/transit

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: r2993 - development/main/transit/core/handler/src/main/net/dpml/transit
  • Date: Wed, 06 Jul 2005 20:23:57 -0400

Author: mcconnell AT dpml.net
Date: Wed Jul 6 20:23:57 2005
New Revision: 2993

Modified:

development/main/transit/core/handler/src/main/net/dpml/transit/Handler.java

development/main/transit/core/handler/src/main/net/dpml/transit/Transit.java
Log:
javadocing - including corrections to information about the resolution of
DPML_SYSTEM

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/Handler.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/Handler.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/Handler.java
Wed Jul 6 20:23:57 2005
@@ -19,7 +19,7 @@
package net.dpml.transit;

/**
- * A handler is an interface implemented by a disposable Transit sub-system.
+ * A handler is an interface implemented by a disposable sub-system.
*
* @author <a href="http://www.dpml.net";>The Digital Product Meta Library</a>
*/

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/Transit.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/Transit.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/Transit.java
Wed Jul 6 20:23:57 2005
@@ -397,9 +397,9 @@
* returned otherwise the implementation will look for an environment
* variable named "DPML_SYSTEM" which if defined will be
* returned as a file. If neither case holds, the value assigned
- * if platform dependent. If the os is Windows, the equivalent of
- * $PROGRAMFILES\DPML is returned otherwise the default value
- * of "/usr/share/dpml" is returned.
+ * if platform dependent. If the os is Windows, DPML_HOME\Shared
+ * is returned otherwise $DPML_HOME/share" is returned for a nix
+ * platforms.
*
* @param dpmlHomeDir the default DPML_HOME value
* @return the transit system directory
@@ -426,22 +426,6 @@
{
return new File( dpmlHomeDir, "share" );
}
-
- /*
- String os = System.getProperty( "os.name" ).toLowerCase();
- if( os.indexOf( "win" ) >= 0 )
- {
- home = Environment.getEnvVariable( "PROGRAMFILES" );
- File anchor = new File( home );
- return new File( anchor, "DPML" );
- }
- else
- {
- home = "/usr/share";
- File anchor = new File( home );
- return new File( anchor, "dpml" );
- }
- */
}

/**



  • svn commit: r2993 - development/main/transit/core/handler/src/main/net/dpml/transit, mcconnell, 07/06/2005

Archive powered by MHonArc 2.6.24.

Top of Page