You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by ma...@home.se on 2000/12/08 10:09:06 UTC

[C1] Unable to build

Hi there,

 I just checked out the latest version from cvs and tried to build it, but
it fails with the following error message:


init:
      ------------------- Cocoon 1.8.1-dev [1999-2000] ---------

prepare:

prepare-projectx:

prepare-xt:

prepare-ecma:

prepare-ldap:

prepare-src:
  [copydir] Copying 1 files to /home/me/src/apache/xml-cocoon/build/src

compile:
    [javac] Compiling 1 source files to
/home/me/src/apache/xml-cocoon/build/classes
    [javac]
/home/me/src/apache/xml-cocoon/build/src/org/apache/cocoon/Engine.java:443: Undefined
variable: encoding
    [javac]                     if (encoding == null) {
    [javac]                         ^
    [javac]
/home/me/src/apache/xml-cocoon/build/src/org/apache/cocoon/Engine.java:446: Undefined
variable: encoding
    [javac]
response.setContentLength(page.getContent().getBytes(encoding).length);
    [javac]
^
    [javac] 2 errors

BUILD FAILED

build.xml:277: Compile failed

/Magnus

-- 
Magnus Egnerfors	
Email: magnus.egnerfors@home.se