Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exporting release build - Flex through Intellij Idea

How do I generate release build of my Flex Application
through IntelliJ Idea, like I do in Flex Builder?

like image 427
simplfuzz Avatar asked Aug 05 '10 15:08

simplfuzz


People also ask

What does build in IntelliJ do?

Build command, IntelliJ IDEA compiles all the classes inside your build target and places them inside the output directory. When you change any class inside the build target and then execute the build action, IntelliJ IDEA performs the incremental build that compiles only the changed classes.

How do I import an existing project into IntelliJ?

Launch IntelliJ IDEA. If the Welcome screen opens, press Ctrl+Shift+A , type project from existing sources , and click the Import project from existing sources action in the popup. Otherwise, from the main menu, select File | New | Project from Existing Sources.


1 Answers

  1. Right click on any project and select module setting.
  2. Select tab "Flex compiler setting"
  3. Last field on this tab is "Additional compiler options:" add "-debug=false" without double quotes to it.
  4. Do this for all the subprojects. (From this form only you can choose different projects).
  5. do a project Rebuild and you will get a smaller swf.

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.

like image 58
Zimbabao Avatar answered Nov 15 '22 09:11

Zimbabao