-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.xml
More file actions
61 lines (50 loc) · 2.71 KB
/
project.xml
File metadata and controls
61 lines (50 loc) · 2.71 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" encoding="UTF-8"?>
<project>
<target name="pre_custom">
<mkdir dir="${dir.lib}"/>
<mkdir dir="${dir.rsl}"/>
<mkdir dir="${dot.lib}"/>
<mkdir dir="${dot.rsl}"/>
</target>
<target name="pre_compile">
<loadfile property="depend.libs" srcfile="${basedir}/.dependlib" quiet="true" />
<if>
<isset property="depend.libs" />
<then>
<foreach target="copy_lib" list="${depend.libs}" delimiter="," param="depend.lib" trim="true" parallel="${config.parallel}" maxthreads="${config.maxthread}" inheritall="true" />
</then>
</if>
<loadfile property="depend.rsls" srcfile="${basedir}/.dependrsl" quiet="true" />
<if>
<isset property="depend.rsls" />
<then>
<foreach target="copy_rsl" list="${depend.rsls}" delimiter="," param="depend.rsl" trim="true" parallel="${config.parallel}" maxthreads="${config.maxthread}" inheritall="true" />
</then>
</if>
</target>
<target name="compile" depends="pre_custom,custom,pre_compile">
<mxmlc file="${dir.src}/${ant.project.name}.as" output="${dir.bin}/${ant.project.name}.swf" debug="${config.debug}" debug-password="${config.debug.password}" optimize="${config.optimize}" incremental="false" locale="${config.locale}" target-player="${config.player.version}" swf-version="${config.swf.version}" accessible="true" static-rsls="true" fork="true">
<load-config filename="${config.flex_config.file}" />
<source-path path-element="${dir.src}" />
<external-library-path dir="${config.dir.playerglobal}" includes="**/*.swc" append="true" />
<library-path dir="${dot.lib}" includes="**/*.swc" append="true" />
<library-path dir="${dir.lib}" includes="**/*.swc" append="true" />
<library-path dir="${config.dir.lib}" includes="**/*.swc" append="true" />
<external-library-path dir="${dot.rsl}/" includes="**/*.swc" append="true" />
<external-library-path dir="${dir.rsl}/" includes="**/*.swc" append="true" />
<external-library-path dir="${config.dir.rsl}/" includes="**/*.swc" append="true" />
<jvmarg line="${jvmarg.mxmlc}" />
</mxmlc>
</target>
<target name="build" depends="compile">
</target>
<target name="wrapper">
<html-wrapper output="${dir.bin}" file="${ant.project.name}.html" swf="${ant.project.name}" width="826" height="462" bgcolor="#F0F0F0" history="false" express-install="true" version-detection="false" version-major="${config.player.version-major}" version-minor="${config.player.version-minor}" wmode="${config.wmode}" version-revision="0" />
</target>
<target name="copy_lib">
<copy file="${config.dir.src}/${depend.lib}/bin/${depend.lib}.swc" todir="${dot.lib}" />
</target>
<target name="copy_rsl">
<copy file="${config.dir.src}/${depend.rsl}/bin/${depend.rsl}.swc" todir="${dot.rsl}" />
</target>
</project>