-
Notifications
You must be signed in to change notification settings - Fork 30
IntelliJ IDEA
- gradle is installed;
- IntelliJ IDEA is installed;
-
Create Flash Builder project files using gradle:
$ cd <project_workspace> $ gradle flashbuilder $ gradle exportDependencies
-
Import project:
-
Click File/Import Project menu;
-
Choose project workspace;
-
Click Ok button;
-
Select Import project from external model option;
-
Select Flash Builder option;
-
Click Next button;
-
Click Finish button;
-
Add new Flex SDK located at
~/.gradle/gradleFx/sdks/<hash>
; -
Name new Flex SDK as
Flex SDK 4.12.0
; -
Click Ok button;
-
-
Fix project settings:
-
Click File/Project Structure... menu;
-
Go to Project section;
-
In Project SDK field, select Flex SDK 4.12.0;
-
Go to Modules/DashPlugin/General section;
-
In field Output file name type
dashas.swf
; -
In field Output folder type
<workspace>/site/demo/debug
; -
Disable Use HTML wrapper option;
-
Click Ok button;
-
-
Add dependencies:
-
Click File/Project Structure... menu;
-
Go to Modules/DashPlugin/Dependencies section;
-
Click Add/New library... button;
-
Select all
*.swc
files from<workspace>/lib
directory; -
Change Linkage of all new libraries to Test;
-
Click Ok button;
-
-
Fix debug configuration:
-
Click Run/Edit configuration menu;
-
Remove all configurations;
-
Add new Flash Remote Debug configuration;
-
In Build configuration field, select DashPlugin;
-
Click Ok button;
-
-
Add test runner:
-
Click Run/Edit configuration menu;
-
Add new FlexUnit configuration;
-
In Build configuration field, select DashPlugin;
-
In Test field, select All in Package;
-
In Launch with field, select Flash Player (please check if a path to the Flash Player Debugger is correct);
-
Click Ok button;
-