...
The steps below have been put into an Ant script that can be run by first installing FlexJS per the instructions in Using FlexJS with Adobe Flash Builder. Then go to the folder where you installed FlexJS and run "ant". The script should ask you for a folder to store all of the source code and then download (clone) all of the repos, ask you to approve up to 3 licenses, then build all of the source in the repos (except the source in the FlexJS folder). Once the script completes, it will tell you to change to the FlexJS source folder and run "ant" again there. Below is the steps it is performing. If you are using the script, skip the rest of this section and perform the steps in "After The Build Completes".
Get the ASJS code from Apache Git via
Code Block git clone https://git-wip-us.apache.org/repos/asf/flex-asjs flex-asjs cd flex-asjs git checkout develop
Get the Falcon code from Apache Git at
Code Block git clone https://git-wip-us.apache.org/repos/asf/flex-falcon.git flex-falcon cd flex-falcon git checkout develop
Get the FlexUnit code from Apache Git at
Code Block git clone https://git-wip-us.apache.org/repos/asf/flex-flexunit.git flex-flexunit cd flex-flexunit git checkout develop
Get the Flex SDK code from Apache Git at
Code Block git clone https://git-wip-us.apache.org/repos/asf/flex-sdk.git flex-sdk cd flex-sdk git checkout develop
Get the TLF code from Apache Git at
Code Block git clone https://git-wip-us.apache.org/repos/asf/flex-tlf.git tlf cd tlf git checkout develop
Get the BlazeDS code from Apache Git at
Code Block git clone https://git-wip-us.apache.org/repos/asf/flex-blazeds.git flex-blazeds cd flex-blazeds git checkout develop
- In the flex-sdk folder, run 'ant' to build the sdk.
- In the flex-falcon folder:
- In the compiler folder run 'ant' to build SWF compiler.
- In the compiler.jx folder, run 'ant' to build the cross-compiler
- In the flex-flexunit folder, run ant to build flexunit.
- In the flex-asjs folder, run 'ant' to build the FlexJS libraries.
After The Build Completes Anchor AfterBuildCompletes AfterBuildCompletes
- In the flex-asjs folder, change to examples/flexjs/DataBindingExample and run ant there. It should create bin-debug/DataBindingExample and bin/js-debug and bin/js-release folders containing a debug SWF, a debug HTML/JS/CSS version and a minified HTML/JS/CSS version respectively. Open the .html file in those folders in your browser.
...