I'm trying to migrate from Adobe's flash builder to IDEA. I have a fairly substantial flex project that I would like to develop using IntelliJ IDEA. Here's my source code layout:-
| |-- project
| | |-- main_app
| | | |-- libs // contains swcs as3core, puremvc, spring etc
| | | |-- src
| | | | |-- assets
| | | | | |-- embedded
| | | | | |-- locale
| | | | | | `-- en_GB // locale properties for the main app
| | | | | |-- raw
| | | | | `-- wrapper
| | | | `-- puremvc
| | | `-- test // FlexUnit unit tests in dirs below here
| | |
| | `-- lib // contains source and swcs used by main_app
| | |-- 3rdParty
| | |-- build
| | |-- locale
| | | `-- en_GB
| | |-- src // source for libs used in main_app
| | | `-- com
| | |
| | |-- swc // all swcs here and within copied to main_app/libs
| | | |-- 3rdParty // all swcs we don't compile ourselves ()
| | |
How do my lib sources, 3rd party libs, locale sources, main app etc map to IDEA concepts such as global library, module library etc?
How do I set up my dependancies?
Should I use my own flex-config.xml which I use when I build the project with ant??
I would like to follow the nice, wide, well worn path with IDEA and it flex support. I just want to do what works and not push it.
In short, what is the "best pratice" IDEA setup for a project like mine??