Mercurial > hg > audiodb
annotate bindings/as3/examples/simpletest/build.xml @ 770:c54bc2ffbf92 tip
update tags
author | convert-repo |
---|---|
date | Fri, 16 Dec 2011 11:34:01 +0000 |
parents | 18974af682cf |
children |
rev | line source |
---|---|
mas01mj@737 | 1 <?xml version="1.0" encoding="utf-8"?> |
mas01mj@737 | 2 |
mas01mj@737 | 3 <project name="simpletest" basedir="."> |
mas01mj@737 | 4 |
mas01mj@737 | 5 <property file="build.properties" /> |
mas01mj@737 | 6 <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" /> |
mas01mj@737 | 7 |
mas01mj@737 | 8 <target name="compile"> |
mas01mj@737 | 9 <mkdir dir="build" /> |
mas01mj@737 | 10 |
mas01mj@737 | 11 <mxmlc file="${project.class}" target-player="10.0.0" output="build/${project.swf}" compiler.as3="${compiler.as3}" compiler.optimize="true" compiler.strict="${compiler.strict}" actionscript-file-encoding="${compiler.encoding}" keep-generated-actionscript="${compiler.keep-generated-as}" incremental="false" benchmark="${compiler.benchmark}" debug="true" use-network="${compiler.use-network}" warnings="${compiler.warnings}" fork="false"> |
mas01mj@737 | 12 <source-path path-element="${src.dir}" /> |
mas01mj@737 | 13 <compiler.include-libraries dir="../../lib" append="true"> |
mas01mj@737 | 14 <include name="as3bridge.swc" /> |
mas01mj@737 | 15 </compiler.include-libraries> |
mas01mj@737 | 16 </mxmlc> |
mas01mj@737 | 17 </target> |
mas01mj@737 | 18 |
mas01mj@737 | 19 |
mas01mj@737 | 20 <condition property="launch.executable" value="cmd" else="open"> |
mas01mj@737 | 21 <os family="windows" /> |
mas01mj@737 | 22 </condition> |
mas01mj@737 | 23 |
mas01mj@737 | 24 <condition property="launch.argline" value="/c start " else=""> |
mas01mj@737 | 25 <os family="windows" /> |
mas01mj@737 | 26 </condition> |
mas01mj@737 | 27 |
mas01mj@737 | 28 <target name="launch"> |
mas01mj@737 | 29 <exec executable="${launch.executable}" dir="." spawn="true"> |
mas01mj@737 | 30 <arg line="${launch.argline}" /> |
mas01mj@737 | 31 <arg line="build/${project.swf}" /> |
mas01mj@737 | 32 </exec> |
mas01mj@737 | 33 </target> |
mas01mj@737 | 34 |
mas01mj@737 | 35 <target name="compile-and-launch" depends="compile,launch" /> |
mas01mj@737 | 36 </project> |