Versions Compared

Key

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

...

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".

 

  1. 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
    
  2. 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
    
  3. 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
    
  4. 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
    
  5. 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
    
  6. 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
  7. In the flex-sdk folder, run 'ant' to build the sdk.
  8. In the flex-falcon folder:
    1. In the compiler folder run 'ant' to build SWF compiler.
    2. In the compiler.jx folder, run 'ant' to build the cross-compiler
  9. In the flex-flexunit folder, run ant to build flexunit.
  10. In the flex-asjs folder, run 'ant' to build the FlexJS libraries.


Anchor
AfterBuildCompletes
AfterBuildCompletes
After The Build Completes

  1. 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.

...