Skip to content

Instantly share code, notes, and snippets.

@hivaga
Forked from tpryan/build.xml
Created December 17, 2010 09:11
Show Gist options
  • Save hivaga/744686 to your computer and use it in GitHub Desktop.
Save hivaga/744686 to your computer and use it in GitHub Desktop.
Compile Flex with ANT
<target name="compile">
<echo message="Compiling swf"/>
<mxmlc file="${full path to the project File}" output="${Name for the compiled swf}">
<load-config filename="${FLEX_HOME}/frameworks/airmobile-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<static-link-runtime-shared-libraries />
<!-- Include this piece to pull in the Flex Framework or it won't compile. -->
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs/*" />
</compiler.library-path>
</mxmlc>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment