]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.cms/src/org/argeo/cms/CmsApplication.java
Fix URL root filter
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / CmsApplication.java
index 90df56a61a967d65c2c46ab4ba1ee8bb8252b608..f722befeb201007e59c3ecbe7c61313075279567 100644 (file)
@@ -22,6 +22,7 @@ import org.apache.commons.io.IOUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.argeo.cms.internal.ImageManagerImpl;
+import org.argeo.cms.util.CmsUtils;
 import org.argeo.jcr.JcrUtils;
 import org.eclipse.gemini.blueprint.context.BundleContextAware;
 import org.eclipse.rap.rwt.RWT;
@@ -147,12 +148,12 @@ public class CmsApplication implements CmsConstants, ApplicationConfiguration,
        }
 
        public void init() throws RepositoryException {
-               if (workspace == null)
-                       throw new CmsException(
-                                       "Workspace must be set when calling initialization."
-                                                       + " Please make sure that read-only and read-write roles"
-                                                       + " have been properly configured:"
-                                                       + " the defaults are open.");
+//             if (workspace == null)
+//                     throw new CmsException(
+//                                     "Workspace must be set when calling initialization."
+//                                                     + " Please make sure that read-only and read-write roles"
+//                                                     + " have been properly configured:"
+//                                                     + " the defaults are open.");
 
                Session session = null;
                try {