geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r232330 - /geronimo/trunk/modules/tomcat-builder/src/java/org/apache/geronimo/tomcat/deployment/TomcatModuleBuilder.java
Date Fri, 12 Aug 2005 16:34:06 GMT
Author: jgenender
Date: Fri Aug 12 09:34:03 2005
New Revision: 232330

URL: http://svn.apache.org/viewcvs?rev=232330&view=rev
Log:
Added CrossContext parameter

Modified:
    geronimo/trunk/modules/tomcat-builder/src/java/org/apache/geronimo/tomcat/deployment/TomcatModuleBuilder.java

Modified: geronimo/trunk/modules/tomcat-builder/src/java/org/apache/geronimo/tomcat/deployment/TomcatModuleBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat-builder/src/java/org/apache/geronimo/tomcat/deployment/TomcatModuleBuilder.java?rev=232330&r1=232329&r2=232330&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat-builder/src/java/org/apache/geronimo/tomcat/deployment/TomcatModuleBuilder.java
(original)
+++ geronimo/trunk/modules/tomcat-builder/src/java/org/apache/geronimo/tomcat/deployment/TomcatModuleBuilder.java
Fri Aug 12 09:34:03 2005
@@ -408,6 +408,14 @@
                 //Is there a Tomcat virtual server declaration?
                 virtualServer = (String) values.remove("VirtualServer");
 
+                //Is there a Tomcat crossContext declaration?
+                String strCrossContext = (String) values.remove("CrossContext");
+                if (strCrossContext != null){
+                    if (strCrossContext.trim().toLowerCase().equals("true")){
+                        webModuleData.setAttribute("crossContext",new Boolean(true));
+                    }
+                }
+                
                 //Is there a Tomcat realm declaration?
                 String tomcatRealm = (String) values.remove("TomcatRealm");
                 if (tomcatRealm != null) {



Mime
View raw message