forked from yanivnizan/android-store-amazon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
android-store-amazon.xml
111 lines (95 loc) · 4.26 KB
/
android-store-amazon.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="UTF-8"?>
<project name="soomla" default="all">
<property environment="env" />
<property file="android-store-amazon.properties"/>
<!-- Compiler options -->
<property name="compiler.debug" value="on"/>
<property name="compiler.generate.no.warnings" value="off"/>
<property name="compiler.args" value=""/>
<property name="compiler.max.memory" value="700m"/>
<patternset id="ignored.files">
<exclude name="**/CVS/**"/>
<exclude name="**/SCCS/**"/>
<exclude name="**/RCS/**"/>
<exclude name="**/rcs/**"/>
<exclude name="**/.DS_Store/**"/>
<exclude name="**/.svn/**"/>
<exclude name="**/.pyc/**"/>
<exclude name="**/.pyo/**"/>
<exclude name="**/*.pyc/**"/>
<exclude name="**/*.pyo/**"/>
<exclude name="**/.git/**"/>
<exclude name="**/*.hprof/**"/>
<exclude name="**/_svn/**"/>
<exclude name="**/.hg/**"/>
<exclude name="**/*.lib/**"/>
<exclude name="**/*~/**"/>
<exclude name="**/__pycache__/**"/>
<exclude name="**/.bundle/**"/>
<exclude name="**/*.rbc/**"/>
</patternset>
<patternset id="compiler.excluded"/>
<patternset id="library.patterns">
<include name="*.zip"/>
<include name="*.apk"/>
<include name="*.war"/>
<include name="*.egg"/>
<include name="*.ear"/>
<include name="*.ane"/>
<include name="*.swc"/>
<include name="*.jar"/>
</patternset>
<patternset id="compiler.resources">
<include name="**/?*.properties"/>
<include name="**/?*.xml"/>
<include name="**/?*.gif"/>
<include name="**/?*.png"/>
<include name="**/?*.jpeg"/>
<include name="**/?*.jpg"/>
<include name="**/?*.html"/>
<include name="**/?*.dtd"/>
<include name="**/?*.tld"/>
<include name="**/?*.ftl"/>
</patternset>
<!-- JDK definitions -->
<path id="jdk.classpath.android">
<fileset dir="${jdk.home.android}">
<include name="platforms/android-19/android.jar"/>
<include name="platforms/android-19/data/res"/>
<include name="tools/support/annotations.jar"/>
</fileset>
</path>
<property name="project.jdk.home" value="${jdk.home.android}"/>
<property name="project.jdk.bin" value="${jdk.bin.android}"/>
<property name="project.jdk.classpath" value="jdk.classpath.android"/>
<!-- Modules -->
<import file="${basedir}/module_androidstoreamazon.xml"/>
<target name="init" description="Build initialization">
<!-- Perform any build initialization in this target -->
</target>
<target name="clean" depends="clean.module.androidstoreamazon" description="cleanup all"/>
<target name="build.modules" depends="init, clean, compile.module.androidstoreamazon" description="build all modules"/>
<target name="init.artifacts">
<property name="artifacts.temp.dir" value="${basedir}/__artifacts_temp"/>
<property name="artifact.output.androidstoreamazon:jar" value="${basedir}/out/artifacts/AndroidStoreAmazon_jar"/>
<mkdir dir="${artifacts.temp.dir}"/>
<property name="temp.jar.path.AndroidStoreAmazon.jar" value="${artifacts.temp.dir}/${soomla.filename}.jar"/>
</target>
<target name="artifact.androidstoreamazon:jar" depends="init.artifacts, compile.module.androidstoreamazon" description="Build 'AndroidStoreAmazon:jar' artifact">
<property name="artifact.temp.output.androidstoreamazon:jar" value="${artifacts.temp.dir}/AndroidStoreAmazon_jar"/>
<mkdir dir="${artifact.temp.output.androidstoreamazon:jar}"/>
<jar destfile="${temp.jar.path.AndroidStoreAmazon.jar}" duplicate="preserve" filesetmanifest="mergewithoutmain">
<zipfileset dir="${androidstoreamazon.output.dir}"/>
</jar>
<copy file="${temp.jar.path.AndroidStoreAmazon.jar}" tofile="${basedir}/${androidstoreamazon.target.dir}/${soomla.filename}.jar"/>
</target>
<target name="build.all.artifacts" depends="artifact.androidstoreamazon:jar" description="Build all artifacts">
<mkdir dir="${artifact.output.androidstoreamazon:jar}"/>
<copy todir="${artifact.output.androidstoreamazon:jar}">
<fileset dir="${artifact.temp.output.androidstoreamazon:jar}"/>
</copy>
<!-- Delete temporary files -->
<delete dir="${artifacts.temp.dir}"/>
</target>
<target name="all" depends="build.modules, build.all.artifacts" description="build all"/>
</project>