From: Remi M. <re...@ll...> - 2009-05-21 14:11:23
|
Hi. I'm trying to install eXist as Cocoon block. I managed to do it in the past, probably with older versions but I can't make it now. I'm using : java version "1.6.0_06" Apache Ant version 1.7.1 compiled on June 27 2008 (but cocoon seems to use one of its own). Envir. variables: EXIST_HOME=/home/rem/exist-cocoon/eXist COCOON_HOME=/home/rem/exist-cocoon/cocoon-2.1.9 The problem occurs when I'm trying to build the Cocoon. I've tried with different version of cocoon, but finally used the same as the one in the FAQ. Would you have a look at the log below and maybe help me solve the mystery ? Could it be something with the Java version I use ? Buildfile: build.xml init-tasks: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/tools/anttasks Compiling 5 source files to /home/rem/exist-cocoon/cocoon-2.1.9/tools/anttasks Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/tools/loader Compiling 1 source file to /home/rem/exist-cocoon/cocoon-2.1.9/tools/loader prepare: ==================================================================== Apache Cocoon 2.1.9 [1999-2006] ==================================================================== Building with Apache Ant version 1.6.5 compiled on June 2 2005 -------------------------------------------------------------------- Using build file /home/rem/exist-cocoon/cocoon-2.1.9/build.xml -------------------------------------------------------------------- Compiler options: - debug ......... [on] - optimize ...... [on] - deprecation ... [off] ==================================================================== Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon compile-mocks: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/mocks Copied 7 empty directories to 4 empty directories under /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/mocks Compiling 2 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/mocks compile-core: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/classes Copying 20 files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/classes Copied 62 empty directories to 33 empty directories under /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/classes Compiling 591 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/classes /home/rem/exist-cocoon/cocoon-2.1.9/src/java/org/apache/cocoon/reading/ImageReader.java:38: warning: com.sun.image.codec.jpeg.ImageFormatException is Sun proprietary API and may be removed in a future release import com.sun.image.codec.jpeg.ImageFormatException; ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/java/org/apache/cocoon/reading/ImageReader.java:39: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release import com.sun.image.codec.jpeg.JPEGCodec; ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/java/org/apache/cocoon/reading/ImageReader.java:40: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release import com.sun.image.codec.jpeg.JPEGEncodeParam; ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/java/org/apache/cocoon/reading/ImageReader.java:41: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release import com.sun.image.codec.jpeg.JPEGImageEncoder; ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/java/org/apache/cocoon/reading/ImageReader.java:325: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out); ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/java/org/apache/cocoon/reading/ImageReader.java:325: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out); ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/java/org/apache/cocoon/reading/ImageReader.java:326: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release JPEGEncodeParam p = encoder.getDefaultJPEGEncodeParam(currentImage); ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/java/org/apache/cocoon/reading/ImageReader.java:332: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(bstream); ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/java/org/apache/cocoon/reading/ImageReader.java:332: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(bstream); ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/java/org/apache/cocoon/reading/ImageReader.java:333: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release JPEGEncodeParam p = encoder.getDefaultJPEGEncodeParam(currentImage); ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/java/org/apache/cocoon/reading/ImageReader.java:341: warning: com.sun.image.codec.jpeg.ImageFormatException is Sun proprietary API and may be removed in a future release } catch (ImageFormatException e) { ^ 11 warnings Compiling jdk 1.4 core classes Compiling 1 source file to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/classes compile-deprecated: Processing: /home/rem/exist-cocoon/cocoon-2.1.9/src/deprecated/conf/deprecated.xroles Writing: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/classes/org/apache/cocoon/cocoon.roles Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/deprecated Copied 21 empty directories to 17 empty directories under /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/deprecated Compiling 62 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/deprecated compile-tests-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/test Copying 68 files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/test Copied 31 empty directories to 11 empty directories under /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/test compile-junit-tests: Compiling 60 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/test Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. prepare-blocks: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks Copying 1 file to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/temp Processing /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/temp/gump.xml to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/temp/blocks-build.xml Loading stylesheet /home/rem/exist-cocoon/cocoon-2.1.9/tools/src/blocks-build.xsl unstable: ==================== WARNING ======================= Block 'ajax' should be considered unstable. Block 'apples' should be considered unstable. Block 'asciiart' should be considered unstable. Block 'axis' should be considered unstable. Block 'captcha' should be considered unstable. Block 'cron' should be considered unstable. Block 'deli' should be considered unstable. Block 'eventcache' should be considered unstable. Block 'faces' should be considered unstable. Block 'imageop' should be considered unstable. Block 'javaflow' should be considered unstable. Block 'jcr' should be considered unstable. Block 'jms' should be considered unstable. Block 'linotype' should be considered unstable. Block 'mail' should be considered unstable. Block 'petstore' should be considered unstable. Block 'proxy' should be considered unstable. Block 'qdox' should be considered unstable. Block 'querybean' should be considered unstable. Block 'repository' should be considered unstable. Block 'serializers' should be considered unstable. Block 'slide' should be considered unstable. Block 'slop' should be considered unstable. Block 'stx' should be considered unstable. Block 'taglib' should be considered unstable. Block 'template' should be considered unstable. Block 'tour' should be considered unstable. Block 'validation' should be considered unstable. Block 'webdav' should be considered unstable. Block 'xsltal' should be considered unstable. ---------------------------------------------------- This means that its API, schemas and other contracts might change without notice. ==================================================== excluded: ==================== NOTICE ======================== Block 'imageop' is excluded from the build. Block 'jcr' is excluded from the build. Block 'php' is excluded from the build. Block 'portal-fw' is excluded from the build. Block 'swf' is excluded from the build. Block 'template' is excluded from the build. Block 'woody' is excluded from the build. ==================================================== cocoon-block-ajax-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/ajax/dest cocoon-block-ajax-compile: Compiling 5 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/ajax/dest Copying 8 files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/ajax/dest Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/ajax-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/ajax/samples cocoon-block-forms-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/forms/dest cocoon-block-apples-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/apples/dest cocoon-block-forms-compile: Compiling 340 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/forms/dest Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copying 220 files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/forms/dest Copied 31 empty directories to 3 empty directories under /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/forms/dest Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/forms-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/forms/samples Compiling 17 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/forms/samples Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. cocoon-block-apples-compile: Compiling 8 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/apples/dest Note: /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/apples/java/org/apache/cocoon/components/flow/apples/ApplesProcessor.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/apples/java/org/apache/cocoon/components/flow/apples/AppleHelper.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copied 1 empty directory to 1 empty directory under /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/apples/dest Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/apples-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/apples/samples Compiling 4 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/apples/samples Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. cocoon-block-asciiart-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/asciiart/dest cocoon-block-asciiart-compile: Compiling 2 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/asciiart/dest Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/asciiart-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/asciiart/samples cocoon-block-xsp-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/xsp/dest cocoon-block-session-fw-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/session-fw/dest cocoon-block-authentication-fw-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/authentication-fw/dest cocoon-block-xsp-compile: Compiling 57 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/xsp/dest Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copying 23 files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/xsp/dest Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/xsp-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/xsp/samples cocoon-block-session-fw-compile: Compiling 28 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/session-fw/dest Note: /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/session-fw/java/org/apache/cocoon/webapps/session/components/AbstractSessionComponent.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copying 1 file to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/session-fw/dest Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/session-fw-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/session-fw/samples cocoon-block-authentication-fw-compile: Compiling 19 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/authentication-fw/dest Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copying 1 file to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/authentication-fw/dest Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/authentication-fw-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/authentication-fw/samples cocoon-block-axis-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/axis/dest main: Copying 4 files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/axis/dest Compiling 10 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/axis/dest Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/axis-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/axis/samples cocoon-block-batik-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/batik/dest cocoon-block-batik-compile: Compiling 8 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/batik/dest Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/batik-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/batik/samples cocoon-block-bsf-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/bsf/dest cocoon-block-bsf-compile: Compiling 2 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/bsf/dest Note: /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/bsf/java/org/apache/cocoon/acting/ScriptAction.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/bsf-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/bsf/samples cocoon-block-captcha-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/captcha/dest cocoon-block-captcha-compile: Compiling 1 source file to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/captcha/dest /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/captcha/java/org/apache/cocoon/reading/CaptchaReader.java:32: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release import com.sun.image.codec.jpeg.JPEGCodec; ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/captcha/java/org/apache/cocoon/reading/CaptchaReader.java:33: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release import com.sun.image.codec.jpeg.JPEGEncodeParam; ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/captcha/java/org/apache/cocoon/reading/CaptchaReader.java:34: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release import com.sun.image.codec.jpeg.JPEGImageEncoder; ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/captcha/java/org/apache/cocoon/reading/CaptchaReader.java:300: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(buffer); ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/captcha/java/org/apache/cocoon/reading/CaptchaReader.java:300: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(buffer); ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/captcha/java/org/apache/cocoon/reading/CaptchaReader.java:301: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(result); ^ 6 warnings Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/captcha-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/captcha/samples cocoon-block-chaperon-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/chaperon/dest cocoon-block-chaperon-compile: Compiling 6 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/chaperon/dest Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/chaperon-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/chaperon/samples cocoon-block-cron-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/cron/dest cocoon-block-cron-compile: Compiling 17 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/cron/dest Note: /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/cron/java/org/apache/cocoon/environment/background/BackgroundEnvironment.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Building jar: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/cron-block.jar Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/cron/samples cocoon-block-databases-prepare: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/databases/dest cocoon-block-databases-compile: Created dir: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/databases/mocks Compiling 4 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/databases/mocks Compiling 44 source files to /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/blocks/databases/dest /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/databases/java/org/apache/cocoon/util/BlobHelper.java:29: org.apache.cocoon.util.BlobHelper is not abstract and does not override abstract method getBinaryStream(long,long) in java.sql.Blob public class BlobHelper implements Blob{ ^ /home/rem/exist-cocoon/cocoon-2.1.9/src/blocks/databases/java/org/apache/cocoon/util/ClobHelper.java:33: org.apache.cocoon.util.ClobHelper is not abstract and does not override abstract method getCharacterStream(long,long) in java.sql.Clob public class ClobHelper implements Clob{ ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors BUILD FAILED /home/rem/exist-cocoon/cocoon-2.1.9/tools/targets/compile-build.xml:262: The following error occurred while executing this line: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/temp/blocks-build.xml:1566: The following error occurred while executing this line: /home/rem/exist-cocoon/cocoon-2.1.9/build/cocoon/temp/blocks-build.xml:95: Compile failed; see the compiler error output for details. Total time: 18 seconds Cheers Remi |