You are viewing a plain text version of this content. The canonical link for it is here.
Posted to graffito-commits@incubator.apache.org by cl...@apache.org on 2006/09/21 19:55:02 UTC

svn commit: r448652 - in /incubator/graffito/trunk/jcr/spring/src/test-config/nodetypes: ./ custom_nodetypes.xml

Author: clombart
Date: Thu Sep 21 12:55:01 2006
New Revision: 448652

URL: http://svn.apache.org/viewvc?view=rev&rev=448652
Log:

Simplify the folder structure used to store the custom node type.

Added:
    incubator/graffito/trunk/jcr/spring/src/test-config/nodetypes/
    incubator/graffito/trunk/jcr/spring/src/test-config/nodetypes/custom_nodetypes.xml   (with props)

Added: incubator/graffito/trunk/jcr/spring/src/test-config/nodetypes/custom_nodetypes.xml
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/spring/src/test-config/nodetypes/custom_nodetypes.xml?view=auto&rev=448652
==============================================================================
--- incubator/graffito/trunk/jcr/spring/src/test-config/nodetypes/custom_nodetypes.xml (added)
+++ incubator/graffito/trunk/jcr/spring/src/test-config/nodetypes/custom_nodetypes.xml Thu Sep 21 12:55:01 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	/*
+	* Copyright 2004-2005 The Apache Software Foundation or its licensors,
+	*                     as applicable.
+	*
+	* Licensed under the Apache License, Version 2.0 (the "License");
+	* you may not use this file except in compliance with the License.
+	* You may obtain a copy of the License at
+	*
+	*      http://www.apache.org/licenses/LICENSE-2.0
+	*
+	* Unless required by applicable law or agreed to in writing, software
+	* distributed under the License is distributed on an "AS IS" BASIS,
+	* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	* See the License for the specific language governing permissions and
+	* limitations under the License.
+	*/
+-->
+<nodeTypes xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
+	xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
+	xmlns:sv="http://www.jcp.org/jcr/sv/1.0"
+	xmlns:test="http://www.apache.org/jackrabbit/test"
+	xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
+	xmlns:graffito="http://incubator.apache.org/graffito"> 
+
+   <nodeType name="graffito:discriminator" isMixin="true">
+    <supertypes>
+      <supertype>nt:base</supertype>
+    </supertypes>
+    <propertyDefinition name="graffito:classname" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false" multiple="false" />    
+  </nodeType>
+
+</nodeTypes>
+

Propchange: incubator/graffito/trunk/jcr/spring/src/test-config/nodetypes/custom_nodetypes.xml
------------------------------------------------------------------------------
    svn:executable = *