Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33110

Building the SDK with Java 7

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Adobe Flex SDK Next
    • None
    • None

    Description

      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.

      Attachments

        1. SpriteTranscoder.patch
          0.9 kB
          Christophe Herreman
        2. modules-thirdparty-batik-build.xml.patch
          135 kB
          Christophe Herreman
        3. modules-compiler-build.xml.patch
          1 kB
          Christophe Herreman
        4. modules-build.xml.patch
          0.7 kB
          Christophe Herreman
        5. ImageCacher.patch
          0.7 kB
          Christophe Herreman
        6. downloads.patch
          3 kB
          Christophe Herreman
        7. java-7.patch
          142 kB
          Christophe Herreman

        Activity

          People

            cframpton Carol Frampton
            aharui Alex Harui
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: