Author: antelder
Date: Sat Feb 21 08:24:41 2009
New Revision: 746450
URL: http://svn.apache.org/viewvc?rev=746450&view=rev
Log:
Update to not include the version in the webapp path
Modified:
tuscany/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml
tuscany/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java
Modified: tuscany/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml?rev=746450&r1=746449&r2=746450&view=diff
==============================================================================
--- tuscany/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml (original)
+++ tuscany/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml Sat Feb
21 08:24:41 2009
@@ -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>
Modified:
tuscany/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java?rev=746450&r1=746449&r2=746450&view=diff
==============================================================================
---
tuscany/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java
(original)
+++
tuscany/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java
Sat Feb 21 08:24:41 2009
@@ -38,7 +38,7 @@
@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();