Author: markt
Date: Mon Dec 1 15:18:04 2014
New Revision: 1642701
URL: http://svn.apache.org/r1642701
Log:
Be explicit about webapp version
Modified:
tomcat/tc8.0.x/trunk/ (props changed)
tomcat/tc8.0.x/trunk/test/org/apache/catalina/core/TestApplicationContext.java
Propchange: tomcat/tc8.0.x/trunk/
------------------------------------------------------------------------------
Merged /tomcat/trunk:r1642699
Modified:
tomcat/tc8.0.x/trunk/test/org/apache/catalina/core/TestApplicationContext.java
URL:
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/test/org/apache/catalina/core/TestApplicationContext.java?rev=1642701&r1=1642700&r2=1642701&view=diff
==============================================================================
---
tomcat/tc8.0.x/trunk/test/org/apache/catalina/core/TestApplicationContext.java
(original)
+++
tomcat/tc8.0.x/trunk/test/org/apache/catalina/core/TestApplicationContext.java
Mon Dec 1 15:18:04 2014
@@ -168,6 +168,7 @@ public class TestApplicationContext exte
Context foo1 = new StandardContext();
foo1.setName("/foo##1");
foo1.setPath("/foo");
+ foo1.setWebappVersion("1");
foo1.addLifecycleListener(new FixContextListener());
foo1.addLifecycleListener(new SetIdListener("foo1"));
tomcat.getHost().addChild(foo1);
@@ -175,6 +176,7 @@ public class TestApplicationContext exte
Context foo2 = new StandardContext();
foo2.setName("/foo##2");
foo2.setPath("/foo");
+ foo2.setWebappVersion("2");
foo2.addLifecycleListener(new FixContextListener());
foo2.addLifecycleListener(new SetIdListener("foo2"));
tomcat.getHost().addChild(foo2);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]