You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by st...@apache.org on 2006/01/19 14:01:55 UTC

svn commit: r370467 - in /incubator/jackrabbit/trunk/jackrabbit: applications/test/repository/namespaces/ns_reg.properties applications/test/repository/namespaces/ns_reg.properties.install maven.xml

Author: stefan
Date: Thu Jan 19 05:01:19 2006
New Revision: 370467

URL: http://svn.apache.org/viewcvs?rev=370467&view=rev
Log:
JCR-290: NodeTypeRegistry.registerNodeType(NodeTypeDef) does not verify that the referenced namespaces are registered

fixed test environment

Added:
    incubator/jackrabbit/trunk/jackrabbit/applications/test/repository/namespaces/ns_reg.properties.install
Removed:
    incubator/jackrabbit/trunk/jackrabbit/applications/test/repository/namespaces/ns_reg.properties
Modified:
    incubator/jackrabbit/trunk/jackrabbit/maven.xml

Added: incubator/jackrabbit/trunk/jackrabbit/applications/test/repository/namespaces/ns_reg.properties.install
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jackrabbit/applications/test/repository/namespaces/ns_reg.properties.install?rev=370467&view=auto
==============================================================================
--- incubator/jackrabbit/trunk/jackrabbit/applications/test/repository/namespaces/ns_reg.properties.install (added)
+++ incubator/jackrabbit/trunk/jackrabbit/applications/test/repository/namespaces/ns_reg.properties.install Thu Jan 19 05:01:19 2006
@@ -0,0 +1,11 @@
+#Tue Jan 17 18:27:06 CET 2006
+xs=http\://www.w3.org/2001/XMLSchema
+xml=http\://www.w3.org/XML/1998/namespace
+fn=http\://www.w3.org/2004/10/xpath-functions
+jcr=http\://www.jcp.org/jcr/1.0
+nt=http\://www.jcp.org/jcr/nt/1.0
+sv=http\://www.jcp.org/jcr/sv/1.0
+mix=http\://www.jcp.org/jcr/mix/1.0
+rep=internal
+test=http\://www.apache.org/jackrabbit/test
+=

Modified: incubator/jackrabbit/trunk/jackrabbit/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jackrabbit/maven.xml?rev=370467&r1=370466&r2=370467&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/jackrabbit/maven.xml (original)
+++ incubator/jackrabbit/trunk/jackrabbit/maven.xml Thu Jan 19 05:01:19 2006
@@ -49,6 +49,7 @@
             <ant:fileset dir="applications/test/repository">
                 <ant:include name="**/*"/>
                 <ant:exclude name="**/custom_nodetypes.xml"/>
+                <ant:exclude name="**/ns_reg.properties.install"/>
             </ant:fileset>
         </ant:delete>
         <ant:delete includeEmptyDirs="true">
@@ -205,6 +206,8 @@
         read-only tests.
     -->
     <goal name="jackrabbit:test-init">
+        <ant:copy file="applications/test/repository/namespaces/ns_reg.properties.install" 
+            tofile="applications/test/repository/namespaces/ns_reg.properties"/>
         <j:set var="testcase" value="org.apache.jackrabbit.init.TestAll"/>
         <attainGoal name="test:single"/>
     </goal>