...
- Install Java from: http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Install Maven 3.3.1 or greater from: http://maven.apache.org/download.cgi (I used 3.3.9)
- Download the archive
- Unpack the archive
- 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)
- 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)
- 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)
- Build Compiler (flex-falcon)
Clone:
Code Block
language bash git clone https://git-wip-us.apache.org/repos/asf/flex-falcon.git flex-falconGo into the new directory:
Code Block
language bash cd flex-falcon git checkout developBuild the utils: (This is optional as the build can also fetch the artifacts from Apache Snapshot Maven Repo)
Code Block
language bash mvn -s settings-template.xml -P utils clean installBuild the compiler:
Code Block
language bash mvn -s settings-template.xml clean installThis will execute all unit-tests and integration-tests. You can however run the build without any tests:
Code Block
language bash mvn -s settings-template.xml -DskipTests -P utils clean installAnd if you just want to run the unit-tests and skip the integration-tests:
Code Block
language bash mvn -s settings-template.xml -DskipITs -P utils clean install- Build Typedefs (flex-typedefs)
Clone:
Code Block
language bash git clone https://git-wip-us.apache.org/repos/asf/flex-typedefs.git flex-typedefsGo into the new directory:
Code Block
language bash cd flex-typedefs git checkout developBuild the typedefs:
Code Block
language bash mvn -s settings-template.xml clean install- Build the Framework (flex-asjs)
Clone:
Code Block
language bash git clone https://git-wip-us.apache.org/repos/asf/flex-asjs.git flex-asjsGo into the new directory:
Code Block
language bash cd flex-asjs git checkout developBuild the framework libs:
Code Block
language bash mvn -s settings-template.xml clean installoptionally you can also build the distribution binaries:
Code Block
language bash mvn -s settings-template.xml -P build-distribution clean installoptionally you can also build the distribution binaries and a local distribution (including dependencies for Flash, AIR) in a local directory:
Code Block
language bash set distributionTargetFolder={some directory path} mvn -s settings-template.xml -P build-distribution clean install
...