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

Unable to use sdk 4.9.0 in flash builder

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Apache Flex 4.9.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      windows vista, ant 1.8.4

      Description

      Followed download/install instructions on http://incubator.apache.org/flex/download.html I am not able to use 4.9.0 sdk:
      1. downloaded "Download Apache Flex® 4.9.0 (binaries)" for windows
      2. cd <flex.dir>/frameworks
      3. ant thirdparty-downloads
      4. "y" multiple times within ant process
      5. ant finished successfully (4 zip files in /in folder)

      I would expect at this stage I am able to use sdk for my projects. But even trying to add sdk into flash builder 4.7 fails with "adt.jar not found in classpath of C:/.../4.9.0"

      Investing more time into making sdk working. Copying all files from /in/flex_sdk_4.6.0.zip into main sdk folder (only files that do not exists = no overwrite). I am able now to add sdk into flash builder recognized as "Apache Flex 4.9.0 FP11.1 en_US". But compilation fails with "unable to open 'C:\...\4.9.0\frameworks{playerglobalHome}\11.1\playerglobal.swc' Definitions Unknown Flex Problem"

      Also tried 4.8.0 installer (with all dependencies) but received BSOD somewhere at the end of installation.

      Please fix install process or provide fully working sdk with all the dependencies just like what we (flex developers) were used to when adobe provided the sdk = download, unzip, use.

        Activity

        Hide
        jozefchutka Jozef Chutka added a comment -

        I have just discovered there is a /4.9.0/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat file after running this file, sdk seems to work nicely in flash builder. I recommend to add following instructions for developers using flash builder into install page:

        1. downloaded "Download Apache Flex® 4.9.0 (binaries)" for windows
        2. cd <flex.dir>/frameworks
        3. ant thirdparty-downloads
        4. "y" multiple times within ant process
        5. cd <flex.dir>/ide/flashbuilder
        6. run "makeApacheFlexForFlashBuilder.bat ../../../4.9.0-FB"

        At this stage there is a working SDK in 4.9.0-FB that can be used in flash builder 4.7.

        However it seems it has installed air sdk into the folder as well but did not asked for version (.bat file contains 3.4 that is not the latest one)

        Show
        jozefchutka Jozef Chutka added a comment - I have just discovered there is a /4.9.0/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat file after running this file, sdk seems to work nicely in flash builder. I recommend to add following instructions for developers using flash builder into install page: 1. downloaded "Download Apache Flex® 4.9.0 (binaries)" for windows 2. cd <flex.dir>/frameworks 3. ant thirdparty-downloads 4. "y" multiple times within ant process 5. cd <flex.dir>/ide/flashbuilder 6. run "makeApacheFlexForFlashBuilder.bat ../../../4.9.0-FB" At this stage there is a working SDK in 4.9.0-FB that can be used in flash builder 4.7. However it seems it has installed air sdk into the folder as well but did not asked for version (.bat file contains 3.4 that is not the latest one)
        Hide
        jozefchutka Jozef Chutka added a comment -

        makeApacheFlexForFlashBuilder.bat does the magic

        Show
        jozefchutka Jozef Chutka added a comment - makeApacheFlexForFlashBuilder.bat does the magic
        Hide
        jmclean Justin Mclean added a comment -

        Updated scripts and README svn checkin 1427260.

        AIR 3.4 is the version tested with Apache Flex 4.9. 3.5 should work but hasn't been tested (AFAIK). Next release will download AIR 3.5 or 3.6 if it is out of beta.

        Show
        jmclean Justin Mclean added a comment - Updated scripts and README svn checkin 1427260. AIR 3.4 is the version tested with Apache Flex 4.9. 3.5 should work but hasn't been tested (AFAIK). Next release will download AIR 3.5 or 3.6 if it is out of beta.

          People

          • Assignee:
            Unassigned
            Reporter:
            jozefchutka Jozef Chutka
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development