Created
July 6, 2010 00:58
-
-
Save mattupstate/464872 to your computer and use it in GitHub Desktop.
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
<!-- Compiles the project into a SWF. --> | |
<target name="compile-swf" depends="init,clean-bin"> | |
<java jar="${env.FLEX_HOME}/lib/mxmlc.jar" dir="${env.FLEX_HOME}/frameworks" fork="true" failonerror="true"> | |
<arg value="${debug.compile.target}" /> | |
<arg value="-output=${debug.compile.output}" /> | |
<arg value="-source-path=${src.dir}" /> | |
<arg value="-library-path+=${lib.dir}" /> | |
<arg value="-static-link-runtime-shared-libraries=true" /> | |
<arg value="-incremental=true" /> | |
<arg value="-verbose-stacktraces=true" /> | |
<arg value="-headless-server=true" /> | |
</java> | |
</target> | |
<!-- Compiles the unit tests into a SWF. --> | |
<target name="compile-test" depends="init,clean-test"> | |
<java jar="${env.FLEX_HOME}/lib/mxmlc.jar" dir="${env.FLEX_HOME}/frameworks" fork="true" failonerror="true"> | |
<arg value="${test.compile.target}" /> | |
<arg value="-output=${test.compile.output}" /> | |
<arg value="-source-path=${src.dir}" /> | |
<arg value="-source-path+=${test.src.dir}" /> | |
<arg value="-library-path+=${lib.dir}" /> | |
<arg value="-library-path+=${test.lib.dir}" /> | |
<arg value="-static-link-runtime-shared-libraries=true" /> | |
<arg value="-incremental=true" /> | |
<arg value="-verbose-stacktraces=true" /> | |
<arg value="-headless-server=true" /> | |
</java> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment