[exo-jcr-commits] exo-jcr SVN: r321 - in jcr/trunk: component/ext/src/main and 25 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Oct 21 05:18:38 EDT 2009


Author: dkatayev
Date: 2009-10-21 05:18:35 -0400 (Wed, 21 Oct 2009)
New Revision: 321

Added:
   jcr/trunk/component/ext/src/main/resources/
   jcr/trunk/component/ext/src/main/resources/conf/
   jcr/trunk/component/ext/src/main/resources/conf/ext-nodetypes-config.xml
   jcr/trunk/component/ext/src/main/resources/conf/organization-nodetypes.xml
   jcr/trunk/component/ext/src/main/resources/conf/portal/
   jcr/trunk/component/ext/src/test/resources/conf/standalone/
   jcr/trunk/component/ftp/src/main/resources/
   jcr/trunk/component/ftp/src/main/resources/conf/
   jcr/trunk/component/ftp/src/main/resources/conf/ftp-commands.xml
   jcr/trunk/component/ftp/src/main/resources/conf/jcr-ftp-configuration.xml
   jcr/trunk/component/ftp/src/test/resources/conf/
   jcr/trunk/component/ftp/src/test/resources/conf/standalone/
   jcr/trunk/component/webdav/src/main/resources/conf/
   jcr/trunk/component/webdav/src/main/resources/conf/portal/
   jcr/trunk/component/webdav/src/main/resources/conf/webdav-nodetypes.xml
   jcr/trunk/component/webdav/src/test/resources/conf/standalone/
   jcr/trunk/component/webdav/src/test/resources/login.conf
   jcr/trunk/frameworks/command/src/main/resources/
   jcr/trunk/frameworks/command/src/main/resources/conf/
   jcr/trunk/frameworks/command/src/test/resources/conf/
   jcr/trunk/frameworks/command/src/test/resources/conf/standalone/
Removed:
   jcr/trunk/component/ext/src/main/java/conf/ext-nodetypes-config.xml
   jcr/trunk/component/ext/src/main/java/conf/organization-nodetypes.xml
   jcr/trunk/component/ext/src/main/java/conf/portal/
   jcr/trunk/component/ext/src/test/java/conf/standalone/
   jcr/trunk/component/ftp/src/main/java/conf/ftp-commands.xml
   jcr/trunk/component/ftp/src/main/java/conf/jcr-ftp-configuration.xml
   jcr/trunk/component/ftp/src/main/java/conf/portal/
   jcr/trunk/component/ftp/src/test/java/conf/standalone/
   jcr/trunk/component/webdav/src/main/java/conf/portal/
   jcr/trunk/component/webdav/src/main/java/conf/webdav-nodetypes.xml
   jcr/trunk/component/webdav/src/test/java/conf/standalone/
   jcr/trunk/frameworks/command/src/main/java/conf/
   jcr/trunk/frameworks/command/src/test/java/conf/standalone/
Modified:
   jcr/trunk/component/ext/pom.xml
   jcr/trunk/component/ext/src/test/java/org/exoplatform/services/jcr/ext/BaseStandaloneTest.java
Log:
EXOJCR-165 resources moved ot resource folder

Modified: jcr/trunk/component/ext/pom.xml
===================================================================
--- jcr/trunk/component/ext/pom.xml	2009-10-21 08:41:00 UTC (rev 320)
+++ jcr/trunk/component/ext/pom.xml	2009-10-21 09:18:35 UTC (rev 321)
@@ -83,44 +83,16 @@
       </dependency>
    </dependencies>
    <build>
-      <resources>
-         <resource>
-            <directory>src/main/java</directory>
-            <includes>
-               <include>**/*.xml</include>
-               <include>**/*.html</include>
-               <include>**/*.vm</include>
-               <include>**/*.css</include>
-               <include>**/*.ion</include>
-               <include>**/*.groovy</include>
-            </includes>
-         </resource>
-      </resources>
       <testResources>
          <testResource>
             <directory>src/test/resources</directory>
-            <includes>
-               <include>**/*.properties</include>
-               <include>**/*.xml</include>
-               <include>**/*.drl</include>
-               <include>**/*.vm</include>
-               <include>**/*.doc</include>
-               <include>**/*.xls</include>
-               <include>**/*.ppt</include>
-               <include>**/*.txt</include>
-               <include>**/*.jar</include>
-               <include>**/*.pom</include>
-               <include>**/*.sha1</include>
-               <include>**/*.conf</include>
-               <include>**/*.groovy</include>
+            <includes>
+               <include>**/*.xml</include>              
+               <include>**/*.xls</include>              
+               <include>**/*.groovy</include>            
+               <include>**/login.conf</include>            
             </includes>
          </testResource>
-         <testResource>
-            <directory>src/test/java</directory>
-            <includes>
-               <include>**/*.xml</include>
-            </includes>
-         </testResource>
       </testResources>
       <pluginManagement>
          <plugins>

Deleted: jcr/trunk/component/ext/src/main/java/conf/ext-nodetypes-config.xml
===================================================================
--- jcr/trunk/component/ext/src/main/java/conf/ext-nodetypes-config.xml	2009-10-21 08:41:00 UTC (rev 320)
+++ jcr/trunk/component/ext/src/main/java/conf/ext-nodetypes-config.xml	2009-10-21 09:18:35 UTC (rev 321)
@@ -1,230 +0,0 @@
-<!--
-
-    Copyright (C) 2009 eXo Platform SAS.
-
-    This is free software; you can redistribute it and/or modify it
-    under the terms of the GNU Lesser General Public License as
-    published by the Free Software Foundation; either version 2.1 of
-    the License, or (at your option) any later version.
-
-    This software is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-    Lesser General Public License for more details.
-
-    You should have received a copy of the GNU Lesser General Public
-    License along with this software; if not, write to the Free
-    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-    02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<nodeTypes xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
-
-   <!-- metadata nodetypes -->
-   <nodeType name="exo:metadata" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
-      <propertyDefinitions>
-         <propertyDefinition name="exo:internalUse" requiredType="Boolean" autoCreated="true" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-            <defaultValues>
-               <defaultValue>false</defaultValue>
-            </defaultValues>
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-
-   <!-- Dublin Core Metadata Elemet Set, Version 1.1  -->
-   <nodeType name="dc:elementSet" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
-      <supertypes>
-         <supertype>exo:metadata</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="dc:title" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:creator" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:subject" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:description" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:publisher" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:contributor" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:date" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:resourceType" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:format" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:identifier" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:source" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:language" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:relation" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:coverage" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="dc:rights" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="true">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-
-   <!-- audit nodetypes -->
-
-   <nodeType name="exo:auditable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
-      <supertypes>
-         <supertype>mix:referenceable</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="exo:auditHistory" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
-            protected="true" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:auditRecord" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
-      <supertypes>
-         <supertype>nt:base</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="exo:user" requiredType="String" autoCreated="true" mandatory="true" onParentVersion="IGNORE" protected="true"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:created" requiredType="Date" autoCreated="true" mandatory="true" onParentVersion="IGNORE" protected="true"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:propertyName" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE"
-            protected="true" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:eventType" requiredType="Long" autoCreated="true" mandatory="true" onParentVersion="IGNORE" protected="true"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:auditVersion" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE"
-            protected="true" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:auditVersionName" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE"
-            protected="true" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:auditHistory" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
-      <supertypes>
-         <supertype>nt:base</supertype>
-         <supertype>mix:referenceable</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="exo:targetNode" requiredType="Reference" autoCreated="true" mandatory="true" onParentVersion="IGNORE"
-            protected="true" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:lastRecord" requiredType="String" autoCreated="true" mandatory="true" onParentVersion="IGNORE"
-            protected="true" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-      <childNodeDefinitions>
-         <childNodeDefinition name="*" defaultPrimaryType="exo:auditRecord" autoCreated="false" mandatory="false" onParentVersion="IGNORE"
-            protected="true" sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:auditRecord</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-      </childNodeDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:auditStorage" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
-      <supertypes>
-         <supertype>nt:base</supertype>
-      </supertypes>
-      <childNodeDefinitions>
-         <childNodeDefinition name="*" defaultPrimaryType="exo:auditHistory" autoCreated="false" mandatory="false" onParentVersion="VERSION"
-            protected="false" sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:auditHistory</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-      </childNodeDefinitions>
-   </nodeType>
-
-   <nodeType name="nt:resource" isMixin="false" hasOrderableChildNodes="false" primaryItemName="jcr:data">
-      <supertypes>
-         <supertype>nt:base</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="jcr:filename" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="jcr:encoding" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="jcr:mimeType" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="jcr:data" requiredType="Binary" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="jcr:lastModified" requiredType="Date" autoCreated="false" mandatory="true" onParentVersion="IGNORE"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:groovyResourceContainer" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
-      <supertypes>
-         <supertype>nt:resource</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="exo:autoload" requiredType="Boolean" autoCreated="false" mandatory="true" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-
-</nodeTypes>
\ No newline at end of file

Deleted: jcr/trunk/component/ext/src/main/java/conf/organization-nodetypes.xml
===================================================================
--- jcr/trunk/component/ext/src/main/java/conf/organization-nodetypes.xml	2009-10-21 08:41:00 UTC (rev 320)
+++ jcr/trunk/component/ext/src/main/java/conf/organization-nodetypes.xml	2009-10-21 09:18:35 UTC (rev 321)
@@ -1,237 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Copyright (C) 2009 eXo Platform SAS.
-
-    This is free software; you can redistribute it and/or modify it
-    under the terms of the GNU Lesser General Public License as
-    published by the Free Software Foundation; either version 2.1 of
-    the License, or (at your option) any later version.
-
-    This software is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-    Lesser General Public License for more details.
-
-    You should have received a copy of the GNU Lesser General Public
-    License along with this software; if not, write to the Free
-    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-    02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<nodeTypes xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
-
-   <!-- JCR Organization service -->
-
-   <nodeType name="exo:membershipType" isMixin="false" hasOrderableChildNodes="false" primaryItemName="exo:description">
-      <supertypes>
-         <supertype>nt:base</supertype>
-         <supertype>mix:referenceable</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="exo:description" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:userMembership" isMixin="false" hasOrderableChildNodes="false" primaryItemName="exo:group">
-      <supertypes>
-         <supertype>nt:base</supertype>
-         <supertype>mix:referenceable</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="exo:group" requiredType="Reference" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:membershipType" requiredType="Reference" autoCreated="false" mandatory="true" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-
-   <!-- profile attributes -->
-   <nodeType name="exo:profileAttributes" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
-      <supertypes>
-         <supertype>nt:base</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="*" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:userProfile" isMixin="false" hasOrderableChildNodes="false" primaryItemName="exo:attributes">
-      <supertypes>
-         <supertype>nt:unstructured</supertype>
-      </supertypes>
-      <childNodeDefinitions>
-         <childNodeDefinition name="exo:attributes" defaultPrimaryType="exo:profileAttributes" autoCreated="false" mandatory="true"
-            onParentVersion="COPY" protected="false" sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:profileAttributes</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-      </childNodeDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:user" isMixin="false" hasOrderableChildNodes="false" primaryItemName="exo:lastName">
-      <supertypes>
-         <supertype>nt:base</supertype>
-         <supertype>mix:referenceable</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="exo:firstName" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:lastName" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:password" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:email" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:createdDate" requiredType="Date" autoCreated="false" mandatory="true" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:lastLoginTime" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-      <childNodeDefinitions>
-         <childNodeDefinition name="exo:profile" defaultPrimaryType="exo:userProfile" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:userProfile</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-         <childNodeDefinition name="exo:membership" defaultPrimaryType="exo:userMembership" autoCreated="false" mandatory="false"
-            onParentVersion="COPY" protected="false" sameNameSiblings="true">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:userMembership</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-      </childNodeDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:group" isMixin="false" hasOrderableChildNodes="false" primaryItemName="exo:label">
-      <supertypes>
-         <supertype>nt:base</supertype>
-         <supertype>mix:referenceable</supertype>
-      </supertypes>
-      <propertyDefinitions>
-         <propertyDefinition name="exo:groupId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:parentId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:label" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-         <propertyDefinition name="exo:description" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:hierarchyGroup" isMixin="false" hasOrderableChildNodes="false">
-      <supertypes>
-         <supertype>exo:group</supertype>
-      </supertypes>
-      <childNodeDefinitions>
-         <childNodeDefinition name="*" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:group</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-      </childNodeDefinitions>
-   </nodeType>
-
-
-   <nodeType name="exo:organizationUsers" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
-      <supertypes>
-         <supertype>nt:base</supertype>
-      </supertypes>
-      <childNodeDefinitions>
-         <childNodeDefinition name="*" defaultPrimaryType="exo:user" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:user</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-      </childNodeDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:organizationGroups" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
-      <supertypes>
-         <supertype>nt:base</supertype>
-      </supertypes>
-      <childNodeDefinitions>
-         <childNodeDefinition name="*" defaultPrimaryType="exo:hierarchyGroup" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:group</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-      </childNodeDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:organizationMembershipTypes" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
-      <supertypes>
-         <supertype>nt:base</supertype>
-      </supertypes>
-      <childNodeDefinitions>
-         <childNodeDefinition name="*" defaultPrimaryType="exo:membershipType" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:membershipType</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-      </childNodeDefinitions>
-   </nodeType>
-
-   <nodeType name="exo:organizationStorage" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
-      <supertypes>
-         <supertype>nt:base</supertype>
-      </supertypes>
-      <childNodeDefinitions>
-         <childNodeDefinition name="exo:users" defaultPrimaryType="exo:organizationUsers" autoCreated="false" mandatory="true"
-            onParentVersion="COPY" protected="false" sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:organizationUsers</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-         <childNodeDefinition name="exo:groups" defaultPrimaryType="exo:organizationGroups" autoCreated="false" mandatory="true"
-            onParentVersion="COPY" protected="false" sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:organizationGroups</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-         <childNodeDefinition name="exo:membershipTypes" defaultPrimaryType="exo:organizationMembershipTypes" autoCreated="false" mandatory="true"
-            onParentVersion="COPY" protected="false" sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>exo:organizationMembershipTypes</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-      </childNodeDefinitions>
-   </nodeType>
-
-</nodeTypes>

Copied: jcr/trunk/component/ext/src/main/resources/conf/ext-nodetypes-config.xml (from rev 319, jcr/trunk/component/ext/src/main/java/conf/ext-nodetypes-config.xml)
===================================================================
--- jcr/trunk/component/ext/src/main/resources/conf/ext-nodetypes-config.xml	                        (rev 0)
+++ jcr/trunk/component/ext/src/main/resources/conf/ext-nodetypes-config.xml	2009-10-21 09:18:35 UTC (rev 321)
@@ -0,0 +1,230 @@
+<!--
+
+    Copyright (C) 2009 eXo Platform SAS.
+
+    This is free software; you can redistribute it and/or modify it
+    under the terms of the GNU Lesser General Public License as
+    published by the Free Software Foundation; either version 2.1 of
+    the License, or (at your option) any later version.
+
+    This software is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this software; if not, write to the Free
+    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+    02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<nodeTypes xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
+
+   <!-- metadata nodetypes -->
+   <nodeType name="exo:metadata" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <propertyDefinitions>
+         <propertyDefinition name="exo:internalUse" requiredType="Boolean" autoCreated="true" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+            <defaultValues>
+               <defaultValue>false</defaultValue>
+            </defaultValues>
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <!-- Dublin Core Metadata Elemet Set, Version 1.1  -->
+   <nodeType name="dc:elementSet" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>exo:metadata</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="dc:title" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:creator" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:subject" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:description" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:publisher" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:contributor" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:date" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:resourceType" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:format" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:identifier" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:source" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:language" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:relation" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:coverage" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="dc:rights" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="true">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <!-- audit nodetypes -->
+
+   <nodeType name="exo:auditable" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>mix:referenceable</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="exo:auditHistory" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="true" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:auditRecord" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>nt:base</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="exo:user" requiredType="String" autoCreated="true" mandatory="true" onParentVersion="IGNORE" protected="true"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:created" requiredType="Date" autoCreated="true" mandatory="true" onParentVersion="IGNORE" protected="true"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:propertyName" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE"
+            protected="true" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:eventType" requiredType="Long" autoCreated="true" mandatory="true" onParentVersion="IGNORE" protected="true"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:auditVersion" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE"
+            protected="true" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:auditVersionName" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE"
+            protected="true" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:auditHistory" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>nt:base</supertype>
+         <supertype>mix:referenceable</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="exo:targetNode" requiredType="Reference" autoCreated="true" mandatory="true" onParentVersion="IGNORE"
+            protected="true" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:lastRecord" requiredType="String" autoCreated="true" mandatory="true" onParentVersion="IGNORE"
+            protected="true" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+      <childNodeDefinitions>
+         <childNodeDefinition name="*" defaultPrimaryType="exo:auditRecord" autoCreated="false" mandatory="false" onParentVersion="IGNORE"
+            protected="true" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:auditRecord</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:auditStorage" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>nt:base</supertype>
+      </supertypes>
+      <childNodeDefinitions>
+         <childNodeDefinition name="*" defaultPrimaryType="exo:auditHistory" autoCreated="false" mandatory="false" onParentVersion="VERSION"
+            protected="false" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:auditHistory</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
+
+   <nodeType name="nt:resource" isMixin="false" hasOrderableChildNodes="false" primaryItemName="jcr:data">
+      <supertypes>
+         <supertype>nt:base</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="jcr:filename" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="jcr:encoding" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="jcr:mimeType" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="jcr:data" requiredType="Binary" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="jcr:lastModified" requiredType="Date" autoCreated="false" mandatory="true" onParentVersion="IGNORE"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:groovyResourceContainer" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>nt:resource</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="exo:autoload" requiredType="Boolean" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+</nodeTypes>
\ No newline at end of file

Copied: jcr/trunk/component/ext/src/main/resources/conf/organization-nodetypes.xml (from rev 319, jcr/trunk/component/ext/src/main/java/conf/organization-nodetypes.xml)
===================================================================
--- jcr/trunk/component/ext/src/main/resources/conf/organization-nodetypes.xml	                        (rev 0)
+++ jcr/trunk/component/ext/src/main/resources/conf/organization-nodetypes.xml	2009-10-21 09:18:35 UTC (rev 321)
@@ -0,0 +1,237 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright (C) 2009 eXo Platform SAS.
+
+    This is free software; you can redistribute it and/or modify it
+    under the terms of the GNU Lesser General Public License as
+    published by the Free Software Foundation; either version 2.1 of
+    the License, or (at your option) any later version.
+
+    This software is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this software; if not, write to the Free
+    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+    02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<nodeTypes xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
+
+   <!-- JCR Organization service -->
+
+   <nodeType name="exo:membershipType" isMixin="false" hasOrderableChildNodes="false" primaryItemName="exo:description">
+      <supertypes>
+         <supertype>nt:base</supertype>
+         <supertype>mix:referenceable</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="exo:description" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:userMembership" isMixin="false" hasOrderableChildNodes="false" primaryItemName="exo:group">
+      <supertypes>
+         <supertype>nt:base</supertype>
+         <supertype>mix:referenceable</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="exo:group" requiredType="Reference" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:membershipType" requiredType="Reference" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <!-- profile attributes -->
+   <nodeType name="exo:profileAttributes" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>nt:base</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="*" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:userProfile" isMixin="false" hasOrderableChildNodes="false" primaryItemName="exo:attributes">
+      <supertypes>
+         <supertype>nt:unstructured</supertype>
+      </supertypes>
+      <childNodeDefinitions>
+         <childNodeDefinition name="exo:attributes" defaultPrimaryType="exo:profileAttributes" autoCreated="false" mandatory="true"
+            onParentVersion="COPY" protected="false" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:profileAttributes</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:user" isMixin="false" hasOrderableChildNodes="false" primaryItemName="exo:lastName">
+      <supertypes>
+         <supertype>nt:base</supertype>
+         <supertype>mix:referenceable</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="exo:firstName" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:lastName" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:password" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:email" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:createdDate" requiredType="Date" autoCreated="false" mandatory="true" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:lastLoginTime" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+      <childNodeDefinitions>
+         <childNodeDefinition name="exo:profile" defaultPrimaryType="exo:userProfile" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:userProfile</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+         <childNodeDefinition name="exo:membership" defaultPrimaryType="exo:userMembership" autoCreated="false" mandatory="false"
+            onParentVersion="COPY" protected="false" sameNameSiblings="true">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:userMembership</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:group" isMixin="false" hasOrderableChildNodes="false" primaryItemName="exo:label">
+      <supertypes>
+         <supertype>nt:base</supertype>
+         <supertype>mix:referenceable</supertype>
+      </supertypes>
+      <propertyDefinitions>
+         <propertyDefinition name="exo:groupId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:parentId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:label" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+         <propertyDefinition name="exo:description" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:hierarchyGroup" isMixin="false" hasOrderableChildNodes="false">
+      <supertypes>
+         <supertype>exo:group</supertype>
+      </supertypes>
+      <childNodeDefinitions>
+         <childNodeDefinition name="*" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:group</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
+
+
+   <nodeType name="exo:organizationUsers" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
+      <supertypes>
+         <supertype>nt:base</supertype>
+      </supertypes>
+      <childNodeDefinitions>
+         <childNodeDefinition name="*" defaultPrimaryType="exo:user" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:user</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:organizationGroups" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
+      <supertypes>
+         <supertype>nt:base</supertype>
+      </supertypes>
+      <childNodeDefinitions>
+         <childNodeDefinition name="*" defaultPrimaryType="exo:hierarchyGroup" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:group</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:organizationMembershipTypes" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
+      <supertypes>
+         <supertype>nt:base</supertype>
+      </supertypes>
+      <childNodeDefinitions>
+         <childNodeDefinition name="*" defaultPrimaryType="exo:membershipType" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:membershipType</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
+
+   <nodeType name="exo:organizationStorage" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+      <supertypes>
+         <supertype>nt:base</supertype>
+      </supertypes>
+      <childNodeDefinitions>
+         <childNodeDefinition name="exo:users" defaultPrimaryType="exo:organizationUsers" autoCreated="false" mandatory="true"
+            onParentVersion="COPY" protected="false" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:organizationUsers</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+         <childNodeDefinition name="exo:groups" defaultPrimaryType="exo:organizationGroups" autoCreated="false" mandatory="true"
+            onParentVersion="COPY" protected="false" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:organizationGroups</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+         <childNodeDefinition name="exo:membershipTypes" defaultPrimaryType="exo:organizationMembershipTypes" autoCreated="false" mandatory="true"
+            onParentVersion="COPY" protected="false" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>exo:organizationMembershipTypes</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions>
+   </nodeType>
+
+</nodeTypes>

Copied: jcr/trunk/component/ext/src/main/resources/conf/portal (from rev 319, jcr/trunk/component/ext/src/main/java/conf/portal)

Modified: jcr/trunk/component/ext/src/test/java/org/exoplatform/services/jcr/ext/BaseStandaloneTest.java
===================================================================
--- jcr/trunk/component/ext/src/test/java/org/exoplatform/services/jcr/ext/BaseStandaloneTest.java	2009-10-21 08:41:00 UTC (rev 320)
+++ jcr/trunk/component/ext/src/test/java/org/exoplatform/services/jcr/ext/BaseStandaloneTest.java	2009-10-21 09:18:35 UTC (rev 321)
@@ -109,10 +109,11 @@
 
    public void setUp() throws Exception
    {
-      String containerConf = getClass().getResource("/conf/standalone/test-configuration.xml").toString();
+//      String containerConf = getClass().getResource("conf/standalone/test-configuration.xml").toString();
+      StandaloneContainer.addConfigurationPath("/conf/standalone/test-configuration.xml");
       String loginConf = Thread.currentThread().getContextClassLoader().getResource("login.conf").toString();
 
-      StandaloneContainer.addConfigurationURL(containerConf);
+//      StandaloneContainer.addConfigurationURL(containerConf);
       container = StandaloneContainer.getInstance();
 
       if (System.getProperty("java.security.auth.login.config") == null)

Copied: jcr/trunk/component/ext/src/test/resources/conf/standalone (from rev 319, jcr/trunk/component/ext/src/test/java/conf/standalone)

Deleted: jcr/trunk/component/ftp/src/main/java/conf/ftp-commands.xml
===================================================================
--- jcr/trunk/component/ftp/src/main/java/conf/ftp-commands.xml	2009-10-21 08:41:00 UTC (rev 320)
+++ jcr/trunk/component/ftp/src/main/java/conf/ftp-commands.xml	2009-10-21 09:18:35 UTC (rev 321)
@@ -1,48 +0,0 @@
-<!--
-
-    Copyright (C) 2009 eXo Platform SAS.
-
-    This is free software; you can redistribute it and/or modify it
-    under the terms of the GNU Lesser General Public License as
-    published by the Free Software Foundation; either version 2.1 of
-    the License, or (at your option) any later version.
-
-    This software is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-    Lesser General Public License for more details.
-
-    You should have received a copy of the GNU Lesser General Public
-    License along with this software; if not, write to the Free
-    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-    02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<catalog name="FTP">
-   <command name="CDUP" className="org.exoplatform.services.ftp.command.CmdCdUp" />
-   <command name="CWD" className="org.exoplatform.services.ftp.command.CmdCwd" />
-   <command name="DELE" className="org.exoplatform.services.ftp.command.CmdDele" />
-   <command name="HELP" className="org.exoplatform.services.ftp.command.CmdHelp" />
-   <command name="LIST" className="org.exoplatform.services.ftp.command.CmdList" />
-   <command name="MKD" className="org.exoplatform.services.ftp.command.CmdMkd" />
-   <command name="NLST" className="org.exoplatform.services.ftp.command.CmdNLst" />
-   <command name="NOOP" className="org.exoplatform.services.ftp.command.CmdNoop" />
-   <command name="PASS" className="org.exoplatform.services.ftp.command.CmdPass" />
-   <command name="PASV" className="org.exoplatform.services.ftp.command.CmdPasv" />
-   <command name="PORT" className="org.exoplatform.services.ftp.command.CmdPort" />
-   <command name="PWD" className="org.exoplatform.services.ftp.command.CmdPwd" />
-   <command name="QUIT" className="org.exoplatform.services.ftp.command.CmdQuit" />
-   <command name="REST" className="org.exoplatform.services.ftp.command.CmdRest" />
-   <command name="RETR" className="org.exoplatform.services.ftp.command.CmdRetr" />
-   <command name="RMD" className="org.exoplatform.services.ftp.command.CmdRmd" />
-   <command name="RNFR" className="org.exoplatform.services.ftp.command.CmdRnFr" />
-   <command name="RNTO" className="org.exoplatform.services.ftp.command.CmdRnTo" />
-   <command name="SIZE" className="org.exoplatform.services.ftp.command.CmdSize" />
-   <command name="STOR" className="org.exoplatform.services.ftp.command.CmdStor" />
-   <command name="SYST" className="org.exoplatform.services.ftp.command.CmdSyst" />
-   <command name="TYPE" className="org.exoplatform.services.ftp.command.CmdType" />
-   <command name="USER" className="org.exoplatform.services.ftp.command.CmdUser" />
-   <command name="MODE" className="org.exoplatform.services.ftp.command.CmdMode" />
-   <command name="STAT" className="org.exoplatform.services.ftp.command.CmdStat" />
-   <command name="STRU" className="org.exoplatform.services.ftp.command.CmdStru" />
-</catalog>

Deleted: jcr/trunk/component/ftp/src/main/java/conf/jcr-ftp-configuration.xml
===================================================================
--- jcr/trunk/component/ftp/src/main/java/conf/jcr-ftp-configuration.xml	2009-10-21 08:41:00 UTC (rev 320)
+++ jcr/trunk/component/ftp/src/main/java/conf/jcr-ftp-configuration.xml	2009-10-21 09:18:35 UTC (rev 321)
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-
-    Copyright (C) 2009 eXo Platform SAS.
-
-    This is free software; you can redistribute it and/or modify it
-    under the terms of the GNU Lesser General Public License as
-    published by the Free Software Foundation; either version 2.1 of
-    the License, or (at your option) any later version.
-
-    This software is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-    Lesser General Public License for more details.
-
-    You should have received a copy of the GNU Lesser General Public
-    License along with this software; if not, write to the Free
-    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-    02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<configuration>
-   <component>
-      <key>org.exoplatform.services.ftp.FtpServiceImpl</key>
-      <type>org.exoplatform.services.ftp.FtpServiceImpl</type>
-      <init-params>
-         <value-param>
-            <name>command-port</name>
-            <value>2121</value>
-         </value-param>
-         <value-param>
-            <name>data-min-port</name>
-            <value>52000</value>
-         </value-param>
-         <value-param>
-            <name>data-max-port</name>
-            <value>53000</value>
-         </value-param>
-         <value-param>
-            <name>system</name>
-            <!--				<value>Windows_NT</value>-->
-            <value>UNIX Type: L8</value>
-         </value-param>
-         <value-param>
-            <name>client-side-encoding</name>
-            <value>windows-1251</value>
-            <!--				<value>KOI8-R</value>-->
-         </value-param>
-         <value-param>
-            <name>def-folder-node-type</name>
-            <value>nt:folder</value>
-         </value-param>
-         <value-param>
-            <name>def-file-node-type</name>
-            <value>nt:file</value>
-         </value-param>
-         <value-param>
-            <name>def-file-mime-type</name>
-            <value>application/octet-stream</value>
-         </value-param>
-         <value-param>
-            <name>cache-folder-name</name>
-            <value>../temp/ftp_cache</value>
-         </value-param>
-         <!--      <bytes per second>-->
-         <!--			<value-param>-->
-         <!--				<name>upload-speed-limit</name>-->
-         <!--				<value>20480</value>-->
-         <!--			</value-param>-->
-
-         <!--			<bytes per second>-->
-         <!--			<value-param>-->
-         <!--				<name>download-speed-limit</name>-->
-         <!--				<value>20480</value>-->
-         <!--			</value-param>-->
-
-         <!--			<seconds>-->
-         <!--			<value-param>-->
-         <!--				<name>timeout</name>-->
-         <!--				<value>60</value>-->
-         <!--			</value-param>-->
-      </init-params>
-   </component>
-</configuration>
\ No newline at end of file

Copied: jcr/trunk/component/ftp/src/main/resources/conf/ftp-commands.xml (from rev 319, jcr/trunk/component/ftp/src/main/java/conf/ftp-commands.xml)
===================================================================
--- jcr/trunk/component/ftp/src/main/resources/conf/ftp-commands.xml	                        (rev 0)
+++ jcr/trunk/component/ftp/src/main/resources/conf/ftp-commands.xml	2009-10-21 09:18:35 UTC (rev 321)
@@ -0,0 +1,48 @@
+<!--
+
+    Copyright (C) 2009 eXo Platform SAS.
+
+    This is free software; you can redistribute it and/or modify it
+    under the terms of the GNU Lesser General Public License as
+    published by the Free Software Foundation; either version 2.1 of
+    the License, or (at your option) any later version.
+
+    This software is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this software; if not, write to the Free
+    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+    02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<catalog name="FTP">
+   <command name="CDUP" className="org.exoplatform.services.ftp.command.CmdCdUp" />
+   <command name="CWD" className="org.exoplatform.services.ftp.command.CmdCwd" />
+   <command name="DELE" className="org.exoplatform.services.ftp.command.CmdDele" />
+   <command name="HELP" className="org.exoplatform.services.ftp.command.CmdHelp" />
+   <command name="LIST" className="org.exoplatform.services.ftp.command.CmdList" />
+   <command name="MKD" className="org.exoplatform.services.ftp.command.CmdMkd" />
+   <command name="NLST" className="org.exoplatform.services.ftp.command.CmdNLst" />
+   <command name="NOOP" className="org.exoplatform.services.ftp.command.CmdNoop" />
+   <command name="PASS" className="org.exoplatform.services.ftp.command.CmdPass" />
+   <command name="PASV" className="org.exoplatform.services.ftp.command.CmdPasv" />
+   <command name="PORT" className="org.exoplatform.services.ftp.command.CmdPort" />
+   <command name="PWD" className="org.exoplatform.services.ftp.command.CmdPwd" />
+   <command name="QUIT" className="org.exoplatform.services.ftp.command.CmdQuit" />
+   <command name="REST" className="org.exoplatform.services.ftp.command.CmdRest" />
+   <command name="RETR" className="org.exoplatform.services.ftp.command.CmdRetr" />
+   <command name="RMD" className="org.exoplatform.services.ftp.command.CmdRmd" />
+   <command name="RNFR" className="org.exoplatform.services.ftp.command.CmdRnFr" />
+   <command name="RNTO" className="org.exoplatform.services.ftp.command.CmdRnTo" />
+   <command name="SIZE" className="org.exoplatform.services.ftp.command.CmdSize" />
+   <command name="STOR" className="org.exoplatform.services.ftp.command.CmdStor" />
+   <command name="SYST" className="org.exoplatform.services.ftp.command.CmdSyst" />
+   <command name="TYPE" className="org.exoplatform.services.ftp.command.CmdType" />
+   <command name="USER" className="org.exoplatform.services.ftp.command.CmdUser" />
+   <command name="MODE" className="org.exoplatform.services.ftp.command.CmdMode" />
+   <command name="STAT" className="org.exoplatform.services.ftp.command.CmdStat" />
+   <command name="STRU" className="org.exoplatform.services.ftp.command.CmdStru" />
+</catalog>

Copied: jcr/trunk/component/ftp/src/main/resources/conf/jcr-ftp-configuration.xml (from rev 319, jcr/trunk/component/ftp/src/main/java/conf/jcr-ftp-configuration.xml)
===================================================================
--- jcr/trunk/component/ftp/src/main/resources/conf/jcr-ftp-configuration.xml	                        (rev 0)
+++ jcr/trunk/component/ftp/src/main/resources/conf/jcr-ftp-configuration.xml	2009-10-21 09:18:35 UTC (rev 321)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+    Copyright (C) 2009 eXo Platform SAS.
+
+    This is free software; you can redistribute it and/or modify it
+    under the terms of the GNU Lesser General Public License as
+    published by the Free Software Foundation; either version 2.1 of
+    the License, or (at your option) any later version.
+
+    This software is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this software; if not, write to the Free
+    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+    02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<configuration>
+   <component>
+      <key>org.exoplatform.services.ftp.FtpServiceImpl</key>
+      <type>org.exoplatform.services.ftp.FtpServiceImpl</type>
+      <init-params>
+         <value-param>
+            <name>command-port</name>
+            <value>2121</value>
+         </value-param>
+         <value-param>
+            <name>data-min-port</name>
+            <value>52000</value>
+         </value-param>
+         <value-param>
+            <name>data-max-port</name>
+            <value>53000</value>
+         </value-param>
+         <value-param>
+            <name>system</name>
+            <!--				<value>Windows_NT</value>-->
+            <value>UNIX Type: L8</value>
+         </value-param>
+         <value-param>
+            <name>client-side-encoding</name>
+            <value>windows-1251</value>
+            <!--				<value>KOI8-R</value>-->
+         </value-param>
+         <value-param>
+            <name>def-folder-node-type</name>
+            <value>nt:folder</value>
+         </value-param>
+         <value-param>
+            <name>def-file-node-type</name>
+            <value>nt:file</value>
+         </value-param>
+         <value-param>
+            <name>def-file-mime-type</name>
+            <value>application/octet-stream</value>
+         </value-param>
+         <value-param>
+            <name>cache-folder-name</name>
+            <value>../temp/ftp_cache</value>
+         </value-param>
+         <!--      <bytes per second>-->
+         <!--			<value-param>-->
+         <!--				<name>upload-speed-limit</name>-->
+         <!--				<value>20480</value>-->
+         <!--			</value-param>-->
+
+         <!--			<bytes per second>-->
+         <!--			<value-param>-->
+         <!--				<name>download-speed-limit</name>-->
+         <!--				<value>20480</value>-->
+         <!--			</value-param>-->
+
+         <!--			<seconds>-->
+         <!--			<value-param>-->
+         <!--				<name>timeout</name>-->
+         <!--				<value>60</value>-->
+         <!--			</value-param>-->
+      </init-params>
+   </component>
+</configuration>
\ No newline at end of file

Copied: jcr/trunk/component/ftp/src/test/resources/conf/standalone (from rev 319, jcr/trunk/component/ftp/src/test/java/conf/standalone)

Deleted: jcr/trunk/component/webdav/src/main/java/conf/webdav-nodetypes.xml
===================================================================
--- jcr/trunk/component/webdav/src/main/java/conf/webdav-nodetypes.xml	2009-10-21 08:41:00 UTC (rev 320)
+++ jcr/trunk/component/webdav/src/main/java/conf/webdav-nodetypes.xml	2009-10-21 09:18:35 UTC (rev 321)
@@ -1,133 +0,0 @@
-<!--
-
-    Copyright (C) 2009 eXo Platform SAS.
-
-    This is free software; you can redistribute it and/or modify it
-    under the terms of the GNU Lesser General Public License as
-    published by the Free Software Foundation; either version 2.1 of
-    the License, or (at your option) any later version.
-
-    This software is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-    Lesser General Public License for more details.
-
-    You should have received a copy of the GNU Lesser General Public
-    License along with this software; if not, write to the Free
-    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-    02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<nodeTypes xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0">
-
-   <nodeType name="webdav:folder" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
-
-      <supertypes>
-         <supertype>nt:folder</supertype>
-         <supertype>mix:referenceable</supertype>
-      </supertypes>
-
-      <propertyDefinitions>
-         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-
-   </nodeType>
-
-   <nodeType name="webdav:file" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
-
-      <supertypes>
-         <supertype>nt:file</supertype>
-         <supertype>mix:referenceable</supertype>
-      </supertypes>
-
-      <propertyDefinitions>
-         <propertyDefinition name="webdav:Author" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
-            protected="false" multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-
-   </nodeType>
-
-   <nodeType name="webdav:badres" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
-
-      <supertypes>
-         <supertype>nt:base</supertype>
-         <supertype>mix:referenceable</supertype>
-      </supertypes>
-
-      <propertyDefinitions>
-         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-
-   </nodeType>
-
-   <nodeType name="webdav:goodres" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
-
-      <supertypes>
-         <supertype>nt:resource</supertype>
-         <supertype>mix:referenceable</supertype>
-      </supertypes>
-
-      <propertyDefinitions>
-         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-
-   </nodeType>
-
-   <nodeType name="mix:wdTestMixin1" isMixin="true" hasOrderableChildNodes="true" primaryItemName="">
-
-      <propertyDefinitions>
-         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-
-   </nodeType>
-
-   <nodeType name="mix:wdTestMixin2" isMixin="true" hasOrderableChildNodes="true" primaryItemName="">
-
-      <propertyDefinitions>
-         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-
-   </nodeType>
-
-
-   <nodeType name="exo:testResource" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
-
-      <supertypes>
-         <supertype>nt:resource</supertype>
-         <supertype>nt:unstructured</supertype>
-      </supertypes>
-      <!-- propertyDefinitions>
-         <propertyDefinition name="*" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE" protected="false"
-            multiple="false">
-            <valueConstraints />
-         </propertyDefinition>
-      </propertyDefinitions>
-      <childNodeDefinitions>
-         <childNodeDefinition name="*" defaultPrimaryType="nt:unstructured" autoCreated="false" mandatory="false" onParentVersion="IGNORE"
-            protected="false" sameNameSiblings="false">
-            <requiredPrimaryTypes>
-               <requiredPrimaryType>nt:unstructured</requiredPrimaryType>
-            </requiredPrimaryTypes>
-         </childNodeDefinition>
-      </childNodeDefinitions -->
-   </nodeType>
-
-</nodeTypes>
-

Copied: jcr/trunk/component/webdav/src/main/resources/conf/portal (from rev 319, jcr/trunk/component/webdav/src/main/java/conf/portal)

Copied: jcr/trunk/component/webdav/src/main/resources/conf/webdav-nodetypes.xml (from rev 319, jcr/trunk/component/webdav/src/main/java/conf/webdav-nodetypes.xml)
===================================================================
--- jcr/trunk/component/webdav/src/main/resources/conf/webdav-nodetypes.xml	                        (rev 0)
+++ jcr/trunk/component/webdav/src/main/resources/conf/webdav-nodetypes.xml	2009-10-21 09:18:35 UTC (rev 321)
@@ -0,0 +1,133 @@
+<!--
+
+    Copyright (C) 2009 eXo Platform SAS.
+
+    This is free software; you can redistribute it and/or modify it
+    under the terms of the GNU Lesser General Public License as
+    published by the Free Software Foundation; either version 2.1 of
+    the License, or (at your option) any later version.
+
+    This software is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this software; if not, write to the Free
+    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+    02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<nodeTypes xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0">
+
+   <nodeType name="webdav:folder" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
+
+      <supertypes>
+         <supertype>nt:folder</supertype>
+         <supertype>mix:referenceable</supertype>
+      </supertypes>
+
+      <propertyDefinitions>
+         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+
+   </nodeType>
+
+   <nodeType name="webdav:file" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+
+      <supertypes>
+         <supertype>nt:file</supertype>
+         <supertype>mix:referenceable</supertype>
+      </supertypes>
+
+      <propertyDefinitions>
+         <propertyDefinition name="webdav:Author" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
+            protected="false" multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+
+   </nodeType>
+
+   <nodeType name="webdav:badres" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
+
+      <supertypes>
+         <supertype>nt:base</supertype>
+         <supertype>mix:referenceable</supertype>
+      </supertypes>
+
+      <propertyDefinitions>
+         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+
+   </nodeType>
+
+   <nodeType name="webdav:goodres" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
+
+      <supertypes>
+         <supertype>nt:resource</supertype>
+         <supertype>mix:referenceable</supertype>
+      </supertypes>
+
+      <propertyDefinitions>
+         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+
+   </nodeType>
+
+   <nodeType name="mix:wdTestMixin1" isMixin="true" hasOrderableChildNodes="true" primaryItemName="">
+
+      <propertyDefinitions>
+         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+
+   </nodeType>
+
+   <nodeType name="mix:wdTestMixin2" isMixin="true" hasOrderableChildNodes="true" primaryItemName="">
+
+      <propertyDefinitions>
+         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+
+   </nodeType>
+
+
+   <nodeType name="exo:testResource" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
+
+      <supertypes>
+         <supertype>nt:resource</supertype>
+         <supertype>nt:unstructured</supertype>
+      </supertypes>
+      <!-- propertyDefinitions>
+         <propertyDefinition name="*" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE" protected="false"
+            multiple="false">
+            <valueConstraints />
+         </propertyDefinition>
+      </propertyDefinitions>
+      <childNodeDefinitions>
+         <childNodeDefinition name="*" defaultPrimaryType="nt:unstructured" autoCreated="false" mandatory="false" onParentVersion="IGNORE"
+            protected="false" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+               <requiredPrimaryType>nt:unstructured</requiredPrimaryType>
+            </requiredPrimaryTypes>
+         </childNodeDefinition>
+      </childNodeDefinitions -->
+   </nodeType>
+
+</nodeTypes>
+

Copied: jcr/trunk/component/webdav/src/test/resources/conf/standalone (from rev 319, jcr/trunk/component/webdav/src/test/java/conf/standalone)

Added: jcr/trunk/component/webdav/src/test/resources/login.conf
===================================================================
--- jcr/trunk/component/webdav/src/test/resources/login.conf	                        (rev 0)
+++ jcr/trunk/component/webdav/src/test/resources/login.conf	2009-10-21 09:18:35 UTC (rev 321)
@@ -0,0 +1,3 @@
+exo-domain {
+  org.exoplatform.services.security.jaas.DefaultLoginModule required;
+};
\ No newline at end of file

Copied: jcr/trunk/frameworks/command/src/main/resources/conf (from rev 319, jcr/trunk/frameworks/command/src/main/java/conf)

Copied: jcr/trunk/frameworks/command/src/test/resources/conf/standalone (from rev 319, jcr/trunk/frameworks/command/src/test/java/conf/standalone)



More information about the exo-jcr-commits mailing list