notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2640 - in development/main/transit: . core/handler/src/main/net/dpml/transit/manager
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2640 - in development/main/transit: . core/handler/src/main/net/dpml/transit/manager
- Date: Sat, 21 May 2005 00:53:12 +0000
Author: mcconnell AT dpml.net
Date: Sat May 21 00:53:10 2005
New Revision: 2640
Modified:
development/main/transit/build.properties
development/main/transit/common.properties
development/main/transit/core/handler/src/main/net/dpml/transit/manager/CacheManager.java
Log:
Housekeep - including correction to buildfile to ensure that we are only
referencing ant version in one place.
Modified: development/main/transit/build.properties
==============================================================================
--- development/main/transit/build.properties (original)
+++ development/main/transit/build.properties Sat May 21 00:53:10 2005
@@ -3,5 +3,3 @@
project.name = dpml-transit
project.group = dpml/transit
dpml.repository = http://repository.dpml.net/classic
-ant.junit.filename = ant-junit-1.6.3.jar
-ant.junit.uri = artifact:jar:ant/ant-junit#1.6.3
Modified: development/main/transit/common.properties
==============================================================================
--- development/main/transit/common.properties (original)
+++ development/main/transit/common.properties Sat May 21 00:53:10 2005
@@ -10,9 +10,13 @@
commons-cli.path = ${commons-cli.parent}/${commons-cli.filename}
commons-cli.uri = artifact:jar:commons-cli/commons-cli#${commons-cli.version}
-transit-ant.version = 1.6.2
+transit-ant.version = 1.6.3
transit-ant.filename = ant-${transit-ant.version}.jar
transit-ant.parent = ant/jars
transit-ant.path = ${transit-ant.parent}/${transit-ant.filename}
ant.uri = artifact:jar:ant/ant#${transit-ant.version}
+ant.junit.filename = ant-junit-${transit-ant.version}.jar
+ant.junit.uri = artifact:jar:ant/ant-junit#${transit-ant.version}
+
+
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/manager/CacheManager.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/manager/CacheManager.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/manager/CacheManager.java
Sat May 21 00:53:10 2005
@@ -35,6 +35,8 @@
import java.net.URI;
import java.net.UnknownHostException;
+import net.dpml.transit.Transit;
+
import net.dpml.transit.model.CacheModel;
import net.dpml.transit.model.HostModel;
import net.dpml.transit.model.PluginChangeEvent;
@@ -389,17 +391,7 @@
private File getAnchorDirectory()
{
- String path = System.getProperty( "dpml.data" );
- if( null != path )
- {
- return new File( path );
- }
- else
- {
- final String error =
- "Cannot resolve relative path as the DPML Data system property
'dpml.data' is undefined.";
- throw new IllegalStateException( error );
- }
+ return Transit.DPML_DATA;
}
static class HostAddedEvent extends HostNodeEvent
- svn commit: r2640 - in development/main/transit: . core/handler/src/main/net/dpml/transit/manager, mcconnell, 05/20/2005
Archive powered by MHonArc 2.6.24.