poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Stampoultzis <gst...@iinet.net.au>
Subject Re: How to build?
Date Tue, 29 Apr 2003 02:28:21 GMT

Fixed.

At 08:17 PM 28/04/2003, you wrote:
>Hello,
>
>I tried to checkout new branches and build it,and it works well
>except here.Please fix it...
>
>Index: build.xml
>===================================================================
>RCS file: /home/cvspublic/jakarta-poi/build.xml,v
>retrieving revision 1.36
>diff -r1.36 build.xml
>46c46
><     <property name="main.jar1.dir" 
>value="${main.lib}/commongs-logging-1.0.1.jar"/>
>---
> >     <property name="main.jar1.dir" 
> value="${main.lib}/commons-logging-1.0.1.jar"/>
>
>
>And test failed at scratchpad.I don't know why...
>
><testsuite errors="4" failures="0" 
>name="org.apache.poi.hdf.model.TestHDFDocument" tests="4" time="0.812">
>(omit)
>   <testcase name="testEmpty" time="0.611">
>     <error message="Unable to read entire block; 6 bytes read; expected 
> 512 bytes" type="java.io.IOException">java.io.IOException: Unable to read 
> entire block; 6 bytes read; expected 512 bytes
>         at org.apache.poi.poifs.storage.RawDataBlock.&lt;init&gt;(Unknown 
> Source)
>         at 
> org.apache.poi.poifs.storage.RawDataBlockList.&lt;init&gt;(Unknown Source)
>         at 
> org.apache.poi.poifs.filesystem.POIFSFileSystem.&lt;init&gt;(Unknown Source)
>         at org.apache.poi.hdf.model.HDFObjectFactory.&lt;init&gt;(Unknown 
> Source)
>         at org.apache.poi.hdf.model.HDFDocument.&lt;init&gt;(Unknown Source)
>         at org.apache.poi.hdf.model.TestHDFDocument.testEmpty(Unknown Source)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
></error>
>   </testcase>
>   <testcase name="testSimple" time="0.01">
>     <error message="Unable to read entire block; 7 bytes read; expected 
> 512 bytes" type="java.io.IOException">java.io.IOException: Unable to read 
> entire block; 7 bytes read; expected 512 bytes
>         at org.apache.poi.poifs.storage.RawDataBlock.&lt;init&gt;(Unknown 
> Source)
>         at 
> org.apache.poi.poifs.storage.RawDataBlockList.&lt;init&gt;(Unknown Source)
>         at 
> org.apache.poi.poifs.filesystem.POIFSFileSystem.&lt;init&gt;(Unknown Source)
>         at org.apache.poi.hdf.model.HDFObjectFactory.&lt;init&gt;(Unknown 
> Source)
>         at org.apache.poi.hdf.model.HDFDocument.&lt;init&gt;(Unknown Source)
>         at org.apache.poi.hdf.model.TestHDFDocument.testSimple(Unknown 
> Source)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
></error>
>   </testcase>
>   <testcase name="testSimpleList" time="0.01">
>     <error message="Unable to read entire block; 11 bytes read; expected 
> 512 bytes" type="java.io.IOException">java.io.IOException: Unable to read 
> entire block; 11 bytes read; expected 512 bytes
>         at org.apache.poi.poifs.storage.RawDataBlock.&lt;init&gt;(Unknown 
> Source)
>         at 
> org.apache.poi.poifs.storage.RawDataBlockList.&lt;init&gt;(Unknown Source)
>         at 
> org.apache.poi.poifs.filesystem.POIFSFileSystem.&lt;init&gt;(Unknown Source)
>         at org.apache.poi.hdf.model.HDFObjectFactory.&lt;init&gt;(Unknown 
> Source)
>         at org.apache.poi.hdf.model.HDFDocument.&lt;init&gt;(Unknown Source)
>         at 
> org.apache.poi.hdf.model.TestHDFDocument.testSimpleList(Unknown Source)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
></error>
>   </testcase>
>   <testcase name="testSimpleTable" time="0.0">
>     <error message="Unable to read entire block; 11 bytes read; expected 
> 512 bytes" type="java.io.IOException">java.io.IOException: Unable to read 
> entire block; 11 bytes read; expected 512 bytes
>         at org.apache.poi.poifs.storage.RawDataBlock.&lt;init&gt;(Unknown 
> Source)
>         at 
> org.apache.poi.poifs.storage.RawDataBlockList.&lt;init&gt;(Unknown Source)
>         at 
> org.apache.poi.poifs.filesystem.POIFSFileSystem.&lt;init&gt;(Unknown Source)
>         at org.apache.poi.hdf.model.HDFObjectFactory.&lt;init&gt;(Unknown 
> Source)
>         at org.apache.poi.hdf.model.HDFDocument.&lt;init&gt;(Unknown Source)
>         at 
> org.apache.poi.hdf.model.TestHDFDocument.testSimpleTable(Unknown Source)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
></error>
>   </testcase>
>
>
>BTW,stacktraces are reported with "Unknown Source".
>I feel it is better that you use classes complied with debug
>option = on to test.
>
>On Mon, 28 Apr 2003 13:14:27 +1000
>Glen Stampoultzis <gstamp@iinet.net.au> wrote:
>
> >
> > Glad it worked out.
> >
> > At 12:55 AM 28/04/2003, you wrote:
> > >As a side note, Forrest is required to make 'ant dist'
> > >
> > >http://www.rge.com/pub/infosystems/apache/xml/forrest/binaries/
> > >
> > >Eric
> > >
> > >On Sun, 2003-04-27 at 02:11, Glen Stampoultzis wrote:
> > > > The build just changed recently.
> > > >
> > > > What you need is ant 1.5.3 then install the following jars into
> > > ANT_HOME/lib:
> > > >
> > > >      junit           http://www.ibiblio.org/maven/junit/jars/
> > > >      xerces          http://www.ibiblio.org/maven/xerces/jars/
> > > >      jdepend         http://www.ibiblio.org/maven/jdepend/jars/
> > > >
> > > > Then just run:
> > > >
> > > > ant compile      ... to compile
> > > > ant test            ... to test
> > > > ant dist             ... to build a distribution
> > > >
> > > > One first run it will attempt to retrieve some jars required by 
> POI.  If
> > > > you're behind a proxy it may cause some issues but you can retrieve 
> them
> > > > manually if necessary.
> > > >
> > > > Let me know of any problems you have as this is all still very new.
> > > >
> > > > Regards,
> > > >
> > > > Glen Stampoultzis
> > > >
> > > >
> > > > At 10:38 AM 27/04/2003, you wrote:
> > > >
> > > > >I give up.. how do you build the latest CVS pulls?
> > > > >
> > > > >--
> > > > >Eric Ladner <eladner@goldinc.com>
> > > >
> > > >
> > > > Glen Stampoultzis
> > > > gstamp@iinet.net.au
> > > > http://members.iinet.net.au/~gstamp/glen/
> > >--
> > >Eric Ladner <eladner@goldinc.com>
> >
> >
> > Glen Stampoultzis
> > gstamp@iinet.net.au
> > http://members.iinet.net.au/~gstamp/glen/
>
>--------------------------------
>
>Toshiaki Kamoshida
>kamoshida.toshiaki@future.co.jp
>
>--------------------------------
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Glen Stampoultzis
gstamp@iinet.net.au
http://members.iinet.net.au/~gstamp/glen/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message