Use default workspace
authorMathieu Baudier <mbaudier@argeo.org>
Wed, 25 Feb 2015 22:31:11 +0000 (22:31 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Wed, 25 Feb 2015 22:31:11 +0000 (22:31 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@7967 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.cms/src/org/argeo/cms/CmsApplication.java

index e113d7b2e3ff50afd32d05e8cb173b3f28137578..f722befeb201007e59c3ecbe7c61313075279567 100644 (file)
@@ -148,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 {