2006/unicorn/org/w3c/unicorn/util Property.java,1.4,1.5 local-unicorn.properties,1.2,NONE remote-unicorn.properties,1.4,NONE unicorn.properties,1.8,NONE

Update of /sources/public/2006/unicorn/org/w3c/unicorn/util
In directory hutz:/tmp/cvs-serv16043/org/w3c/unicorn/util

Modified Files:
	Property.java 
Removed Files:
	local-unicorn.properties remote-unicorn.properties 
	unicorn.properties 
Log Message:
properties files now in a single directory org/w3c/unicorn/conf/
only one unicorn properties file (no more local and remote)

--- local-unicorn.properties DELETED ---

--- remote-unicorn.properties DELETED ---

Index: Property.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/util/Property.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Property.java	12 Sep 2008 18:01:51 -0000	1.4
+++ Property.java	23 Jul 2009 13:00:40 -0000	1.5
@@ -4,6 +4,7 @@
 // Please first read the full copyright statement in file COPYRIGHT.html
 package org.w3c.unicorn.util;
 
+import java.io.File;
 import java.io.IOException;
 import java.net.URL;
 import java.util.ArrayList;
@@ -200,7 +201,8 @@
 
 	static {
 		try {
-			final URL aURLPropFile = Property.class.getResource("unicorn.properties");
+			URL aURLPropFile = new URL(Property.class.getResource("/"), "org/w3c/unicorn/conf/unicorn.properties");
+			
 			final Properties aProperties = new Properties();
 			aProperties.load(aURLPropFile.openStream());
 			Property.load(aProperties);
@@ -209,7 +211,7 @@
 			e.printStackTrace();
 		}
 	}
-
+	
 	/**
 	 * For each Property in the map, prints its ID and value.
 	 * @param tArgument

--- unicorn.properties DELETED ---

Received on Thursday, 23 July 2009 13:00:52 UTC