-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
40 lines (39 loc) · 1.46 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0"?>
<project name="Traces" default="main" basedir=".">
<property name="FLEX_HOME" value="../flex_sdk_4.5.1" />
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
<property name="APP_SRC" value="${basedir}/src"/>
<property name="OUTPUT" value="${basedir}/bin/Traces.swc"/>
<target name="main" depends="clean,compile"/>
<target name="clean">
<delete dir="${OUTPUT}"/>
</target>
<target name="compile">
<fileset dir="${APP_SRC}" id="src.files">
<include name="**/**"/>
</fileset>
<pathconvert property="src_classes" pathsep=" " dirsep="." refid="src.files">
<map from="\" to="/"/>
<map from="${APP_SRC}/" to=""/>
<mapper>
<chainedmapper>
<globmapper from="*.as" to="*"/>
</chainedmapper>
</mapper>
</pathconvert>
<compc output="${OUTPUT}"
include-classes="${src_classes}"
actionscript-file-encoding="UTF-8"
keep-generated-actionscript="true"
static-link-runtime-shared-libraries="true"
debug="true">
<source-path path-element="${APP_SRC}" />
<compiler.include-libraries dir="lib" append="true">
<include name="as3corelib.swc" />
</compiler.include-libraries>
<external-library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs/framework.swc" />
</external-library-path>
</compc>
</target>
</project>