jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r358296 [5/5] - in /incubator/jackrabbit/trunk/contrib/classloader: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/jackrabbit/ src/main/java/org/apache/jackrabbit/classloader/ src/main...
Date Wed, 21 Dec 2005 14:14:24 GMT
Added: incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/preload.properties
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/preload.properties?rev=358296&view=auto
==============================================================================
--- incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/preload.properties (added)
+++ incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/preload.properties Wed
Dec 21 06:13:56 2005
@@ -0,0 +1,79 @@
+#
+# Properties file to preload the MockRepository with content.
+# Each session created by the MockRepository upon calling login
+# reads this file to define a structure of content.
+#
+# Each property in this file defines a single item. The name
+# of the property is the absolute path to the item defined.
+# Order of the definitions in this file is relevant in that
+# intermediate nodes are automatically defined as
+# nt:unstructured nodes and may not be redefined later.
+#
+# The value of each property is a series of comma-separated
+# fields. The first field must either be "n" to indicate a
+# Node or "p" to indicate a Property. Any other values results
+# in the property being ignored for item creation. The remaining
+# fields depend on whether a Node or Property is defined.
+#
+# For nodes the fields are:
+#   1  -  "n" to indicate the definition of a Node
+#   2  -  The name of the node type, may be any string not
+#         not containing a comma. The default value is
+#         "nt:unstructured"
+#   3  -  The name of the primary item. This may be missing
+#         in which case there is no primary item or a well
+#         known default value is used. For nt:file typed
+#         nodes, the default is "jcr:content" for nt:resource
+#         typed nodes, the default is "jcr:data"
+#
+# For Properties the fields are:
+#   1  -  "p" to indicate the definition of a Property
+#   2  -  The name of the property type. This must be one
+#         of the type names defined in the PropertyType
+#         class. If empty or or unknown, "String" is used
+#         as the default.
+#   3  -  The value of the property to the defined. The
+#         value must be acceptable for the
+#         ValueFactory.createValue(int type, String value)
+#         method. If empty or missing, an empty string is
+#         used as the property value, which may not be
+#         acceptable for all property types.
+#
+# Property values (last field in the property definition) may
+# span multiple lines. Each line must be terminated with the
+# backslash character indicating the continuation of the line on
+# the next line of file.
+
+/node1 = n,nt:folder
+/node2 = n,nt:folder
+/node3 = n,nt:folder
+
+/node1/file1 = n,nt:file
+/node1/file1/jcr:content = n,nt:resource
+/node1/file1/jcr:content/jcr:data = p,Binary,This is the contents of file1\
+This line continues\
+and even more
+/node1/file1/jcr:content/jcr:lastModified = p,Date,2005-04-22T12:35:27.000Z
+/node1/file1/jcr:content/jcr:mimeType = p,String,text/plain
+
+/node1/file2 = n,nt:file
+/node1/file2/jcr:content = n,nt:resource
+/node1/file2/jcr:content/jcr:lastModified = p,Date,1966-12-26T22:15:00.000Z
+/node1/file2/jcr:content/jcr:mimeType = p,String,text/plain
+/node1/file2/jcr:content/jcr:data = p,Binary,This is the contents of file1\
+This line continues\
+and even more
+
+/node1/file3 = n,nt:file
+/node1/file3/jcr:content = n,nt:resource
+/node1/file3/jcr:content/jcr:lastModified = p,Date,1966-12-26T22:15:00.000Z
+/node1/file3/jcr:content/jcr:mimeType = p,String,text/plain
+/node1/file3/jcr:content/jcr:data = p,Binary,This is the contents of file1\n\
+This line continues\n\
+and even more\
+
+/node1/file4 = n,nt:file,classpath:/preload.properties
+/node1/ReadMe.txt = n,nt:file,file:///s:/src/test/ReadMe.txt
+/node1/mock.jar = n,nt:file,classpath:/mock.jar
+
+/node1/classes/org/apache/jackrabbit/classloader/Util.class = n,nt:file,classpath:/org/apache/jackrabbit/classloader/Util.class

Propchange: incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/preload.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/readme.txt
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/readme.txt?rev=358296&view=auto
==============================================================================
--- incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/readme.txt (added)
+++ incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/readme.txt Wed Dec 21
06:13:56 2005
@@ -0,0 +1 @@
+Some ReadMe Text
\ No newline at end of file

Propchange: incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/repository.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/repository.xml?rev=358296&view=auto
==============================================================================
--- incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/repository.xml (added)
+++ incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/repository.xml Wed Dec
21 06:13:56 2005
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<Repository>
+    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+        <param name="path" value="${rep.home}/repository"/>
+    </FileSystem>
+
+    <Security appName="Jackrabbit">
+        <AccessManager class="org.apache.jackrabbit.core.security.SimpleAccessManager"
/>
+        <LoginModule class="org.apache.jackrabbit.core.security.SimpleLoginModule">
+           <param name="anonymousId" value="anonymous"/>
+        </LoginModule>
+    </Security>
+
+    <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default"/>
+    <Workspace name="${wsp.name}">
+        <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+            <param name="path" value="${wsp.home}"/>
+        </FileSystem>
+        <PersistenceManager class="org.apache.jackrabbit.core.state.obj.ObjectPersistenceManager"/>
+        <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
+            <param name="path" value="${wsp.home}/index"/>
+        </SearchIndex>
+    </Workspace>
+
+    <Versioning rootPath="${rep.home}/version">
+        <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+            <param name="path" value="${rep.home}/version"/>
+        </FileSystem>
+        <PersistenceManager class="org.apache.jackrabbit.core.state.obj.ObjectPersistenceManager"/>
+    </Versioning>
+
+    <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
+        <param name="path" value="${rep.home}/repository/index"/>
+    </SearchIndex>
+</Repository>

Propchange: incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/repository.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/test1.txt
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/test1.txt?rev=358296&view=auto
==============================================================================
--- incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/test1.txt (added)
+++ incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/test1.txt Wed Dec 21
06:13:56 2005
@@ -0,0 +1 @@
+Some Test for test1.doc
\ No newline at end of file

Propchange: incubator/jackrabbit/trunk/contrib/classloader/src/test/resources/test1.txt
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message