-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbuild.xml
34 lines (27 loc) · 1.26 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
<?xml version="1.0" encoding="utf-8"?>
<project name="downloadPlugin Builder" basedir=".">
<import file="${flex-build}" description="Import common kaltura build targets like flex-extract-classes"/>
<property file="build.properties" description="Load project build properties"/>
<target name="build" depends="clean, init, compile">
<copy file="${project.outputfile}" todir="${solution.binplugins}"/>
<echo>Project built successfully</echo>
</target>
<target name="init">
<mkdir dir="${project.bin}" description="Make sure there is a bin directory"/>
</target>
<target name="compile">
<echo>Compiling ${project.outputfile}</echo>
<mxmlc file="${project.asfile}" output="${project.outputfile}" load-externs="${solution.reportfile}">
<load-config filename="${project.configfile}"/>
<source-path path-element="${project.src}"/>
<!-- Every directory should have a different compiler.library-path tag -->
<compiler.library-path dir="${solution.bin}" append="true">
<include name="kdp3Lib.swc" />
</compiler.library-path>
</mxmlc>
</target>
<target name="clean">
<echo>Deleting ${project.bin}</echo>
<delete dir="${project.bin}" failonerror="false"/>
</target>
</project>