How can I replicate the functionality of the Flash Builder's release tool in ant?

Posted by Chris R on Stack Overflow See other posts from Stack Overflow or by Chris R
Published on 2009-09-17T15:51:43Z Indexed on 2010/04/14 19:13 UTC
Read the original article Hit count: 226

Filed under:
|
|
|
|

I want to build an ant script that does exactly the same compilation actions on a Flash Builder 4 (Gumbo) project as the Project->Export Release Build... menu item does. My ant-fu is reasonably strong, that's not the issue, but rather I'm not sure exactly what that entry is doing.

Some details:

  • I'll be using the 3.x SDK (say, 3.2 for the sake of specificity) to build this.
  • I'll be building on a Mac, and I can happily use ant, make, or some weird shell script stuff if that's the way you roll.
  • Any useful optimizations you can suggest will be welcome.
  • The project contains a few assets, MXML and actionscript source, and a couple of .swcs that are built into the project (not RSL'd)

Can someone provide an ant build.xml or makefle that they use to build a release .swf file from a similar Flex project?

© Stack Overflow or respective owner

Related posts about flex

Related posts about flex3