openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r885524 - /openjpa/trunk/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java
Date Mon, 30 Nov 2009 18:10:01 GMT
Author: allee8285
Date: Mon Nov 30 18:10:01 2009
New Revision: 885524

URL: http://svn.apache.org/viewvc?rev=885524&view=rev
Log:
Avoid dependency on src folder from test case.

Modified:
    openjpa/trunk/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java

Modified: openjpa/trunk/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java?rev=885524&r1=885523&r2=885524&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java
Mon Nov 30 18:10:01 2009
@@ -55,10 +55,9 @@
         super.setUp();
         String currentDir = System.getProperty("user.dir");
         
-        // openjpa-persistence/src/test/resources/second-persistence/
-        //   META-INF/persistence.xml
-        sourceFile = new File(currentDir + File.separator + "src" 
-            + File.separator  + "test" + File.separator + "resources"
+        // openjpa-persistence/target/test-classes/resources/second-persistence/META-INF/persistence.xml
+        sourceFile = new File(currentDir + File.separator 
+            + "target" + File.separator + "test-classes"
             + File.separator  + "second-persistence" + File.separator 
             + "META-INF" + File.separator + "persistence.xml");
         



Mime
View raw message