]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.jcr/src/test/resources/org/argeo/slc/jcr/dao/applicationContext.xml
Move GIS to commons
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.jcr / src / test / resources / org / argeo / slc / jcr / dao / applicationContext.xml
index c70a2a9a42ac560f62d4f2d3eb64fb29d7a2ba55..3a3b1cdfc7d8428f6c3158d4fa16ce7001ece754 100644 (file)
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+\r
+    Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>\r
+\r
+    Licensed under the Apache License, Version 2.0 (the "License");\r
+    you may not use this file except in compliance with the License.\r
+    You may obtain a copy of the License at\r
+\r
+            http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+    Unless required by applicable law or agreed to in writing, software\r
+    distributed under the License is distributed on an "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+    See the License for the specific language governing permissions and\r
+    limitations under the License.\r
+\r
+-->\r
+\r
 <beans xmlns="http://www.springframework.org/schema/beans"\r
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
                </constructor-arg>\r
        </bean>\r
 \r
-       <bean id="argeo.jcr.repository.inMemory" class="org.argeo.server.jackrabbit.JackrabbitContainer">\r
-               <property name="homeDirectory" value="${java.io.tmpdir}/jackrabbit-slc-unit" />\r
+       <bean id="argeo.jcr.repository.inMemory" class="org.argeo.jackrabbit.JackrabbitContainer">\r
+               <property name="homeDirectory"\r
+                       value="${java.io.tmpdir}/jackrabbit-slc-unit-${user.name}" />\r
+               <property name="inMemory" value="true" />\r
                <property name="configuration"\r
-                       value="classpath:/org/argeo/server/jackrabbit/repository-inMemory.xml" />\r
+                       value="classpath:/org/argeo/jackrabbit/repository-inMemory.xml" />\r
        </bean>\r
 \r
 </beans>
\ No newline at end of file