Build the Feathers SDK from Source Code (legacy AS3/Starling version)
The document explains how to build the Feathers SDK from source code.
Most developers should use the Feathers SDK Manager instead. This tutorial is meant for advanced developers who want to modify the Feathers SDK compiler source code to contribute or to create a fork.
Requirements
Apache Ant 1.9.1 or newer
Java OpenJDK 8 or newer
A variety of vendors offer free Java OpenJDK builds that work well. If you’re not sure which one to choose, a good option is Temurin OpenJDK from Adoptium.net.
playerglobal.swc for Flash Player 32.0
Adobe AIR SDK for Flex developers (Download from Harman's AIR SDK website)
Build Steps
Clone the Feathers SDK repository from Github:
git clone --recursive https://github.com/feathersui/feathersui-starling-sdk.git ./feathersui-starling-sdk
You must include the
--recursive
flag to load the required sub-modules for Starling Framework and Feathers.Copy the playerglobal.swc file to frameworks/libs/player/32.0/playerglobal.swc.
In the root of the cloned repository, create a file named env.properties and set
env.AIR_HOME
to the path of the Adobe AIR SDK.Example:
env.AIR_HOME = /path/to/AIR_SDK
Run the following command in the root of the cloned repository:
ant main
When asked if you want to integrate with Adobe's embedded font support, type
y
and press theEnter
key.Continue by following the instructions to Build the Feathers SDK from a Binary Distribution.