Created
December 9, 2010 22:19
-
-
Save tpryan/735429 to your computer and use it in GitHub Desktop.
Fragment of an ANT script to compile Flex Hero for devices.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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