summaryrefslogtreecommitdiffstats
path: root/java/sca/itest
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-20 09:38:48 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-20 09:38:48 +0000
commit3b29467c3d58cf1de5fe8115987befcc2d848940 (patch)
tree4711b84ae78ec2e76c13e65ea0d0c336112eb004 /java/sca/itest
parent3c218c9ba9f96cc140dac7f6b8b4dfd31f10bd34 (diff)
Add config to use Java remote debugging
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@746188 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/itest')
-rw-r--r--java/sca/itest/distribution/webapp-helloworld/pom.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/java/sca/itest/distribution/webapp-helloworld/pom.xml b/java/sca/itest/distribution/webapp-helloworld/pom.xml
index 45bb2b53ef..d28ee0857c 100644
--- a/java/sca/itest/distribution/webapp-helloworld/pom.xml
+++ b/java/sca/itest/distribution/webapp-helloworld/pom.xml
@@ -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>