How to compile Starling Builder demo
We used IntelliJ IDEA as IDE and the project files are checked in. For other IDEs you need to create the project files yourselves.
IntelliJ IDEA
Intall AIR SDK 19+ and IntelliJ IDEA Ultimate Edition
Checkout the repo using:
git clone https://github.com/yuhengh/starling-builder-engine
Open IntelliJ IDEA, goto File → Open, then point to the directory of the git repo
Goto File → Project Structure → SDKs, create a FLEX/AIR SDK named AIRSDK.
Goto Run → Edit Configurations, create a Flash App Run/Debug Configuration and choose the demo/demo_web build config
Run the configuration just created
Flash Builder
Intall AIR SDK 19+ and Flash Builder 4.7
Checkout the repo using:
git clone https://github.com/yuhengh/starling-builder-engine
Goto menu File → New → ActionScript Mobile Project, select starling-builder-engine folder
Set the following ActionScript Build Path
Source path | src, demo-2.x/src |
Library path | demo-2.x/libs |
FlashDevelop
Intall AIR SDK 19+ and FlashDevelop
Checkout the repo using:
git clone https://github.com/yuhengh/starling-builder-engine
Open FlashDevelop, Goto Project → New Project → AIR Mobile AS3 App, select starling-builder-engine folder
Set the following ActionScript Build Path (Right click folder in project tab and choose “Add Source Path” to set source path, right click folder in project tab and choose “Add To Library” to set library path)
Source path | src, demo-2.x/src |
Library path | demo-2.x/libs |
Build with Ant
Intall AIR SDK 19+ and Apache Ant
Checkout the repo using:
git clone https://github.com/yuhengh/starling-builder-engine
open demo/buildscript/build.properties, change airsdk.root to point to your AIR sdk location. Windows user should also append .exe to property adl
cd demo/buildscript and type ant to build
Edit the layout files inside demo project
-
Open the editor, extract demo_workspace and set it as your workspace folder
Open the layout files used in the project (under demo/src/starlingbuilder/demo/layouts folder), save them when you are done editing.
Scaffold project
While the demo project demonstrates most of the features the editor supports, you may not need all of them in your project. There's also a scaffold folder inside starling-builder-engine/scaffold, it provides a minimal boilerplate code to get you started. You can setup the scaffold project just like the demo project.