- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 18 Aug 2009 12:47:36 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn In directory hutz:/tmp/cvs-serv9847/src/org/w3c/unicorn Modified Files: Tag: dev2 Framework.java Log Message: removed properties checks in unicorn.properties Index: Framework.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/Attic/Framework.java,v retrieving revision 1.1.2.10 retrieving revision 1.1.2.11 diff -u -d -r1.1.2.10 -r1.1.2.11 --- Framework.java 18 Aug 2009 11:59:14 -0000 1.1.2.10 +++ Framework.java 18 Aug 2009 12:47:34 -0000 1.1.2.11 @@ -97,9 +97,6 @@ private static Hashtable<String, Properties> languageProperties; private static VelocityEngine velocityEngine; private static Hashtable<String, Template> velocityTemplates; - private static String[] mandatoryProperties = { - "PATH_TO_CONF_FILES", - "PATH_TO_CACHE"}; private static String[] configFiles = { "extensions.properties", "responseParsers.properties", @@ -167,14 +164,6 @@ logger.fatal("Error reading \"unicorn.properties\": ", e); return; } - - // Checking that mandatory properties are set in unicorn.properties - for (String property : mandatoryProperties) { - if (Property.get(property) == null) { - logger.fatal("\""+ property +"\" is not defined in unicorn.properties. This property is mandatory."); - return; - } - } // Loading config files for (String fileName : configFiles) {
Received on Tuesday, 18 August 2009 12:47:49 UTC