You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Jason Moore <Ja...@harksolutions.co.uk> on 2012/07/10 19:31:32 UTC

Build Fail... but I'm new at this.

Hi All,

 

I've been watching this flex mailing list for a while and as it looks
like nearing a release I thought I'd better have a go at compiling and
checking it against our flex applications here...

 

But I'm hitting a build error... 

 

[Extract]

 

batik:

     [echo] This target should be run with Java 1.4.2_14. It doesn't
work with Java 1.5.

 

batik-jars-check:

 

batik-jars:

 

init-args:

 

init:

 

compile:

     [echo] debug true, optimize on, deprecation off

    [javac]
D:\ApacheFlex\FlexBuild\modules\thirdparty\batik\build.xml:412: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last;
set to false for repeatable builds

    [javac] Compiling 1428 source files to
D:\ApacheFlex\FlexBuild\modules\thirdparty\batik\classes

    [javac]
D:\ApacheFlex\FlexBuild\modules\thirdparty\batik\sources\org\apache\flex
\forks\batik\ext\awt\image\codec\tiff\TIFFEncodeParam.java:25: error:
package com.sun.image.codec.jpeg does not exist

    [javac] import com.sun.image.codec.jpeg.JPEGEncodeParam;

    [javac]                                ^

    [javac]
D:\ApacheFlex\FlexBuild\modules\thirdparty\batik\sources\org\apache\flex
\forks\batik\ext\awt\image\codec\tiff\TIFFEncodeParam.java:108: error:
cannot find symbol

    [javac]     private JPEGEncodeParam jpegEncodeParam = null;

    [javac]             ^

    [javac]   symbol:   class JPEGEncodeParam

    [javac]   location: class TIFFEncodeParam

    [javac]
D:\ApacheFlex\FlexBuild\modules\thirdparty\batik\sources\org\apache\flex
\forks\batik\ext\awt\image\codec\tiff\TIFFEncodeParam.java:304: error:
cannot find symbol

    [javac]     public void setJPEGEncodeParam(JPEGEncodeParam
jpegEncodeParam) {

    [javac]                                    ^

    [javac]   symbol:   class JPEGEncodeParam

    [javac]   location: class TIFFEncodeParam

    [javac]
D:\ApacheFlex\FlexBuild\modules\thirdparty\batik\sources\org\apache\flex
\forks\batik\ext\awt\image\codec\tiff\TIFFEncodeParam.java:316: error:
cannot find symbol

    [javac]     public JPEGEncodeParam getJPEGEncodeParam() {

    [javac]            ^

 

[Extract] it continues with more Image class errors...

 

The ApacheFlex ReadMe build guide suggests JAVA 1.6 ... though
admittedly I'm using the latest Java JDK 1.7.0_05  ... is this the
issue? 

Will rolling back to Java 1.6 fix it.. though  the batik message
suggests with Java 1.4.2_14 ?

 

Apologies if I'm being an idiot.. other people seem to have had better
success.

 

Jason :)  

 

 

________________________________

Hark Solutions Limited. Registered office: Unit 2 Cropmead , Crewkerne,
Somerset, UK, TA18 7HQ. 
Company registration number: 05293155. VAT number: 849 5393 75.
www.harksolutions.co.uk. 
This email and any attachments to it may be confidential and are
intended solely for the use of the individual to whom it is addressed.
Any views or opinions expressed are solely those of the author and do
not necessarily represent those of Hark Solutions Ltd.
If you are not the intended recipient of this email, you must neither
take any action based upon its contents, nor copy or show it to anyone.
Please contact the sender if you believe you have received this email in
error.
Checked by AVG - www.avg.com
Version: 10.0.1424 / Virus Database: 2437/5123 - Release Date: 07/10/12


AW: Build Fail... but I'm new at this.

Posted by "christofer.dutz@c-ware.de" <ch...@c-ware.de>.
Most of the compiler stuff doesn't work with 1.7 ... and there even seem to be problems with 64bit JVMs too 
(Have to manually configure JAVA_HOME to point to a 32bit VM otherwise I can't execute any of the commands in the bin directory)

Chris

-----Ursprüngliche Nachricht-----
Von: Alex Harui [mailto:aharui@adobe.com] 
Gesendet: Dienstag, 10. Juli 2012 21:00
An: flex-dev@incubator.apache.org
Betreff: Re: Build Fail... but I'm new at this.




On 7/10/12 10:31 AM, "Jason Moore" <Ja...@harksolutions.co.uk> wrote:


> 
> The ApacheFlex ReadMe build guide suggests JAVA 1.6 ... though 
> admittedly I'm using the latest Java JDK 1.7.0_05  ... is this the 
> issue?
I'm pretty sure we don't work with 1.7 yet, but I don't recall which errors you get.

--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: Build Fail... but I'm new at this.

Posted by Alex Harui <ah...@adobe.com>.


On 7/10/12 10:31 AM, "Jason Moore" <Ja...@harksolutions.co.uk> wrote:


> 
> The ApacheFlex ReadMe build guide suggests JAVA 1.6 ... though
> admittedly I'm using the latest Java JDK 1.7.0_05  ... is this the
> issue? 
I'm pretty sure we don't work with 1.7 yet, but I don't recall which errors
you get.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui