geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1060714 - /geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml
Date Wed, 19 Jan 2011 08:51:07 GMT
Author: xiaming
Date: Wed Jan 19 08:51:07 2011
New Revision: 1060714

URL: http://svn.apache.org/viewvc?rev=1060714&view=rev
Log:
Add a profile to debug tck code in case of a need

Modified:
    geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml

Modified: geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml?rev=1060714&r1=1060713&r2=1060714&view=diff
==============================================================================
--- geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml (original)
+++ geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml Wed Jan 19 08:51:07 2011
@@ -208,11 +208,32 @@
                 </property>
             </activation>
             <properties>
-                <remote.debug>-Xnoagent -Djava.compiler=NONE -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</remote.debug>
+                <remote.debug>-Xnoagent -Djava.compiler=NONE -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000</remote.debug>
             </properties>
         </profile>
 
         <profile>
+            <id>tck-debug</id>
+            <activation>
+                <property>
+                    <name>tck-debug</name>
+                </property>
+            </activation>
+             <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>                            
+                            <!-- Debug forked tck tests on port 5005 -->
+                            <debugForkedProcess>true</debugForkedProcess>   
                        
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>        
+
+        <profile>
             <id>incontainer</id>
             <activation>
                 <property>
@@ -228,6 +249,8 @@
                             <suiteXmlFiles>
                                 <suiteXmlFile>src/test/resources/${tckTests}</suiteXmlFile>
                             </suiteXmlFiles>
+                            <!-- Debug forked tck tests on port 5005 -->
+                            <debugForkedProcess>true</debugForkedProcess>
                             <systemProperties>
                                 <property>
                                     <name>org.jboss.testharness.standalone</name>



Mime
View raw message