You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Robin Green <gr...@hotmail.com> on 2000/12/08 12:52:19 UTC

Re: [C1] Unable to build

Fixed (well, actually, I commented it out, because I have a fix here but 
it's not all ready to commit yet.)

magnus.egnerfors@home.se wrote:
>  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
>
>

_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com