Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 84562 invoked from network); 12 Jun 2002 01:41:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Jun 2002 01:41:13 -0000 Received: (qmail 1874 invoked by uid 97); 12 Jun 2002 01:41:16 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 1864 invoked by uid 97); 12 Jun 2002 01:41:15 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 14863 invoked by uid 98); 11 Jun 2002 21:40:26 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <1023831622.3d066e47049de@webmail2.namezero.com> Date: Wed, 12 Jun 2002 03:10:23 +051800 From: Avik Sengupta To: ant-user@jakarta.apache.org Subject: Re:Compilation questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 203.200.5.192 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I usually compile on 1.3 and 1.4 .. on a clean compile under 1.2, i get 3 errors and 1 warning. will try to fix tomorrow. compile: Compiling project core with Java 1.2, debug on, optimize off, deprecation on Compiling 267 source files to C:\myprogs\projects\poi\jakarta-poi\build\classes C:\myprogs\projects\poi\jakarta-poi\build\java\org\apache\poi\hssf\record\formul a\Ref3DPtg.java:103: Incompatible type for =. Explicit cast needed to convert sh ort to byte. array[ 0 + offset ] = sid; ^ C:\myprogs\projects\poi\jakarta-poi\build\java\org\apache\poi\hssf\record\formul a\AttrPtg.java:184: Incompatible type for =. Explicit cast needed to convert sho rt to byte. array[offset]=sid; ^ C:\myprogs\projects\poi\jakarta-poi\build\java\org\apache\poi\hssf\record\formul a\Area3DPtg.java:116: Incompatible type for =. Explicit cast needed to convert s hort to byte. array[ 0 + offset ] = sid; ^ C:\myprogs\projects\poi\jakarta-poi\build\java\org\apache\poi\hssf\record\SSTSer ializer.java:76: class org.apache.poi.hssf.record.SSTRecordHeader is defined in RecordProcessor.java. Because it is used outside of its source file, it should b e defined in a file called "SSTRecordHeader.java". private SSTRecordHeader sstRecordHeader; ^ 3 errors, 1 warning BUILD FAILED >Hi, >I'm trying to comile the POI 1.6.0 source files using the JDK 1.2.1 and I got >some errors like : >- deprecated API in HSSFRow.java for instance >- and some "Excplicit cast needed to convert short to byte" mostly in the >formula package. >My questions are : what JDK are you using ? >Is there a fix for the "forumla" package ? Or do I need to wait for POI >1.7.0 ? >----------------------------------------------------- >Bernard Segonnes >http://bsegonnes.free.fr bsegonnes@free.fr -- -- To unsubscribe, e-mail: For additional commands, e-mail: