had to set the JAVA_HOME correctly AND export it
(duh!)
--- Paul Joseph <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was able to build Cocoon 2.1.6 very easily on my
> XP
> system - simply downloaded it and built it.
>
> I am trying to compile the Unix version of Cocoon
> 2.1.6 on Fedora FC3.
>
> I checked the web and saw the wikki and issues other
> people may have run into.
>
> The build seems to be using the Cocoon ant and also,
> I
> am using Java 1.4.x
>
> I am getting these errors.
>
> Any idea what the cause is (other than my thick
> headedness)
>
> thanks!
> Paul
>
> -----------------------
>
> [EMAIL PROTECTED] cocoon-2.1.6]# ./build.sh
> Warning: -Xms32M not understood. Ignoring.
> Warning: -Xmx512M not understood. Ignoring.
> Buildfile: build.xml
>
> prepare:
>
======================================================================
> Apache Cocoon 2.1.6 [1999-2004]
>
======================================================================
> Building with Apache Ant version 1.6.2 compiled on
> July 16 2004
>
----------------------------------------------------------------------
> Using build file /usr/local/cocoon-2.1.6/build.xml
>
----------------------------------------------------------------------
> Compiler options:
> - debug ......... [on]
> - optimize ...... [on]
> - deprecation ... [off]
>
======================================================================
>
> compile-core:
> Compiling 1 source file to
> /usr/local/cocoon-2.1.6/build/cocoon-2.1.6/classes
> ----------
> 1. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 22)
> import java.awt.image.ColorConvertOp;
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> The import java.awt.image.ColorConvertOp cannot be
> resolved
> ----------
> 2. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 23)
> import java.awt.image.RescaleOp;
> ^^^^^^^^^^^^^^^^^^^^^^^^
> The import java.awt.image.RescaleOp cannot be
> resolved
> ----------
> 3. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 37)
> import
> com.sun.image.codec.jpeg.ImageFormatException;
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> The import com.sun.image cannot be resolved
> ----------
> 4. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 38)
> import com.sun.image.codec.jpeg.JPEGCodec;
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> The import com.sun.image cannot be resolved
> ----------
> 5. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 39)
> import
> com.sun.image.codec.jpeg.JPEGDecodeParam;
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ^^^^^^^^^^^^
> The import com.sun.image cannot be resolved
> ----------
> 6. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 40)
> import
> com.sun.image.codec.jpeg.JPEGImageDecoder;
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> The import com.sun.image cannot be resolved
> ----------
> 7. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 41)
> import
> com.sun.image.codec.jpeg.JPEGImageEncoder;
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> The import com.sun.image cannot be resolved
> ----------
> 8. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 95)
> private RescaleOp colorFilter = null;
> ^^^^^^^^^
> RescaleOp cannot be resolved (or is not a valid
> type)
> for the field ImageReader.colorFilter
> ----------
> 9. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 100)
> private ColorConvertOp grayscaleFilter =
> null;
> ^^^^^^^^^^^^^^
> ColorConvertOp cannot be resolved (or is not a valid
> type) for the field ImageReader.grayscaleFilter
> ----------
> 10. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 132)
> colorFilter = new RescaleOp(scaleColor,
> offsetColor, null);
> ^^^^^^^^^^^
> colorFilter cannot be resolved
> ----------
> 11. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 132)
> colorFilter = new RescaleOp(scaleColor,
> offsetColor, null);
> ^^^^^^^^^
> RescaleOp cannot be resolved or is not a type
> ----------
> 12. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 134)
> colorFilter = null;
> ^^^^^^^^^^^
> colorFilter cannot be resolved
> ----------
> 13. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 139)
> grayscaleFilter = new
>
ColorConvertOp(ColorSpace.getInstance(ColorSpace.CS_GRAY),
> null);
> ^^^^^^^^^^^^^^^
> grayscaleFilter cannot be resolved
> ----------
> 14. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 139)
> grayscaleFilter = new
>
ColorConvertOp(ColorSpace.getInstance(ColorSpace.CS_GRAY),
> null);
> ^^^^^^^^^^^^^^
> ColorConvertOp cannot be resolved or is not a type
> ----------
> 15. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 141)
> grayscaleFilter = null;
> ^^^^^^^^^^^^^^^
> grayscaleFilter cannot be resolved
> ----------
> 16. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 190)
> if (width > 0 || height > 0 || null !=
> colorFilter || null != grayscaleFilter) {
>
> ^^^^^^^^^^^
> colorFilter cannot be resolved
> ----------
> 17. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 190)
> if (width > 0 || height > 0 || null !=
> colorFilter || null != grayscaleFilter) {
>
>
> ^^^^^^^^^^^^^^^
> grayscaleFilter cannot be resolved
> ----------
> 18. ERROR in
>
/usr/local/cocoon-2.1.6/src/java/org/apache/cocoon/reading/ImageReader.java
> (at line 223)
> JPEGImageDecoder decoder =
> JPEGCodec.createJPEGDecoder(inputStream);
> ^^^^^^^^^^^^^^^^
> JPEGImageDecoder cannot be resolved or is not a type
>
=== message truncated ===
=====
This communication, including attachments, is for the exclusive use of
the addressee and may contain proprietary, confidential, or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination, or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender by return mail and
delete this communication and destroy all copies.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]