jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r590079 - in /jackrabbit/sandbox/jackrabbit-jcr-import-export-tool: pom.xml src/main/java/org/apache/jackrabbit/tools/importexport/JcrImportExportTool.java
Date Tue, 30 Oct 2007 14:18:41 GMT
Author: angela
Date: Tue Oct 30 07:18:39 2007
New Revision: 590079

URL: http://svn.apache.org/viewvc?rev=590079&view=rev
Log:
JCR-1169 Distribution of commons classes (NodeTypeRegistry.getRegisteredNodeTypes returns
Name instead of QName)

Modified:
    jackrabbit/sandbox/jackrabbit-jcr-import-export-tool/pom.xml
    jackrabbit/sandbox/jackrabbit-jcr-import-export-tool/src/main/java/org/apache/jackrabbit/tools/importexport/JcrImportExportTool.java

Modified: jackrabbit/sandbox/jackrabbit-jcr-import-export-tool/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-jcr-import-export-tool/pom.xml?rev=590079&r1=590078&r2=590079&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-jcr-import-export-tool/pom.xml (original)
+++ jackrabbit/sandbox/jackrabbit-jcr-import-export-tool/pom.xml Tue Oct 30 07:18:39 2007
@@ -55,6 +55,11 @@
 			<scope>test</scope>
 		</dependency>
 		<dependency>
+			<groupId>javax.jcr</groupId>
+			<artifactId>jcr</artifactId>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
 			<groupId>org.apache.jackrabbit</groupId>
 			<artifactId>jackrabbit-core</artifactId>
 			<scope>compile</scope>

Modified: jackrabbit/sandbox/jackrabbit-jcr-import-export-tool/src/main/java/org/apache/jackrabbit/tools/importexport/JcrImportExportTool.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-jcr-import-export-tool/src/main/java/org/apache/jackrabbit/tools/importexport/JcrImportExportTool.java?rev=590079&r1=590078&r2=590079&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-jcr-import-export-tool/src/main/java/org/apache/jackrabbit/tools/importexport/JcrImportExportTool.java
(original)
+++ jackrabbit/sandbox/jackrabbit-jcr-import-export-tool/src/main/java/org/apache/jackrabbit/tools/importexport/JcrImportExportTool.java
Tue Oct 30 07:18:39 2007
@@ -51,7 +51,7 @@
 import org.apache.jackrabbit.core.nodetype.NodeTypeRegistry;
 import org.apache.jackrabbit.core.nodetype.xml.NodeTypeReader;
 import org.apache.jackrabbit.core.nodetype.xml.NodeTypeWriter;
-import org.apache.jackrabbit.name.QName;
+import org.apache.jackrabbit.spi.Name;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -476,7 +476,7 @@
         NodeTypeManagerImpl ntm = (NodeTypeManagerImpl) jcrSession.getWorkspace().getNodeTypeManager();
         NodeTypeRegistry ntr = ntm.getNodeTypeRegistry();
         Set custom = new HashSet();
-        QName[] names = ntr.getRegisteredNodeTypes();
+        Name[] names = ntr.getRegisteredNodeTypes();
         for (int i=0; i<names.length; i++) {
             if (!ntr.isBuiltIn(names[i])) {
                 custom.add(ntr.getNodeTypeDef(names[i]));



Mime
View raw message