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 [EMAIL PROTECTED]
--
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>