update to compbio.utils and a few small changes
[jabaws.git] / engine / compbio / engine / conf / PropertyHelperManager.java
index e8aa9a7..939e5fe 100644 (file)
@@ -66,8 +66,9 @@ public final class PropertyHelperManager {
                                ph = new PropertyHelper(locEngineProp, clustEngineProp,\r
                                                execProp);\r
                        } catch (IOException e) {\r
-                               log.warn("Cannot read property files! Reason: "\r
-                                               + e.getLocalizedMessage(), e.getCause());\r
+                               log.warn(\r
+                                               "Cannot read property files! Reason: "\r
+                                                               + e.getLocalizedMessage(), e.getCause());\r
                        }\r
                }\r
                return ph;\r
@@ -111,11 +112,10 @@ public final class PropertyHelperManager {
                } catch (IllegalArgumentException e) {\r
                        // Classes are in the jar file, using different method to determine\r
                        // the path new File(INCORRECT URL) throws it\r
-                       log\r
-                                       .warn(\r
-                                                       "It looks like classes are in the jar file. "\r
-                                                                       + "Attempting a different method to determinine the path to the resources "\r
-                                                                       + e.getLocalizedMessage(), e.getCause());\r
+                       log.debug(\r
+                                       "It looks like classes are in the jar file. "\r
+                                                       + "Attempting a different method to determinine the path to the resources "\r
+                                                       + e.getLocalizedMessage(), e.getCause());\r
                        try {\r
                                f = new File(PropertyHelperManager.class.getProtectionDomain()\r
                                                .getCodeSource().getLocation().toURI().getPath());\r
@@ -128,8 +128,9 @@ public final class PropertyHelperManager {
                                        f = f.getParentFile();\r
                                }\r
                        } catch (URISyntaxException e1) {\r
-                               log.error("Could not find resources path! "\r
-                                               + e1.getLocalizedMessage(), e1.getCause());\r
+                               log.error(\r
+                                               "Could not find resources path! "\r
+                                                               + e1.getLocalizedMessage(), e1.getCause());\r
                                throw new RuntimeException("Could not find resources path! ",\r
                                                e1.getCause());\r
                        }\r