You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Martin Heidegger (Commented) (JIRA)" <ji...@apache.org> on 2012/04/19 02:56:47 UTC

[jira] [Commented] (FLEX-48) Building the SDK with Java 7

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

Martin Heidegger commented on FLEX-48:
--------------------------------------

I patched the sources, now it mentions something about deprecation. So it seems to work - however: you fixed more than java 1.7 in your patch file which makes it very hard to read what you did to fix the problem.
                
> Building the SDK with Java 7
> ----------------------------
>
>                 Key: FLEX-48
>                 URL: https://issues.apache.org/jira/browse/FLEX-48
>             Project: Apache Flex
>          Issue Type: Improvement
>            Reporter: Christophe Herreman
>            Assignee: Bertrand Delacretaz
>         Attachments: java-7.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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira