summaryrefslogtreecommitdiffstats
path: root/java/sca/itest/distribution/webapp-helloworld-jsp
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-21 08:24:41 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-21 08:24:41 +0000
commit0fa9815607844e6a7283a5936febd805e66d84b8 (patch)
treebff37cc8f5eb761e278167f5e16208901107d5cc /java/sca/itest/distribution/webapp-helloworld-jsp
parent77dfc8e1d853ce9d14dde770825b61c58cd455b1 (diff)
Update to not include the version in the webapp path
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@746450 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/itest/distribution/webapp-helloworld-jsp')
-rw-r--r--java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml5
-rw-r--r--java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java2
2 files changed, 5 insertions, 2 deletions
diff --git a/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml b/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml
index c031477f7c..19fb23cd63 100644
--- a/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml
+++ b/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml
@@ -103,13 +103,16 @@
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>
+ <context>helloworld-jsp</context>
</properties>
<deployables>
<deployable>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>helloworld-jsp</artifactId>
<type>war</type>
- <pingURL>http://localhost:8085/helloworld-jsp-xxx</pingURL>
+ <properties>
+ <context>helloworld-jsp</context>
+ </properties>
</deployable>
</deployables>
</configuration>
diff --git a/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java b/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java
index 161560ed2b..7bcd590cf0 100644
--- a/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java
+++ b/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java
@@ -38,7 +38,7 @@ public class HelloworldTestCase {
@Test
public void testA() throws FailingHttpStatusCodeException, MalformedURLException, IOException {
- HtmlPage page = (HtmlPage)new WebClient().getPage("http://localhost:8085/helloworld-jsp-2.0-SNAPSHOT");
+ HtmlPage page = (HtmlPage)new WebClient().getPage("http://localhost:8085/helloworld-jsp");
Iterator<?> ss = page.getAllHtmlChildElements();
ss.next();
ss.next();