]> source.dussan.org Git - poi.git/commitdiff
#62921 - Provide OOXMLLite alternative for Java 12+
authorAndreas Beeker <kiwiwings@apache.org>
Sun, 18 Nov 2018 16:03:20 +0000 (16:03 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Sun, 18 Nov 2018 16:03:20 +0000 (16:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846849 13f79535-47bb-0310-9956-ffa450edef68

build.xml
src/testcases/org/apache/poi/POIDataSamples.java

index cdb28bd055ac43fb2d7d07cf2d3bbc08994e13eb..a49aa531117791dc04ca0032d4da16801cfad35c 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -81,7 +81,7 @@ under the License.
       user.language and user.country are required as we have locale-sensitive formatters
     -->
     <property name="testpattern" value="Test*"/> <!--note: this excludes BaseTest* -->
-    <property name="POI.testdata.path" value="test-data"/>
+    <property name="POI.testdata.path" location="test-data"/>
     <property name="java.awt.headless" value="true"/>
     <property name="additionaljar" value=""/>
     <propertyreset name="user.language" value="en"/>
index c4a093fe412e28c0263b606f1220f1f1296da42c..92db8fe18a47e4be70a5556b5a63d596af7e2b07 100644 (file)
@@ -206,7 +206,7 @@ public final class POIDataSamples {
         }
         File dataDir = new File(dataDirName, _moduleDir);
         if (!dataDir.exists()) {
-            throw new RuntimeException("Data dir '" + _moduleDir + "' does not exist");
+            throw new RuntimeException("Data dir '" + dataDir + "' does not exist");
         }
         // convert to canonical file, to make any subsequent error messages
         // clearer.