jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r535958 - in /jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping: ./ src/docbook/ src/java/ src/main/ src/main/java/ src/test-config/ src/test-data/ src/test/java/ src/test/java/org/ src/test/java/org/apache/portals/graffito/jcr/ s...
Date Mon, 07 May 2007 19:23:29 GMT
Author: clombart
Date: Mon May  7 12:23:28 2007
New Revision: 535958

URL: http://svn.apache.org/viewvc?view=rev&rev=535958
Log:
Upgrade to Maven 2 (see issue JCR-865)

Added:
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/pom.xml
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/main/
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/main/java/
      - copied from r534987, jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/java/
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/
      - copied from r534987, jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/org/
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/test-config/
      - copied from r534987, jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test-config/
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/test-data/
      - copied from r534987, jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test-data/
Removed:
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/CHANGES
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/locator.ent
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/locator.path
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/maven.xml
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/project.properties
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/project.xml
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/docbook/
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/java/
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test-config/
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test-data/
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/org/
Modified:
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/RepositoryLifecycleTestSetup.java
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/TestBase.java
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/mapper/DigesterMapperImplTest.java
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/auto/PersistenceManagerAutoTest.java
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerAvoidRecursiveLoopTest.java
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerSameNameSiblingTest.java
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java

Added: jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/pom.xml?view=auto&rev=535958
==============================================================================
--- jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/pom.xml (added)
+++ jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/pom.xml Mon May  7 12:23:28
2007
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You 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.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+                             http://maven.apache.org/maven-v4_0_0.xsd ">
+  <modelVersion>4.0.0</modelVersion>
+
+  <!-- ====================================================================== -->
+  <!-- P R O J E C T  D E S C R I P T I O N                                   -->
+  <!-- ====================================================================== -->
+  <artifactId>jackrabbit-ocm</artifactId>
+  <groupId>org.apache.jackrabbit</groupId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>Jackrabbit Object Content Maping</name>
+  <description>This Jackrabbit subproject is an object/JCR persistence and query service.
This tools lets you to persist java objects into a JCR compliant repository - including association,
inheritance, polymorphism, composition, and the Java collections framework. Furthermore, this
jcr-mapping allows you to express queries in Java-based Criteria, as well as in JCR query
language. It offers also features like version support and object locking.</description>
+  <inceptionYear>2007</inceptionYear>
+
+  <!-- ====================================================================== -->
+  <!-- D E P E N D E N C I E S                                                -->
+  <!-- ====================================================================== -->
+  <dependencies>
+      <dependency>
+	<groupId>javax.jcr</groupId>
+	<artifactId>jcr</artifactId>
+	<version>1.0</version>
+      </dependency>
+
+    <dependency>
+      <groupId>org.apache.jackrabbit</groupId>
+      <artifactId>jackrabbit-api</artifactId>
+      <version>1.4-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+	    <groupId>org.apache.jackrabbit</groupId>
+	    <artifactId>jackrabbit-core</artifactId>
+	    <version>1.4-SNAPSHOT</version>
+    </dependency>    
+    <dependency>
+      <groupId>org.apache.jackrabbit</groupId>
+      <artifactId>jackrabbit-jcr-commons</artifactId>
+      <version>1.4-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+	    <groupId>org.apache.lucene</groupId>
+	    <artifactId>lucene-core</artifactId>
+	    <version>2.0.0</version>
+      </dependency>
+    <dependency>
+	    <groupId>commons-collections</groupId>
+	    <artifactId>commons-collections</artifactId>
+	    <version>3.1</version>
+    </dependency>
+    <dependency>
+	    <groupId>commons-beanutils</groupId>	    
+	    <artifactId>commons-beanutils</artifactId>
+	    <version>1.7.0</version>
+    </dependency>    
+    <dependency>
+	    <groupId>commons-digester</groupId>
+	    <artifactId>commons-digester</artifactId>
+	    <version>1.7</version>	    
+    </dependency>
+    <dependency>
+	    <groupId>commons-logging</groupId>
+	    <artifactId>commons-logging</artifactId>	    
+	    <version>1.0.2</version>	    
+    </dependency>
+    <dependency>
+	    <groupId>commons-lang</groupId>
+	    <artifactId>commons-lang</artifactId>
+	    <version>2.1</version>
+    </dependency>    
+    <dependency>
+	    <groupId>log4j</groupId>
+	    <artifactId>log4j</artifactId>
+	    <version>1.2.8</version>	   
+    </dependency>
+    <dependency>
+	    <groupId>cglib</groupId>
+	    <artifactId>cglib-full</artifactId>
+	    <version>2.0.2</version>
+    </dependency>
+    <dependency>
+	    <groupId>org.slf4j</groupId>
+	    <artifactId>slf4j-log4j12</artifactId>
+	    <version>1.0</version>
+
+    </dependency>
+
+    <!-- Test -->
+    <dependency>
+	    <groupId>geronimo-spec</groupId>
+	    <artifactId>geronimo-spec-jta</artifactId>
+	    <version>1.0-M1</version>
+	    <scope>test</scope>
+    </dependency>
+    <dependency>
+	    <groupId>xerces</groupId>
+	    <artifactId>xercesImpl</artifactId>
+	    <version>2.6.2</version>
+	    <scope>test</scope>
+    </dependency>
+    <dependency>
+	    <groupId>xerces</groupId>
+	    <artifactId>xmlParserAPIs</artifactId>
+	    <version>2.0.2</version>
+	    <scope>test</scope>
+    </dependency>
+    <dependency>
+	    <groupId>org.apache.derby</groupId>
+	    <artifactId>derby</artifactId>
+	    <version>10.1.1.0</version>
+	    <scope>test</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>    
+  </dependencies>
+
+  <!-- ====================================================================== -->
+  <!-- B U I L D                                                              -->
+  <!-- ====================================================================== -->
+  <!-- build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>**</exclude>
+          </excludes>
+          <forkMode>once</forkMode>
+          <argLine>-Xmx128m -enableassertions</argLine>
+        </configuration>
+        <executions>
+          <execution>
+            <id>do_test</id>
+            <configuration>
+              <includes>
+                <include>**/*TestAll.java</include>
+              </includes>
+            </configuration>
+            <goals>
+              <goal>test</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build -->
+
+</project>

Modified: jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/RepositoryLifecycleTestSetup.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/RepositoryLifecycleTestSetup.java?view=diff&rev=535958&r1=534987&r2=535958
==============================================================================
--- jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/RepositoryLifecycleTestSetup.java
(original)
+++ jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/RepositoryLifecycleTestSetup.java
Mon May  7 12:23:28 2007
@@ -37,7 +37,7 @@
         super.setUp();
         System.out.println("registering repository ... ");
         RepositoryUtil.registerRepository("repositoryTest", 
-                "./src/test-config/repository-derby.xml", "./target/repository");
+                "./src/test/test-config/repository-derby.xml", "./target/repository");
     }
 
     /**

Modified: jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/TestBase.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/TestBase.java?view=diff&rev=535958&r1=534987&r2=535958
==============================================================================
--- jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/TestBase.java
(original)
+++ jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/TestBase.java
Mon May  7 12:23:28 2007
@@ -167,7 +167,7 @@
     protected void registerNodeTypes(Session session) 
     throws InvalidNodeTypeDefException, javax.jcr.RepositoryException, IOException {
         InputStream xml = new FileInputStream(
-                "./src/test-config/nodetypes/custom_nodetypes.xml");
+                "./src/test/test-config/nodetypes/custom_nodetypes.xml");
 
         // HINT: throws InvalidNodeTypeDefException, IOException
         NodeTypeDef[] types = NodeTypeReader.read(xml);
@@ -193,13 +193,13 @@
 	protected void initPersistenceManager() throws UnsupportedRepositoryOperationException,
javax.jcr.RepositoryException
 	{
 		Repository repository = RepositoryUtil.getRepository("repositoryTest");
-		String[] files = { "./src/test-config/jcrmapping.xml", 
-						   "./src/test-config/jcrmapping-proxy.xml",
-                           "./src/test-config/jcrmapping-atomic.xml",
-                           "./src/test-config/jcrmapping-beandescriptor.xml",
-                           "./src/test-config/jcrmapping-inheritance.xml",
-                           "./src/test-config/jcrmapping-jcrnodetypes.xml", 
-                           "./src/test-config/jcrmapping-uuid.xml"};
+		String[] files = { "./src/test/test-config/jcrmapping.xml", 
+						   "./src/test/test-config/jcrmapping-proxy.xml",
+                           "./src/test/test-config/jcrmapping-atomic.xml",
+                           "./src/test/test-config/jcrmapping-beandescriptor.xml",
+                           "./src/test/test-config/jcrmapping-inheritance.xml",
+                           "./src/test/test-config/jcrmapping-jcrnodetypes.xml", 
+                           "./src/test/test-config/jcrmapping-uuid.xml"};
 		session = RepositoryUtil.login(repository, "superuser", "superuser");
 		persistenceManager = new PersistenceManagerImpl(session, files);
 		

Modified: jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/mapper/DigesterMapperImplTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/mapper/DigesterMapperImplTest.java?view=diff&rev=535958&r1=534987&r2=535958
==============================================================================
--- jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/mapper/DigesterMapperImplTest.java
(original)
+++ jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/mapper/DigesterMapperImplTest.java
Mon May  7 12:23:28 2007
@@ -70,7 +70,7 @@
 		try {
 
 			Mapper mapper = new DigesterMapperImpl(
-					"./src/test-config/jcrmapping-testdigester.xml");
+					"./src/test/test-config/jcrmapping-testdigester.xml");
 					
 			assertNotNull("Mapper is null", mapper);
 
@@ -107,7 +107,7 @@
 		try {
 
 			Mapper mapper = new DigesterMapperImpl(
-					"./src/test-config/jcrmapping-testdigester.xml");
+					"./src/test/test-config/jcrmapping-testdigester.xml");
 					
 			assertNotNull("Mapper is null", mapper);
 
@@ -128,7 +128,7 @@
 	public void testDiscriminatorSetting() {
 		try {
 
-			Mapper mapper = new DigesterMapperImpl("./src/test-config/jcrmapping-testdigester.xml");
+			Mapper mapper = new DigesterMapperImpl("./src/test/test-config/jcrmapping-testdigester.xml");
 
 			assertNotNull("Mapper is null", mapper);
 
@@ -149,8 +149,8 @@
 	public void testMapperOptionalProperties() {
 		try {
 
-			String[] files = { "./src/test-config/jcrmapping.xml",
-					           "./src/test-config/jcrmapping-jcrnodetypes.xml"};			
+			String[] files = { "./src/test/test-config/jcrmapping.xml",
+					           "./src/test/test-config/jcrmapping-jcrnodetypes.xml"};			
 
 			Mapper mapper = new DigesterMapperImpl(files);
 			
@@ -234,10 +234,10 @@
 	 */
 	public void testMapperNtHierarchy() {
 		try {
-			String[] files = { "./src/test-config/jcrmapping.xml",
-					"./src/test-config/jcrmapping-atomic.xml",
-					"./src/test-config/jcrmapping-beandescriptor.xml",
-					"./src/test-config/jcrmapping-inheritance.xml" };			
+			String[] files = { "./src/test/test-config/jcrmapping.xml",
+					"./src/test/test-config/jcrmapping-atomic.xml",
+					"./src/test/test-config/jcrmapping-beandescriptor.xml",
+					"./src/test/test-config/jcrmapping-inheritance.xml" };			
 			
 			Mapper mapper = new DigesterMapperImpl(files);
 
@@ -330,11 +330,11 @@
 	 */	
 	public void testMapperNtConcreteClass() {
 		try {
-			String[] files = { "./src/test-config/jcrmapping.xml",
-					"./src/test-config/jcrmapping-atomic.xml",
-					"./src/test-config/jcrmapping-beandescriptor.xml",
-					"./src/test-config/jcrmapping-inheritance.xml" };
-			//      		String[] files = {  "./src/test-config/jcrmapping-inheritance.xml"};
+			String[] files = { "./src/test/test-config/jcrmapping.xml",
+					"./src/test/test-config/jcrmapping-atomic.xml",
+					"./src/test/test-config/jcrmapping-beandescriptor.xml",
+					"./src/test/test-config/jcrmapping-inheritance.xml" };
+			//      		String[] files = {  "./src/test/test-config/jcrmapping-inheritance.xml"};
 
 			Mapper mapper = new DigesterMapperImpl(files);
 
@@ -396,7 +396,7 @@
 	 */
 	public void testInterfaceWithDiscriminator() {
 		try {
-			String[] files = {"./src/test-config/jcrmapping-inheritance.xml"};
+			String[] files = {"./src/test/test-config/jcrmapping-inheritance.xml"};
 			Mapper mapper = new DigesterMapperImpl(files);
 
 			assertNotNull("Mapper is null", mapper);
@@ -436,7 +436,7 @@
 	public void testInterfaceWithoutDiscriminator() 
 	{
 		try {
-			String[] files = {"./src/test-config/jcrmapping-inheritance.xml"};
+			String[] files = {"./src/test/test-config/jcrmapping-inheritance.xml"};
 			Mapper mapper = new DigesterMapperImpl(files);
 
 			assertNotNull("Mapper is null", mapper);
@@ -487,7 +487,7 @@
 	 */
 	public void testProxy() {
 		try {
-			String[] files = { "./src/test-config/jcrmapping-proxy.xml" };
+			String[] files = { "./src/test/test-config/jcrmapping-proxy.xml" };
 
 			Mapper mapper = new DigesterMapperImpl(files);
 			assertNotNull("Mapper is null", mapper);

Modified: jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/auto/PersistenceManagerAutoTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/auto/PersistenceManagerAutoTest.java?view=diff&rev=535958&r1=534987&r2=535958
==============================================================================
--- jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/auto/PersistenceManagerAutoTest.java
(original)
+++ jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/auto/PersistenceManagerAutoTest.java
Mon May  7 12:23:28 2007
@@ -147,7 +147,7 @@
 	protected void initPersistenceManager() throws UnsupportedRepositoryOperationException,
javax.jcr.RepositoryException
 	{
 		Repository repository = RepositoryUtil.getRepository("repositoryTest");
-		String[] files = { "./src/test-config/jcrmapping-auto.xml"};
+		String[] files = { "./src/test/test-config/jcrmapping-auto.xml"};
 		session = RepositoryUtil.login(repository, "superuser", "superuser");
 
 		persistenceManager = new PersistenceManagerImpl(session, files);

Modified: jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerAvoidRecursiveLoopTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerAvoidRecursiveLoopTest.java?view=diff&rev=535958&r1=534987&r2=535958
==============================================================================
--- jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerAvoidRecursiveLoopTest.java
(original)
+++ jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerAvoidRecursiveLoopTest.java
Mon May  7 12:23:28 2007
@@ -139,7 +139,7 @@
 	protected void initPersistenceManager() throws UnsupportedRepositoryOperationException,
javax.jcr.RepositoryException
 	{
 		Repository repository = RepositoryUtil.getRepository("repositoryTest");
-		String[] files = { "./src/test-config/jcrmapping-avoidrecursiveloop.xml" };
+		String[] files = { "./src/test/test-config/jcrmapping-avoidrecursiveloop.xml" };
 		session = RepositoryUtil.login(repository, "superuser", "superuser");
        
 		persistenceManager = new PersistenceManagerImpl(session, files);

Modified: jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerSameNameSiblingTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerSameNameSiblingTest.java?view=diff&rev=535958&r1=534987&r2=535958
==============================================================================
--- jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerSameNameSiblingTest.java
(original)
+++ jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerSameNameSiblingTest.java
Mon May  7 12:23:28 2007
@@ -226,7 +226,7 @@
 	protected void initPersistenceManager() throws UnsupportedRepositoryOperationException,
javax.jcr.RepositoryException
 	{
 		Repository repository = RepositoryUtil.getRepository("repositoryTest");
-		String[] files = { "./src/test-config/jcrmapping-sibling.xml" };
+		String[] files = { "./src/test/test-config/jcrmapping-sibling.xml" };
 		session = RepositoryUtil.login(repository, "superuser", "superuser");
 
 		

Modified: jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java?view=diff&rev=535958&r1=534987&r2=535958
==============================================================================
--- jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java
(original)
+++ jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/test/java/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java
Mon May  7 12:23:28 2007
@@ -73,7 +73,7 @@
         return new TestSetup(suite) {
             protected void setUp() throws Exception {
                 super.setUp();
-                RepositoryUtil.registerRepository("repositoryTest", "src/test-config/repository-xml.xml",
"target/repository");
+                RepositoryUtil.registerRepository("repositoryTest", "./src/test/test-config/repository-xml.xml",
"target/repository");
             }
 
             protected void tearDown() throws Exception {



Mime
View raw message