geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r420443 - /geronimo/sandbox/svkmerge/m2migration/modules/system/src/test/org/apache/geronimo/system/configuration/ConfigurationStoreUtilTest.java
Date Mon, 10 Jul 2006 06:55:36 GMT
Author: jdillon
Date: Sun Jul  9 23:55:35 2006
New Revision: 420443

URL: http://svn.apache.org/viewvc?rev=420443&view=rev
Log:
Root to basedir

Modified:
    geronimo/sandbox/svkmerge/m2migration/modules/system/src/test/org/apache/geronimo/system/configuration/ConfigurationStoreUtilTest.java

Modified: geronimo/sandbox/svkmerge/m2migration/modules/system/src/test/org/apache/geronimo/system/configuration/ConfigurationStoreUtilTest.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/svkmerge/m2migration/modules/system/src/test/org/apache/geronimo/system/configuration/ConfigurationStoreUtilTest.java?rev=420443&r1=420442&r2=420443&view=diff
==============================================================================
--- geronimo/sandbox/svkmerge/m2migration/modules/system/src/test/org/apache/geronimo/system/configuration/ConfigurationStoreUtilTest.java
(original)
+++ geronimo/sandbox/svkmerge/m2migration/modules/system/src/test/org/apache/geronimo/system/configuration/ConfigurationStoreUtilTest.java
Sun Jul  9 23:55:35 2006
@@ -28,6 +28,7 @@
  * @version $Rev$ $Date$
  */
 public class ConfigurationStoreUtilTest extends TestCase {
+    private File basedir = new File(System.getProperty("basedir"));
     private File testFile;
     private static final String BAD_SUM = "Stinky Cheese";
     private File sumFile;
@@ -123,7 +124,7 @@
 
     protected void setUp() throws Exception {
         super.setUp();
-        testFile = new File("target/checksumTest/test.data");
+        testFile = new File(basedir, "target/checksumTest/test.data");
         testFile.getParentFile().mkdirs();
         FileWriter writer = new FileWriter(testFile);
         writer.write("lflkfjkljkldfaskljsadflkjasdflweoiurhlmvniouwehnflikmnfubhgkajnbfgk;ausuhfoubhr\n");



Mime
View raw message