[embjopr-commits] EMBJOPR SVN: r412 - trunk/jsfunit.

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Tue May 12 08:49:03 EDT 2009


Author: ozizka at redhat.com
Date: 2009-05-12 08:49:03 -0400 (Tue, 12 May 2009)
New Revision: 412

Modified:
   trunk/jsfunit/pom.xml
Log:
JSFUnit POM: Added debug profile

Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml	2009-05-12 09:53:55 UTC (rev 411)
+++ trunk/jsfunit/pom.xml	2009-05-12 12:49:03 UTC (rev 412)
@@ -6,6 +6,7 @@
       <cargo.jboss.configuration>default</cargo.jboss.configuration>
       <cargo.jboss.bind.address>localhost</cargo.jboss.bind.address>
       <cargo.plugin.version>1.0.1-SNAPSHOT</cargo.plugin.version><!-- Was: 1.0-SNAPSHOT -->
+      <jvm.args.debug></jvm.args.debug>
    </properties>
    
    <parent>
@@ -341,11 +342,11 @@
                          <!-- Raise permgen size, allow classes unloading and permgen sweep -->
                          <!-- xb.builder.useUnorderedSequence=true is the same what run.sh does. -->
                          <!--   See http://www.nabble.com/changes-in-parsing-with-xb-td22478176.html -->
-                         <cargo.jvmargs>-Dcom.sun.management.jmxremote -Xmx1024m -Dxb.builder.useUnorderedSequence=true -XX:PermSize=256m -XX:MaxPermSize=512m</cargo.jvmargs>
+                         <cargo.jvmargs>${jvm.args.debug} -Dcom.sun.management.jmxremote -Xmx1024m -Dxb.builder.useUnorderedSequence=true -XX:PermSize=256m -XX:MaxPermSize=512m</cargo.jvmargs>
                          <!-- -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled  -->
                          <!-- JBoss configuration - default, all, standard -->
                          <cargo.jboss.configuration>${cargo.jboss.configuration}</cargo.jboss.configuration>
-                         <!-- Prevent Hudson RMI port collision -->
+                         <!-- Set explicitely because of Cargo's bad port settings for JBoss. -->
                          <cargo.rmi.port>1099</cargo.rmi.port>
                        </properties>
                        <!-- Override Cargo's default files (some taken from cargo's .jar, some from 'default') -->
@@ -461,6 +462,13 @@
          </build>
       </profile>
 
+      <profile>
+        <id>debug</id>
+        <properties>
+          <jvm.args.debug>-Xdebug -Xnoagent -DXrunjdwp:transport=dt_socket,address=4000,server=y,suspend=y</jvm.args.debug>
+        </properties>
+      </profile>
+
       <!-- Hudson profile (commented - hesitating to hard-code version dir to pom.xml)
       <profile>
         <id>running-in-hudson</id>




More information about the embjopr-commits mailing list