Versions Compared

Key

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

...

  1. Install Java from: http://www.oracle.com/technetwork/java/javase/downloads/index.html
  2. Install Maven 3.3.1 or greater from: http://maven.apache.org/download.cgi (I used 3.3.9)
    1. Download the archive
    2. Unpack the archive
    3. Set your systems PATH to the bin directory (I usually define a MAVEN_HOME to the unpacked directory and then add $MAVEN_HOME/bin to the PATH)
  3. Download the "Flash Debug Player projector content debugger" for your system from: https://www.adobe.com/support/flashplayer/debug_downloads.html (The Browser plugin or ActiveX component will not work)
    1. Set an environment variable called FLASHPLAYER_DEBUGGER and set it to the path of the Flash Debug Player executable (On windows and Linux machined this is trivial, on Mac's this will look something like this: {Place the Player is installed to}/Flash Player.app/Contents/MacOS/Flash Player Debugger)
  4. Build Compiler (flex-falcon)
    1. Clone:

      Code Block
      languagebash
      git clone https://git-wip-us.apache.org/repos/asf/flex-falcon.git flex-falcon
    2. Go into the new directory:

      Code Block
      languagebash
      cd flex-falcon
      git checkout develop
    3. Build the utils: (This is optional as the build can also fetch the artifacts from Apache Snapshot Maven Repo)

      Code Block
      languagebash
      mvn -s settings-template.xml -P utils clean install
    4. Build the compiler:

      Code Block
      languagebash
      mvn -s settings-template.xml clean install

      This will execute all unit-tests and integration-tests. You can however run the build without any tests:

      Code Block
      languagebash
      mvn -s settings-template.xml -DskipTests -P utils clean install

      And if you just want to run the unit-tests and skip the integration-tests:

      Code Block
      languagebash
      mvn -s settings-template.xml -DskipITs -P utils clean install
  5. Build Typedefs (flex-typedefs)
    1. Clone:

      Code Block
      languagebash
      git clone https://git-wip-us.apache.org/repos/asf/flex-typedefs.git flex-typedefs
    2. Go into the new directory:

      Code Block
      languagebash
      cd flex-typedefs
      git checkout develop
    3. Build the typedefs:

      Code Block
      languagebash
      mvn -s settings-template.xml clean install
  6. Build the Framework (flex-asjs)
    1. Clone:

      Code Block
      languagebash
      git clone https://git-wip-us.apache.org/repos/asf/flex-asjs.git flex-asjs
    2. Go into the new directory:

      Code Block
      languagebash
      cd flex-asjs
      git checkout develop
    3. Build the framework libs:

      Code Block
      languagebash
      mvn -s settings-template.xml clean install

      optionally you can also build the distribution binaries:

      Code Block
      languagebash
      mvn -s settings-template.xml -P build-distribution clean install

      optionally you can also build the distribution binaries and a local distribution (including dependencies for Flash, AIR) in a local directory:

      Code Block
      languagebash
      set distributionTargetFolder={some directory path}
      mvn -s settings-template.xml -P build-distribution clean install

...