Author: antelder
Date: Fri Feb 20 09:38:48 2009
New Revision: 746188
URL: http://svn.apache.org/viewvc?rev=746188&view=rev
Log:
Add config to use Java remote debugging
Modified:
tuscany/java/sca/itest/distribution/webapp-helloworld/pom.xml
Modified: tuscany/java/sca/itest/distribution/webapp-helloworld/pom.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/itest/distribution/webapp-helloworld/pom.xml?rev=746188&r1=746187&r2=746188&view=diff
==============================================================================
--- tuscany/java/sca/itest/distribution/webapp-helloworld/pom.xml (original)
+++ tuscany/java/sca/itest/distribution/webapp-helloworld/pom.xml Fri Feb 20
09:38:48 2009
@@ -65,7 +65,7 @@
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
- <version>1.0-alpha-5</version>
+ <version>1.0-beta-2</version>
<executions>
<execution>
<id>start-container</id>
@@ -83,6 +83,7 @@
</execution>
</executions>
<configuration>
+ <wait>false</wait>
<container>
<containerId>jetty6x</containerId>
<type>embedded</type>
@@ -90,10 +91,17 @@
<org.apache.commons.logging.Log>org.apache.commons.logging.impl.SimpleLog</org.apache.commons.logging.Log>
</systemProperties>
</container>
- <wait>false</wait>
+ <!-- container>
+ <containerId>tomcat6x</containerId>
+ <home>/Tomcat/apache-tomcat-6.0.18</home>
+ </container -->
<configuration>
<home>${project.build.directory}/cargo-jetty</home>
<properties>
+ <!-- NOTE: remote debugging doesn't work with the
embedded Jetty container. To remote debug
+ uncomment/comment the container above
to be the Tomcat container and set home to point
+ to your local Tomcat installation -->
+ <cargo.jvmargs><![CDATA[-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y]]></cargo.jvmargs>
<cargo.servlet.port>8085</cargo.servlet.port>
</properties>
<deployables>