Author: thomas.heute(a)jboss.com
Date: 2008-07-29 13:45:14 -0400 (Tue, 29 Jul 2008)
New Revision: 11627
Added:
branches/JBoss_Portal_Branch_2_7/build/etc/resources/run.conf.diff
Modified:
branches/JBoss_Portal_Branch_2_7/build/build-thirdparty.xml
branches/JBoss_Portal_Branch_2_7/build/distrib.xml
Log:
Patching to set more PermGen space
Modified: branches/JBoss_Portal_Branch_2_7/build/build-thirdparty.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/build/build-thirdparty.xml 2008-07-29 16:25:59 UTC
(rev 11626)
+++ branches/JBoss_Portal_Branch_2_7/build/build-thirdparty.xml 2008-07-29 17:45:14 UTC
(rev 11627)
@@ -41,10 +41,10 @@
are pushed to the
http://repository.jboss.com site.
-->
- <componentref name="jboss-portal/modules/common"
version="trunk-SNAPSHOT"/>
- <componentref name="jboss-portal/modules/web"
version="trunk-SNAPSHOT"/>
- <componentref name="jboss-portal/modules/test"
version="1.0-SNAPSHOT"/>
- <componentref name="jboss-portal/modules/portlet"
version="trunk-SNAPSHOT"/>
+ <componentref name="jboss-portal/modules/common"
version="1.2.1"/>
+ <componentref name="jboss-portal/modules/web"
version="1.2.1"/>
+ <componentref name="jboss-portal/modules/test"
version="1.0.3"/>
+ <componentref name="jboss-portal/modules/portlet"
version="2.0.2"/>
<componentref name="jboss-portal/modules/identity"
version="1.0.4"/>
<componentref name="antlr" version="2.7.6.ga"/>
<componentref name="apache-ant" version="1.6.5"/>
Modified: branches/JBoss_Portal_Branch_2_7/build/distrib.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/build/distrib.xml 2008-07-29 16:25:59 UTC (rev
11626)
+++ branches/JBoss_Portal_Branch_2_7/build/distrib.xml 2008-07-29 17:45:14 UTC (rev
11627)
@@ -157,6 +157,10 @@
originalfile="${todir}/conf/jboss-log4j.xml" />
</target>
+ <target name="patch-run.conf">
+ <patch patchfile="${source.dir}/build/etc/resources/run.conf.diff"
originalfile="${todir}/bin/run.conf" />
+ </target>
+
<!-- use -Dno-doc=true if you simply want jboss-portal.sar without licenses
etc-->
<target name="package-bin" unless="no-doc">
<sequential>
@@ -327,6 +331,9 @@
<antcall target="patch-log4j">
<param name="todir"
value="${portal.build.normal.bundled}/server/default"/>
</antcall>
+ <antcall target="patch-run.conf">
+ <param name="todir"
value="${portal.build.normal.bundled}"/>
+ </antcall>
</target>
<!--
Added: branches/JBoss_Portal_Branch_2_7/build/etc/resources/run.conf.diff
===================================================================
--- branches/JBoss_Portal_Branch_2_7/build/etc/resources/run.conf.diff
(rev 0)
+++ branches/JBoss_Portal_Branch_2_7/build/etc/resources/run.conf.diff 2008-07-29 17:45:14
UTC (rev 11627)
@@ -0,0 +1,11 @@
+--- run.conf2 2008-07-29 19:40:52.000000000 +0200
++++ run.conf 2008-07-29 19:41:53.000000000 +0200
+@@ -40,7 +40,7 @@
+ # Specify options to pass to the Java VM.
+ #
+ if [ "x$JAVA_OPTS" = "x" ]; then
+- JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000"
++ JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
+ fi
+
+ # Sample JPDA settings for remote socket debuging