geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hanhongf...@apache.org
Subject svn commit: r1135979 - /geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ClassPathUtils.java
Date Wed, 15 Jun 2011 09:36:07 GMT
Author: hanhongfang
Date: Wed Jun 15 09:36:07 2011
New Revision: 1135979

URL: http://svn.apache.org/viewvc?rev=1135979&view=rev
Log:
switch default Manifest Classpath mode from strict to Lenient

Modified:
    geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ClassPathUtils.java

Modified: geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ClassPathUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ClassPathUtils.java?rev=1135979&r1=1135978&r2=1135979&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ClassPathUtils.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ClassPathUtils.java
Wed Jun 15 09:36:07 2011
@@ -50,12 +50,12 @@ public class ClassPathUtils {
     static {
         // Extract the LenientMFCP value if specified.  If not, default to strict..
         String mode = System.getProperty("Xorg.apache.geronimo.deployment.LenientMFCP");
-        int mfcpMode = MFCP_STRICT;    // Default to strict
-        String mfcpModeMessage = "Strict Manifest Classpath";
+        int mfcpMode = MFCP_LENIENT;    // Default to lenient
+        String mfcpModeMessage = "Lenient Manifest Classpath";
         if (mode != null) {
-            if (mode.equals("true")) {
-                mfcpMode = MFCP_LENIENT;
-                mfcpModeMessage = "Lenient Manifest Classpath";
+            if (mode.equals("false")) {
+                mfcpMode = MFCP_STRICT;
+                mfcpModeMessage = "Strict Manifest Classpath";
             }
         }
 



Mime
View raw message