From: Mathieu Baudier Date: Sun, 26 Jul 2009 10:57:58 +0000 (+0000) Subject: Remove warning X-Git-Tag: argeo-slc-2.1.7~1634 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;ds=sidebyside;h=50590c4b36590b101b0e1d4b6e687b5d99fda874;p=gpl%2Fargeo-slc.git Remove warning git-svn-id: https://svn.argeo.org/slc/trunk@2753 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/runtime/org.argeo.slc.osgiboot/src/main/java/org/argeo/slc/osgiboot/internal/springutil/SystemPropertyUtils.java b/runtime/org.argeo.slc.osgiboot/src/main/java/org/argeo/slc/osgiboot/internal/springutil/SystemPropertyUtils.java index 190d5d66c..8b1113c2e 100644 --- a/runtime/org.argeo.slc.osgiboot/src/main/java/org/argeo/slc/osgiboot/internal/springutil/SystemPropertyUtils.java +++ b/runtime/org.argeo.slc.osgiboot/src/main/java/org/argeo/slc/osgiboot/internal/springutil/SystemPropertyUtils.java @@ -58,7 +58,8 @@ public abstract class SystemPropertyUtils { String propVal = System.getProperty(placeholder); if (propVal == null) { // Fall back to searching the system environment. - propVal = System.getenv(placeholder); + //propVal = System.getenv(placeholder);// mbaudier - 2009-07-26 + throw new Error("getenv no longer supported, use properties and -D instead: " + placeholder); } if (propVal != null) { buf.replace(startIndex, endIndex + PLACEHOLDER_SUFFIX.length(), propVal);