jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject svn commit: r1604654 - /jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/providers/FileSystemProviderTest.java
Date Sun, 22 Jun 2014 20:39:24 GMT
Author: juanpablo
Date: Sun Jun 22 20:39:24 2014
New Revision: 1604654

URL: http://svn.apache.org/r1604654
Log:
seems we have trouble creating a directory under java.io.tmpdir at builds.apache.org, so switching
to ./target/ instead

Modified:
    jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/providers/FileSystemProviderTest.java

Modified: jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/providers/FileSystemProviderTest.java
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/providers/FileSystemProviderTest.java?rev=1604654&r1=1604653&r2=1604654&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/providers/FileSystemProviderTest.java
(original)
+++ jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/providers/FileSystemProviderTest.java
Sun Jun 22 20:39:24 2014
@@ -50,7 +50,7 @@ public class FileSystemProviderTest exte
     }
 
     public void setUp() throws Exception {
-        m_pagedir = System.getProperties().getProperty("java.io.tmpdir") + File.separatorChar
+ "jspwiki.test.pages";
+        m_pagedir = "." + File.separatorChar + "target" + File.separatorChar + "jspwiki.test.pages";
         props.setProperty( PageManager.PROP_PAGEPROVIDER, "FileSystemProvider" );
         props.setProperty( FileSystemProvider.PROP_PAGEDIR, m_pagedir );
 



Mime
View raw message