Hi all,
Just trying to build trunk using Java 16.0.1+9-24 and Ant 1.10.10 on Windows
10 and I'm getting 7 build errors.... Is the Ant build broken / deprecated and
I have to use Gradle, or am I missing something? This is head revs of trunk
(so, 5.0.1-SNAPSHOT). Here are the errors:
compile-scratchpad:
[javac] Compiling 514 source files to
C:\...\Projects\apache-poi\trunk\poi-scratchpad\build\classes\ant\java
[javac] Ignoring source, target and bootclasspath as release has been set
[javac]
C:\...\Projects\apache-poi\trunk\poi-scratchpad\src\main\java\org\apache\poi\hemf\usermodel\HemfPicture.java:178:
error: cannot find symbol
[javac] Boolean forceHeader =
(Boolean)ctx.getRenderingHint(Drawable.EMF_FORCE_HEADER_BOUNDS);
[javac]
^
[javac] symbol: variable EMF_FORCE_HEADER_BOUNDS
[javac] location: interface Drawable
[javac]
C:\...\Projects\apache-poi\trunk\poi-scratchpad\src\main\java\org\apache\poi\hslf\dev\SlideShowRecordDumper.java:213:
error: cannot find symbol
[javac] ps.println(ind + " numchildren: " + ecr.getChildCount());
[javac] ^
[javac] symbol: method getChildCount()
[javac] location: variable ecr of type EscherContainerRecord
[javac]
C:\...\Projects\apache-poi\trunk\poi-scratchpad\src\main\java\org\apache\poi\hslf\usermodel\HSLFSlideShow.java:1240:
error: replaceDirectory(DirectoryNode) in HSLFSlideShow cannot override
replaceDirectory(DirectoryNode) in POIDocument
[javac] protected void replaceDirectory(DirectoryNode newDirectory)
throws IOException {
[javac] ^
[javac] overridden method does not throw IOException
[javac]
C:\...\Projects\apache-poi\trunk\poi-scratchpad\src\main\java\org\apache\poi\hslf\usermodel\HSLFSlideShow.java:1275:
error: cannot find symbol
[javac] int count = blipStore.getChildCount();
[javac] ^
[javac] symbol: method getChildCount()
[javac] location: variable blipStore of type EscherContainerRecord
[javac]
C:\...\Projects\apache-poi\trunk\poi-scratchpad\src\main\java\org\apache\poi\hslf\usermodel\HSLFFill.java:408:
error: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac]
C:\...\Projects\apache-poi\trunk\poi-scratchpad\src\main\java\org\apache\poi\hwpf\usermodel\OfficeDrawingsImpl.java:59:
error: cannot find symbol
[javac] if ( bContainer.getChildCount() < bitmapIndex )
[javac] ^
[javac] symbol: method getChildCount()
[javac] location: variable bContainer of type EscherContainerRecord
[javac]
C:\...\Projects\apache-poi\trunk\poi-scratchpad\src\main\java\org\apache\poi\hwpf\usermodel\Picture.java:579:
error: an enum switch case label must be the unqualified name of an
enumeration constant
[javac] case BLIP_TIFF:
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note:
C:\...\Projects\apache-poi\trunk\poi-scratchpad\src\main\java\org\apache\poi\hwpf\model\BytePropertyNode.java
uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors
Thanks for any help / guidance.
~Roger Whitcomb
rwhitcomb at apache dot org