jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1159726 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
Date Fri, 19 Aug 2011 18:14:18 GMT
Author: mduerig
Date: Fri Aug 19 18:14:18 2011
New Revision: 1159726

URL: http://svn.apache.org/viewvc?rev=1159726&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
- set jcr:primaryType for root node

Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java?rev=1159726&r1=1159725&r2=1159726&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
Fri Aug 19 18:14:18 2011
@@ -564,7 +564,8 @@ public class RepositoryServiceImpl exten
                 }
             }
 
-            microKernel.commit("/", "+\"" + name + "\" : {}" , revisionId, "create workspace");
+            microKernel.commit("/", "+\"" + name + "\" : {\"{jcr}primaryType\":\"7:{rep}root\"}"
,
+                    revisionId, "create workspace " + name);
         }
         catch (MicroKernelException e) {
             throw new RepositoryException(e.getMessage(), e);



Mime
View raw message