[embjopr-commits] EMBJOPR SVN: r130 - trunk/jsfunit.
embjopr-commits at lists.jboss.org
embjopr-commits at lists.jboss.org
Tue Feb 3 15:48:48 EST 2009
Author: ozizka at redhat.com
Date: 2009-02-03 15:48:48 -0500 (Tue, 03 Feb 2009)
New Revision: 130
Modified:
trunk/jsfunit/pom.xml
Log:
Setting level of logging by telling Cargo plugin which jboss-log4j.xml to use.
This also shows how to set up the JBoss configuration used by Cargo in general.
Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml 2009-02-03 04:27:07 UTC (rev 129)
+++ trunk/jsfunit/pom.xml 2009-02-03 20:48:48 UTC (rev 130)
@@ -130,6 +130,9 @@
<container>
<containerId>jboss42x</containerId>
<home>${JBOSS_HOME}</home>
+ <!-- JVM location; currently doesn't work and isn't documented.
+ I even don't know whether it should be here or on the other place. -->
+ <!--<cargo.java.home>${JAVA_HOME}</cargo.java.home>-->
<log>${basedir}/target/jboss4.2.logs/cargo.log</log>
<timeout>300000</timeout> <!-- 5 minutes -->
<systemProperties>
@@ -138,6 +141,8 @@
<jsfunit.htmlunitsnooper>enabled</jsfunit.htmlunitsnooper> -->
<jsfunit.testdata>${basedir}/testdata</jsfunit.testdata>
<jsfunit.deploy.dir>${basedir}/target/jboss42x/deploy</jsfunit.deploy.dir>
+ <!-- JVM location; see above. -->
+ <!--<cargo.java.home>${JAVA_HOME}</cargo.java.home>-->
</systemProperties>
</container>
</configuration>
@@ -237,12 +242,23 @@
<jsfunit.deploy.dir>${basedir}/target/jboss5x/deploy</jsfunit.deploy.dir>
</systemProperties>
</container>
- <!-- Raise permgen size -->
+
+ <!-- cargo-configuration -->
<configuration>
+ <!-- Raise permgen size, allow classes unloading and permgen sweep -->
<properties>
- <cargo.jvmargs>-XX:MaxPermSize=512</cargo.jvmargs>
+ <cargo.jvmargs>-XX:PermSize=512m -XX:MaxPermSize=1024 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled</cargo.jvmargs>
</properties>
+ <!-- Override Cargo's default jboss-log4j.xml -->
+ <configfiles>
+ <configfile>
+ <file>${JBOSS_HOME}/server/default/conf/jboss-log4j.xml</file>
+ <tofile>conf/jboss-log4j.xml</tofile>
+ </configfile>
+ </configfiles>
</configuration>
+ <!-- /cargo-configuration -->
+
</configuration>
<executions>
<execution>
More information about the embjopr-commits
mailing list