From: Miles F. <mfi...@me...> - 2011-09-17 15:02:56
|
Just tried to build atomicwiki, failed - looking for advice: ENVIRONMENT: Debian Lenny, headless (server) java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2~lenny1) OpenJDK Client VM (build 14.0-b16, mixed mode, sharing) javac 1.6.0_18 working copy of eXist 1.4.1 1. Checked out the source with: svn checkout http://atomicwiki.googlecode.com/svn/trunk/ atomicwiki-read-only 2. Set build.dist=<my eXist 1.4.1 home directory> 3. ./build.sh Compile failed with the following warnings and errors: compile: [javac] Compiling 5 source files to /usr/local/src/AtomicWiki/java/classes [javac] /usr/local/src/AtomicWiki/java/src/org/atomicwiki/servlets/GetThumbnail.java:96: warning: com.sun.image.codec.jpeg.ImageFormatException is Sun proprietary API and may be removed in a future release [javac] throws IOException, ImageFormatException { [javac] ^ [javac] /usr/local/src/AtomicWiki/java/src/org/atomicwiki/servlets/GetThumbnail.java:99: warning: com.sun.image.codec.jpeg.JPEGImageDecoder is Sun proprietary API and may be removed in a future release [javac] JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(in); [javac] ^ [javac] /usr/local/src/AtomicWiki/java/src/org/atomicwiki/servlets/GetThumbnail.java:99: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release [javac] JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(in); [javac] ^ [javac] /usr/local/src/AtomicWiki/java/src/org/atomicwiki/servlets/GetThumbnail.java:106: warning: com.sun.image.codec.jpeg.JPEGDecodeParam is Sun proprietary API and may be removed in a future release [javac] JPEGDecodeParam decodeParam = decoder.getJPEGDecodeParam(); [javac] ^ [javac] /usr/local/src/AtomicWiki/java/src/org/atomicwiki/servlets/GetThumbnail.java:107: cannot find symbol [javac] symbol : method getWidth() [javac] location: interface com.sun.image.codec.jpeg.JPEGDecodeParam [javac] double ow = decodeParam.getWidth(); [javac] ^ [javac] /usr/local/src/AtomicWiki/java/src/org/atomicwiki/servlets/GetThumbnail.java:108: cannot find symbol [javac] symbol : method getHeight() [javac] location: interface com.sun.image.codec.jpeg.JPEGDecodeParam [javac] double oh = decodeParam.getHeight(); [javac] ^ [javac] /usr/local/src/AtomicWiki/java/src/org/atomicwiki/servlets/GetThumbnail.java:119: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release [javac] JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out); [javac] ^ [javac] /usr/local/src/AtomicWiki/java/src/org/atomicwiki/servlets/GetThumbnail.java:119: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release [javac] JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out); [javac] ^ [javac] Note: /usr/local/src/AtomicWiki/java/src/org/exist/xquery/modules/wiki/Parse.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors [javac] 6 warnings BUILD FAILED /usr/local/src/AtomicWiki/build.xml:112: Compile failed; see the compiler error output for details. Suggestions? Thanks much, Miles Fidelman -- In theory, there is no difference between theory and practice. In<fnord> practice, there is. .... Yogi Berra |