geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r954351 - /geronimo/server/trunk/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java
Date Mon, 14 Jun 2010 02:26:36 GMT
Author: genspring
Date: Mon Jun 14 02:26:36 2010
New Revision: 954351

URL: http://svn.apache.org/viewvc?rev=954351&view=rev
Log:
GERONIMO-5382  Enable the max permsize configuration in geronimo-maven-plugin

Modified:
    geronimo/server/trunk/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java

Modified: geronimo/server/trunk/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java?rev=954351&r1=954350&r2=954351&view=diff
==============================================================================
--- geronimo/server/trunk/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java
(original)
+++ geronimo/server/trunk/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java
Mon Jun 14 02:26:36 2010
@@ -201,12 +201,10 @@ public class StartServerMojo
             java.setMaxmemory(maximumMemory);
         }
         
-        if (maxPermSize !=null){    
+        if (maxPermSize != null){    
             java.createJvmarg().setValue("-XX:MaxPermSize="+maxPermSize);         
-        } else {           
-            java.createJvmarg().setValue("-XX:MaxPermSize=128m");    
-        }
-
+        } 
+        
         // Load the Java programming language agent for JPA
         File javaAgentJar = new File(geronimoHome, "lib/agent/transformer.jar");
         if (javaAgentJar.exists()) {



Mime
View raw message