[jboss-cvs] JBossAS SVN: r90679 - branches/JBPAPP_5_0/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jun 29 12:15:57 EDT 2009


Author: smarlow at redhat.com
Date: 2009-06-29 12:15:56 -0400 (Mon, 29 Jun 2009)
New Revision: 90679

Modified:
   branches/JBPAPP_5_0/build/build.xml
Log:
JBPAPP-2052 Production profile for EAP 5

Modified: branches/JBPAPP_5_0/build/build.xml
===================================================================
--- branches/JBPAPP_5_0/build/build.xml	2009-06-29 15:47:41 UTC (rev 90678)
+++ branches/JBPAPP_5_0/build/build.xml	2009-06-29 16:15:56 UTC (rev 90679)
@@ -725,7 +725,7 @@
      depends="partition-build"
      />
 
-  <!-- THE FOLLOWING IS BASED ON EAP4 AND PROBABLY NEEDS CHANGES -->
+  
   <!-- Partition the default single configuration build into a all, production,
   default and minimal configs with a minimal set of jars in the root lib dir.
   -->
@@ -868,9 +868,8 @@
       token="Xms128m" value="Xms1503m"/>
     <replace file="${install.production}/run.conf" 
       token="Xmx512m" value="Xmx1503m"/>
-    <!-- 
+
       <antcall target="makeCCChanges"/> 
-      -->
 
     <!-- Build production based on all -->
     <!-- Copy server/all to server/production
@@ -882,7 +881,22 @@
 
   </target>
 
+  <!-- Modify run.conf for EAP 5 security manager config -->
+  <target name="makeCCChanges">
+     <replace file="${install.production}/run.conf" summary="true">
+        <replacetoken><![CDATA[
+# Sample JPDA settings for remote socket debugging
+]]></replacetoken>
+        <replacevalue><![CDATA[
+## Specify the Security Manager options
+#JAVA_OPTS="$JAVA_OPTS -Djava.security.manager -Djava.security.policy=$POLICY"
 
+# Sample JPDA settings for remote socket debugging
+]]></replacevalue>
+        </replace>
+  </target>
+
+
   <!-- Partition the default single configuration build into a minimal,
   default and all configs with a minimal set of jars in the root lib dir.
   -->




More information about the jboss-cvs-commits mailing list