-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
36 lines (31 loc) · 1.23 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
<project name="EngineLib" default="EngineLib" basedir=".">
<property file="build.properties"/>
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<target name="EngineLib">
<path id="paths">
<pathelement path="${basedir}/"/>
</path>
<pathconvert dirsep="/" property="covbasedir" refid="paths"/>
<fileset dir="${covbasedir}/src" id="files">
<include name="**/*.as"/>
</fileset>
<pathconvert property="classes" pathsep=" " dirsep="." refid="files">
<map from="\" to="/"/>
<map from="${covbasedir}/src/" to=""/>
<mapper>
<chainedmapper>
<globmapper from="*.as" to="*"/>
</chainedmapper>
</mapper>
</pathconvert>
<echo message="${classes}"/>
<compc output="${OUTPUT_DIR}/EngineLib.swc" include-classes="${classes}"
optimize="true" benchmark="true" strict="true" actionscript-file-encoding="utf-8"
locale="en_US" allow-source-path-overlap="true" >
<source-path path-element="${covbasedir}/src"/>
<compiler.external-library-path dir="${LIBS_DIR}" append="true">
<!-- <include name="*.swc"/> -->
</compiler.external-library-path>
</compc>
</target>
</project>