| <?xml version="1.0"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| |
| <project name="aeongraphical" default="main" basedir="."> |
| |
| <property name="FLEX_HOME" location="${basedir}/../../.."/> |
| |
| <!-- Required for OSX 10.6 / Snow Leopard Performance. --> |
| <!-- Java 7 on Mac requires OSX 10.7.3 or higher and is 64-bit only --> |
| <!-- local.d32 is set/used in build.properties so this needs to be done first. --> |
| <condition property="local.d32" value="-d32"> |
| <and> |
| <os family="windows"/> |
| <equals arg1="${sun.arch.data.model}" arg2="64"/> |
| <equals arg1="${os.arch}" arg2="x86_64"/> |
| <equals arg1="${ant.java.version}" arg2="1.6"/> |
| </and> |
| </condition> |
| |
| <property file="${FLEX_HOME}/env.properties"/> |
| <property environment="env"/> |
| <property file="${FLEX_HOME}/local.properties"/> |
| <property file="${FLEX_HOME}/build.properties"/> |
| |
| <property name="debug" value="true"/> |
| <property name="strict" value="true"/> |
| |
| <target name="main" description="Full build"> |
| <!-- load the <mxmlc> task; we can't do this at the <project> level --> |
| <!-- because targets that run before flexTasks.jar gets built would fail --> |
| <taskdef resource="flexTasks.tasks" classpath="${basedir}/../../../lib/flexTasks.jar"/> |
| <!-- compile the checkinapp --> |
| <mxmlc fork="true" |
| file="${basedir}/src/AeonGraphical.as" |
| output="${basedir}/AeonGraphical.swf" > |
| <jvmarg line="${mxmlc.jvm.args}"/> |
| </mxmlc> |
| </target> |
| |
| <target name="clean" description="Full clean"> |
| <delete file="${basedir}/AeonGraphical.swf"/> |
| </target> |
| |
| </project> |