Created
November 20, 2009 16:19
-
-
Save johnlindquist/239593 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<project name="Hello Ant!" default="Compile SWF"> | |
<target name="Say Hello"> | |
<echo>Hello Ant</echo> | |
</target> | |
<property file="build.properties"/> | |
<taskdef resource="flexTasks.tasks" classpath="${BUILD}/flexTasks.jar"/> | |
<target name="Compile SWF"> | |
<mxmlc | |
file="${SOURCE}/AntDemos.mxml" | |
output="${DEPLOY}/AntDemos.swf" | |
link-report="${BUILD}/classesToExclude.xml" | |
> | |
<load-config filename="${BUILD}/flex-config.xml"/> | |
</mxmlc> | |
<buildnumber file="build.number"/> | |
</target> | |
<target name="Compile Module"> | |
<mxmlc | |
file="${SOURCE}/AntDemos.mxml" | |
output="${BASE_DIR}/modules/dummyModule.swf" | |
load-externs="${BUILD}/classesToExclude.xml" | |
> | |
</mxmlc> | |
</target> | |
<target name="Compile SWC"> | |
<compc | |
output="${LIBS}/dummySWC.swc" | |
load-externs="${BUILD}/classesToExclude.xml" | |
> | |
<include-sources dir="${BASE_DIR}/swcTest" includes="*"/> | |
</compc> | |
</target> | |
<!-- http://opensource.adobe.com/wiki/display/flexsdk/ASDoc+in+MXML --> | |
<target name="Compile ASDocs"> | |
<asdoc output="${DOCS}"> | |
<doc-sources path-element="${SOURCE}"/> | |
</asdoc> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment