ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avik Sengupta <li...@aviksengupta.com>
Subject Re:Compilation questions
Date Tue, 21 May 2002 13:10:23 GMT
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message