]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Remove warning
authorMathieu Baudier <mbaudier@argeo.org>
Sun, 26 Jul 2009 10:57:58 +0000 (10:57 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sun, 26 Jul 2009 10:57:58 +0000 (10:57 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2753 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

runtime/org.argeo.slc.osgiboot/src/main/java/org/argeo/slc/osgiboot/internal/springutil/SystemPropertyUtils.java

index 190d5d66cd264d9e4c744234ca6e4339964e0c98..8b1113c2e5a96a30c961e53233d30e89a5cb406e 100644 (file)
@@ -58,7 +58,8 @@ public abstract class SystemPropertyUtils {
                                        String propVal = System.getProperty(placeholder);\r
                                        if (propVal == null) {\r
                                                // Fall back to searching the system environment.\r
-                                               propVal = System.getenv(placeholder);\r
+                                               //propVal = System.getenv(placeholder);// mbaudier - 2009-07-26\r
+                                               throw new Error("getenv no longer supported, use properties and -D instead: " + placeholder);\r
                                        }\r
                                        if (propVal != null) {\r
                                                buf.replace(startIndex, endIndex + PLACEHOLDER_SUFFIX.length(), propVal);\r