[dna-commits] DNA SVN: r966 - trunk/dna-repository/src/main/java/org/jboss/dna/repository.

dna-commits at lists.jboss.org dna-commits at lists.jboss.org
Wed Jun 3 16:07:47 EDT 2009


Author: rhauch
Date: 2009-06-03 16:07:47 -0400 (Wed, 03 Jun 2009)
New Revision: 966

Modified:
   trunk/dna-repository/src/main/java/org/jboss/dna/repository/RepositoryService.java
Log:
DNA-436 Repository example uses different path in configuration repository than assumed by RepositoryService

Changed RepositoryService to use '/jcr:system' as the default path, since that makes for better integration

Modified: trunk/dna-repository/src/main/java/org/jboss/dna/repository/RepositoryService.java
===================================================================
--- trunk/dna-repository/src/main/java/org/jboss/dna/repository/RepositoryService.java	2009-06-03 19:55:23 UTC (rev 965)
+++ trunk/dna-repository/src/main/java/org/jboss/dna/repository/RepositoryService.java	2009-06-03 20:07:47 UTC (rev 966)
@@ -147,7 +147,7 @@
         CheckArg.isNotNull(context, "context");
         if (pathToConfigurationRoot == null) pathToConfigurationRoot = context.getValueFactories()
                                                                               .getPathFactory()
-                                                                              .create("/dna:system");
+                                                                              .create("/jcr:system");
         this.sources = sources;
         this.pathToConfigurationRoot = pathToConfigurationRoot;
         this.configurationSourceName = configurationSourceName;




More information about the dna-commits mailing list