From 5b543c765e5e3a0203923dfaf1aba3be5e275c97 Mon Sep 17 00:00:00 2001 From: Said Ryan Ackley Date: Thu, 17 Jul 2003 02:44:19 +0000 Subject: [PATCH] uses property from build file now git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353216 13f79535-47bb-0310-9956-ffa450edef68 --- .../testcases/org/apache/poi/hwpf/HWPFDocFixture.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFDocFixture.java b/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFDocFixture.java index abee2dbb5..dd6a0ffe3 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFDocFixture.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFDocFixture.java @@ -23,6 +23,12 @@ public class HWPFDocFixture { try { + + String filename = System.getProperty("HSSF.testdata.path"); + + filename = filename + "/test.doc"; + + POIFSFileSystem filesystem = new POIFSFileSystem(new FileInputStream( "C:\\test.doc"));