Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install Apache Flex 4.9 or later as an SDK in FB.
  2. Shut down FB
  3. Install Google Closure library. You can get a zip from: http://code.google.com/p/closure-library/downloads/list
  4. Set the environment variable GOOG_HOME to point to the folder that contains the closure and third_party folders. This folder's name and location may be different in different version of Google Closure.
  5. Unzip FlexJSOverlayApacheFlexJS.zip (win) or ApacheFlexJS.tar.gz (mac) from http://people.apache.org/~aharui/FlexJS/ into a some other an empty folder.
  6. Change to that folder and run deploy.sh or deploy.bat <path to Apache Flex SDK folder> <path to where the script should make a copy of Apache Flex SDK folder>
    Note that the deploy script will neuter the Flex aspects of this folder and replace it with the FlexJS SWC and a new MXML and AS compiler known as Falcon that knows how to compile FlexJS applicationscopy the AIR and FlashPlayer SDKs from the Apache Flex SDK folder and create a few other files and folders required to make Flash Builder recognize that folder as a Flex SDK.
  7. Run Flash Builder
  8. In the Flash Builder Preferences menu add this new folder as a Flex SDK.
  9. Choose from the File menu, Import, Run/Debug, Launch Configurations
  10. Choose the ide/flashbuilder folder from this modified copy of the Apache Flex SDK.
    There should now be several new configs in the Run menu under External Tools

...