Return-Path: Mailing-List: contact poi-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list poi-dev@jakarta.apache.org Received: (qmail 39831 invoked from network); 29 Apr 2003 02:32:28 -0000 Received: from mail-02.iinet.net.au (HELO mail.iinet.net.au) (203.59.3.34) by daedalus.apache.org with SMTP; 29 Apr 2003 02:32:28 -0000 Received: (qmail 11663 invoked from network); 29 Apr 2003 02:27:29 -0000 Received: from unknown (HELO TOOTSIE.iinet.net.au) (203.217.33.181) by mail.iinet.net.au with SMTP; 29 Apr 2003 02:27:30 -0000 Message-Id: <5.1.1.6.0.20030429122805.030fdcf0@127.0.0.1> X-Sender: mail.iinet.net.au:gstamp@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Tue, 29 Apr 2003 12:28:21 +1000 To: "POI Developers List" From: Glen Stampoultzis Subject: Re: How to build? In-Reply-To: <20030428184523.1066.KAMOSHIDA.TOSHIAKI@future.co.jp> References: <5.1.1.6.0.20030428131410.031e9958@127.0.0.1> <1051455336.11498.7.camel@shadow> <5.1.1.6.0.20030428131410.031e9958@127.0.0.1> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_60008928==.ALT" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=====================_60008928==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed 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 >< value="${main.lib}/commongs-logging-1.0.1.jar"/> >--- > > value="${main.lib}/commons-logging-1.0.1.jar"/> > > >And test failed at scratchpad.I don't know why... > >name="org.apache.poi.hdf.model.TestHDFDocument" tests="4" time="0.812"> >(omit) > > java.io.IOException: Unable to read > entire block; 6 bytes read; expected 512 bytes > at org.apache.poi.poifs.storage.RawDataBlock.<init>(Unknown > Source) > at > org.apache.poi.poifs.storage.RawDataBlockList.<init>(Unknown Source) > at > org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(Unknown Source) > at org.apache.poi.hdf.model.HDFObjectFactory.<init>(Unknown > Source) > at org.apache.poi.hdf.model.HDFDocument.<init>(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) > > > > java.io.IOException: Unable to read > entire block; 7 bytes read; expected 512 bytes > at org.apache.poi.poifs.storage.RawDataBlock.<init>(Unknown > Source) > at > org.apache.poi.poifs.storage.RawDataBlockList.<init>(Unknown Source) > at > org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(Unknown Source) > at org.apache.poi.hdf.model.HDFObjectFactory.<init>(Unknown > Source) > at org.apache.poi.hdf.model.HDFDocument.<init>(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) > > > > java.io.IOException: Unable to read > entire block; 11 bytes read; expected 512 bytes > at org.apache.poi.poifs.storage.RawDataBlock.<init>(Unknown > Source) > at > org.apache.poi.poifs.storage.RawDataBlockList.<init>(Unknown Source) > at > org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(Unknown Source) > at org.apache.poi.hdf.model.HDFObjectFactory.<init>(Unknown > Source) > at org.apache.poi.hdf.model.HDFDocument.<init>(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) > > > > java.io.IOException: Unable to read > entire block; 11 bytes read; expected 512 bytes > at org.apache.poi.poifs.storage.RawDataBlock.<init>(Unknown > Source) > at > org.apache.poi.poifs.storage.RawDataBlockList.<init>(Unknown Source) > at > org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(Unknown Source) > at org.apache.poi.hdf.model.HDFObjectFactory.<init>(Unknown > Source) > at org.apache.poi.hdf.model.HDFDocument.<init>(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) > > > > >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 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 > > > > > > > > > > > > Glen Stampoultzis > > > > gstamp@iinet.net.au > > > > http://members.iinet.net.au/~gstamp/glen/ > > >-- > > >Eric Ladner > > > > > > 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/ --=====================_60008928==.ALT--