-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
61 lines (45 loc) · 1.96 KB
/
build.xml
File metadata and controls
61 lines (45 loc) · 1.96 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0"?>
<project name="AS3CoreInterfaces" basedir="." default="build-all">
<!-- Compile Release SWC -->
<target name="compile" >
<echo>[compile] Loading properties from ${properties.loc}</echo>
<property file="${properties.loc}" />
<echo>[compile] Compiling release SWC</echo>
<echo>[compile] Using Flex SDK at: ${FLEX_HOME}</echo>
<java jar="${FLEX_HOME}/lib/compc.jar" dir="${FLEX_HOME}/frameworks" fork="true" failonerror="true">
<!-- Build our SWC with a versioned name. -->
<arg value="-output=${project.bin}/${project.name.versioned}.swc" />
<!-- Target Player -->
<arg value="-target-player=${target.player}" />
<!-- We want all the org package classes in the SWC being built. -->
<arg value="-include-sources=${project.src}" />
<!-- Keep the magic alive. -->
<arg value="-keep-as3-metadata+=Event" />
<arg value="-keep-as3-metadata+=API" />
<arg value="-keep-as3-metadata+=Inspectable" />
<!-- Boolean mosh pit! -->
<arg value="-incremental=true" />
<arg value="-static-link-runtime-shared-libraries=true" />
<arg value="-verbose-stacktraces=true" />
<arg value="-headless-server=true" />
</java>
<echo>[compile] Removing cache file from ${project.bin}</echo>
<delete file="${project.bin}/${project.name.versioned}.swc.cache" />
<echo>[compile] Release SWC ${project.name.versioned}.swc created successfully</echo>
</target>
<target name="build-all" >
<antcall target="compile">
<param name="properties.loc" value="${basedir}/build_FP9.properties" />
</antcall>
<antcall target="compile">
<param name="properties.loc" value="${basedir}/build_FP10.properties" />
</antcall>
<antcall target="compile">
<param name="properties.loc" value="${basedir}/build_FP10.1.properties" />
</antcall>
<antcall target="compile">
<param name="properties.loc" value="${basedir}/build_FP10.2.properties" />
</antcall>
<echo>[build] COMPLETE</echo>
</target>
</project>