Reputation: 12905
How do I generate release build of my Flex Application
through IntelliJ Idea, like I do in Flex Builder?
Upvotes: 6
Views: 4494
Reputation: 1528
Alternate answer:
Instead of creating a Flex Module, create a Java Module, and add 2 Flex Facet's to it. One facet will be configured as the debug facet, the other as the release facet. This process will create 2 swf files, debug and release versions.
Note: In your HTML wrapper, you will have to call either debug.swf or release.swf. Or you could create 2 wrappers.
Upvotes: 2
Reputation: 8240
Only problem is you need to keep separate project files for debug and release build, but thats ok, as you release builds are done rarely.
Upvotes: 10
Reputation: 3644
Does IntelliJ support Ant? Maybe not the answer you're looking for, but you could use the Flex Ant Tasks to build outside of FB.
http://livedocs.adobe.com/flex/3/html/help.html?content=anttasks_1.html
Upvotes: 1