continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1367863 - in /continuum/trunk/continuum-webapp-test: Readme.txt pom.xml
Date Wed, 01 Aug 2012 05:50:59 GMT
Author: brett
Date: Wed Aug  1 05:50:59 2012
New Revision: 1367863

URL: http://svn.apache.org/viewvc?rev=1367863&view=rev
Log:
allow debugging of cargo instance

Modified:
    continuum/trunk/continuum-webapp-test/Readme.txt
    continuum/trunk/continuum-webapp-test/pom.xml

Modified: continuum/trunk/continuum-webapp-test/Readme.txt
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/Readme.txt?rev=1367863&r1=1367862&r2=1367863&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/Readme.txt (original)
+++ continuum/trunk/continuum-webapp-test/Readme.txt Wed Aug  1 05:50:59 2012
@@ -32,4 +32,8 @@ If you'd like to run the tests from your
 
     mvn generate-resources selenium:start-server cargo:run
 
-The server will run until you press Ctrl-C, and you can run the tests from the IDE.
\ No newline at end of file
+The server will run until you press Ctrl-C, and you can run the tests from the IDE.
+
+To attach a debugger to the same process, run:
+
+    mvn -Ptomcat7x,debug generate-resources selenium:start-server cargo:run
\ No newline at end of file

Modified: continuum/trunk/continuum-webapp-test/pom.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/pom.xml?rev=1367863&r1=1367862&r2=1367863&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/pom.xml (original)
+++ continuum/trunk/continuum-webapp-test/pom.xml Wed Aug  1 05:50:59 2012
@@ -167,7 +167,7 @@ under the License.
           <configuration>
             <properties>
               <cargo.servlet.port>9595</cargo.servlet.port>
-              <cargo.jvmargs>-Xmx512m -XX:MaxPermSize=128m</cargo.jvmargs>
+              <cargo.jvmargs>${cargo.jvmargs}</cargo.jvmargs>
               <cargo.datasource.datasource.users>
                 cargo.datasource.driver=org.apache.derby.jdbc.EmbeddedDriver|
                 cargo.datasource.url=jdbc:derby:${project.build.directory}/databases/${container.name}/users;create=true|
@@ -546,11 +546,25 @@ under the License.
         <jetty7x.version>7.6.5.v20120716</jetty7x.version>
       </properties>
     </profile>
+    <profile>
+      <id>debug</id>
+      <properties>
+        <cargo.jvmargs>
+          -Xmx512m
+          -XX:MaxPermSize=128m
+          -Xdebug
+          -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
+          -Xnoagent
+          -Djava.compiler=NONE
+        </cargo.jvmargs>
+      </properties>
+    </profile>
   </profiles>
   <properties>
     <seleniumHost>localhost</seleniumHost>
     <seleniumPort>4444</seleniumPort>
     <baseUrl>http://localhost:9595/continuum/</baseUrl>
     <browser>*firefox</browser>
+    <cargo.jvmargs>-Xmx512m -XX:MaxPermSize=128m</cargo.jvmargs>
   </properties>
 </project>



Mime
View raw message