poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sack...@apache.org
Subject cvs commit: jakarta-poi/src/scratchpad/testcases/org/apache/poi/hwpf HWPFDocFixture.java
Date Thu, 17 Jul 2003 02:44:20 GMT
sackley     2003/07/16 19:44:20

  Modified:    src/scratchpad/testcases/org/apache/poi/hwpf
                        HWPFDocFixture.java
  Log:
  uses property from build file now
  
  Revision  Changes    Path
  1.2       +6 -0      jakarta-poi/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFDocFixture.java
  
  Index: HWPFDocFixture.java
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFDocFixture.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HWPFDocFixture.java	28 Jun 2003 15:58:27 -0000	1.1
  +++ HWPFDocFixture.java	17 Jul 2003 02:44:19 -0000	1.2
  @@ -23,6 +23,12 @@
     {
       try
       {
  +
  +      String filename = System.getProperty("HSSF.testdata.path");
  +
  +      filename = filename + "/test.doc";
  +
  +
         POIFSFileSystem filesystem = new POIFSFileSystem(new FileInputStream(
           "C:\\test.doc"));
   
  
  
  

Mime
View raw message