svn commit: r1139917 - /ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1139917 - /ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

doogie-3
Author: doogie
Date: Sun Jun 26 19:15:28 2011
New Revision: 1139917

URL: http://svn.apache.org/viewvc?rev=1139917&view=rev
Log:
FEATURE: Add support for webapp in ofbiz-component.xml that
has a null location.  Such a webapp will show up in the backend menus,
but no catalina/jetty webapp will be automatically created.

Modified:
    ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

Modified: ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java?rev=1139917&r1=1139916&r2=1139917&view=diff
==============================================================================
--- ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java (original)
+++ ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java Sun Jun 26 19:15:28 2011
@@ -646,7 +646,9 @@ public class CatalinaContainer implement
                     // nothing was removed from the new list of keys; this
                     // means there are no existing loaded entries that overlap
                     // with the new set
-                    createContext(appInfo);
+                    if (appInfo.location != null) {
+                        createContext(appInfo);
+                    }
                     loadedMounts.addAll(keys);
                 } else {
                     appInfo.appBarDisplay = false; // disable app bar display on overrided apps