2006/unicorn/org/w3c/unicorn Framework.java,1.17,1.18 extensions.properties,1.2,NONE responseParsers.properties,1.1,NONE

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

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

Index: Framework.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/Framework.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- Framework.java	19 Sep 2008 18:57:11 -0000	1.17
+++ Framework.java	23 Jul 2009 13:00:41 -0000	1.18
@@ -78,8 +78,9 @@
 	 */
 	static {
 		try {
-			final URL aURLPropFile = Framework.class
-					.getResource("extensions.properties");
+			URL aURLPropFile = new URL(Property.class.getResource("/"),
+					Property.get("REL_PATH_TO_CONF_FILES") + "extensions.properties");
+			
 			final Properties aProperties = new Properties();
 			aProperties.load(aURLPropFile.openStream());
 			Framework.aPropertiesExtension = aProperties;
@@ -99,8 +100,10 @@
 		try {
 			// Retrieve the properties of the response parsers in the resources
 			mapOfReponseParser = new LinkedHashMap<String, ResponseParser>();
-			final URL aURLPropFile = Framework.class
-					.getResource("responseParsers.properties");
+			
+			URL aURLPropFile = new URL(Property.class.getResource("/"),
+					Property.get("REL_PATH_TO_CONF_FILES") + "responseParsers.properties");
+			
 			final Properties aProperties = new Properties();
 			aProperties.load(aURLPropFile.openStream());
 

--- extensions.properties DELETED ---

--- responseParsers.properties DELETED ---

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