Created
August 16, 2010 20:04
-
-
Save awd/527633 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- build.xml --> | |
| <project name="Flex Ant Tasks Build Script" basedir="." default="compile_modules"> | |
| <taskdef resource="flexTasks.tasks" classpath="${basedir}/vendor/flex/ant/lib/flexTasks.jar" /> | |
| <property name="FLEX_HOME" value="${basedir}/vendor/flex"/> | |
| <property name="APP_ROOT" value="${basedir}/app/flex"/> | |
| <property name="DEPLOY_DIR" value="${basedir}/public/bin-release" /> | |
| <property name="DEBUG" value="false" /> | |
| <property name="OPTIMIZE" value="true" /> | |
| <!-- delete and create the DEPLOY dir again --> | |
| <target name="init"> | |
| <delete dir="${DEPLOY_DIR}" /> | |
| <mkdir dir="${DEPLOY_DIR}" /> | |
| </target> | |
| <!-- Build and output the Woople.swf--> | |
| <target name="compile_woople" depends="init"> | |
| <mxmlc | |
| file="${APP_ROOT}/Woople.mxml" | |
| output="${DEPLOY_DIR}/Woople.swf" | |
| link-report="${DEPLOY_DIR}/report.xml" | |
| actionscript-file-encoding="UTF-8" | |
| debug="${DEBUG}" | |
| optimize="${OPTIMIZE}"> | |
| <load-config filename="config/flex-config.xml"/> | |
| </mxmlc> | |
| </target> | |
| <target name="compile_modules" depends="compile_woople"> | |
| <mxmlc | |
| file="${APP_ROOT}/com/woople/admin/Admin.mxml" | |
| output="${DEPLOY_DIR}/com/woople/admin/Admin.swf" | |
| load-externs="${DEPLOY_DIR}/report.xml" | |
| actionscript-file-encoding="UTF-8" | |
| debug="${DEBUG}" | |
| optimize="${OPTIMIZE}"> | |
| <load-config filename="config/flex-config.xml"/> | |
| </mxmlc> | |
| </target> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment