incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carol Frampton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33110) Building the SDK with Java 7
Date Fri, 26 Oct 2012 17:57:14 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485078#comment-13485078
] 

Carol Frampton commented on FLEX-33110:
---------------------------------------

 Note that on a Mac, you will need an Intel-based Mac running Mac OS X version 10.7.3 (Lion)
as well as Ant 1.8 or higher.  On a Mac, Java 7 only compiles in 64-bit mode so compilations
are quite a bit slower than they are with Java 6 in 32-bit mode.
                
> Building the SDK with Java 7
> ----------------------------
>
>                 Key: FLEX-33110
>                 URL: https://issues.apache.org/jira/browse/FLEX-33110
>             Project: Apache Flex
>          Issue Type: Improvement
>            Reporter: Alex Harui
>            Assignee: Carol Frampton
>             Fix For: Adobe Flex SDK Next
>
>         Attachments: downloads.patch, ImageCacher.patch, java-7.patch, modules-build.xml.patch,
modules-compiler-build.xml.patch, modules-thirdparty-batik-build.xml.patch, SpriteTranscoder.patch
>
>
> I've changed the SDK a bit to be able to build it with Java 7. Everything seems to compile,
although that is no guarantee that things will actually work.
> The main problem is the Batik dependency. The version used by the trunk version is 1.6.
When building with Java 7, this results in some compiler errors for classes in the com.sun.*
packages. So I've updated the build scripts to use Batik version 1.7 (there is an option to
NOT use the Sun classes in the build file of that version) and resolved some more compilation
issues (missing dependency xml-apis-ext.jar, API changes in the dependencies).
> Attached is a patch with the changes. Please try this out if you have a moment and let
me know if this works for you. These changes are compatible with Java 6, so when applying
the patch you should still be able to build the SDK without changing your Java installation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message