-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.xml
56 lines (47 loc) · 1.59 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<project name="imei" default="dist">
<description>
Ant build script for Titanium Android module imei
</description>
<property name="ti.module.root" location="${basedir}"/>
<property file="build.properties" />
<!-- Make sure 'architectures' is in manifest file -->
<property file="${ti.module.root}/manifest" prefix="manifest"/>
<fail message="Missing required manifest key 'architectures'.">
<condition>
<not>
<isset property="manifest.architectures"/>
</not>
</condition>
</fail>
<fail message="Manifest key 'architectures' has no value.">
<condition>
<not>
<length string="${manifest.architectures}" trim="true" when="greater" length="0"/>
</not>
</condition>
</fail>
<!-- Copy documentation subdirectories -->
<mkdir dir="${basedir}/documentation"/>
<!-- <copy todir="${basedir}/documentation">
<fileset dir="${basedir}/../documentation"/>
</copy> -->
<!-- Copy example subdirectories -->
<mkdir dir="${basedir}/example"/>
<!-- <copy todir="${basedir}/example">
<fileset dir="${basedir}/../example"/>
</copy> -->
<!-- Copy assets subdirectories -->
<mkdir dir="${basedir}/assets"/>
<!-- <copy todir="${basedir}/assets">
<fileset dir="${basedir}/../assets"/>
</copy> -->
<!-- Copy license -->
<!-- <copy todir="${basedir}" file="${basedir}/../LICENSE"/> -->
<target name="cleancopy" description="Delete old copies">
<delete dir="${basedir}/documentation"/>
<delete dir="${basedir}/example"/>
<delete dir="${basedir}/assets"/>
<delete file="${basedir}/LICENSE"/>
</target>
<import file="${titanium.platform}/../module/android/build.xml"/>
</project>