annotate bindings/as3/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@732 1 <?xml version="1.0" encoding="utf-8"?>
mas01mj@732 2
mas01mj@732 3 <project name="as3bridge" basedir=".">
mas01mj@732 4
mas01mj@732 5 <property file="build.properties" />
mas01mj@732 6 <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
mas01mj@732 7
mas01mj@732 8 <target name="compile">
mas01mj@732 9 <mkdir dir="build" />
mas01mj@732 10
mas01mj@732 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@732 12 <source-path path-element="ext" />
mas01mj@732 13 <!-- <compiler.include-libraries dir="." append="true">
mas01mj@732 14 <include name="lib/as3corelib.swc" />
mas01mj@732 15 </compiler.include-libraries> -->
mas01mj@732 16 </mxmlc>
mas01mj@732 17 </target>
mas01mj@732 18
mas01mj@732 19
mas01mj@732 20 <condition property="launch.executable" value="cmd" else="open">
mas01mj@732 21 <os family="windows" />
mas01mj@732 22 </condition>
mas01mj@732 23
mas01mj@732 24 <condition property="launch.argline" value="/c start " else="">
mas01mj@732 25 <os family="windows" />
mas01mj@732 26 </condition>
mas01mj@732 27
mas01mj@732 28 <target name="launch">
mas01mj@732 29 <exec executable="${launch.executable}" dir="." spawn="true">
mas01mj@732 30 <arg line="${launch.argline}" />
mas01mj@732 31 <arg line="build/${project.swf}" />
mas01mj@732 32 </exec>
mas01mj@732 33 </target>
mas01mj@732 34
mas01mj@737 35 <target name="package">
mas01mj@737 36 <mkdir dir="lib" />
mas01mj@737 37 <compc output="lib/${project.swc}"
mas01mj@737 38 include-classes="org.omras2.audiodb.Bridge">
mas01mj@737 39 <source-path path-element="${src.dir}"/>
mas01mj@737 40 <source-path path-element="ext" />
mas01mj@737 41 </compc>
mas01mj@737 42 </target>
mas01mj@737 43
mas01mj@732 44 <target name="compile-and-launch" depends="compile,launch" />
mas01mj@732 45 </project>