-
Notifications
You must be signed in to change notification settings - Fork 0
/
carpooling_project_Wed_Jan_22_19-04-11_CET_2014.xml
executable file
·127 lines (109 loc) · 5.33 KB
/
carpooling_project_Wed_Jan_22_19-04-11_CET_2014.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0" encoding="UTF-8"?>
<project name="carpooling_project" default="all">
<property file="carpooling_project.properties"/>
<!-- Uncomment the following property if no tests compilation is needed -->
<!--
<property name="skip.tests" value="true"/>
-->
<!-- 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="128m"/>
<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="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">
<exclude name="**/?*.java"/>
<exclude name="**/?*.form"/>
<exclude name="**/?*.class"/>
<exclude name="**/?*.groovy"/>
<exclude name="**/?*.scala"/>
<exclude name="**/?*.flex"/>
<exclude name="**/?*.kt"/>
<exclude name="**/?*.clj"/>
</patternset>
<!-- JDK definitions -->
<property name="jdk.bin.android_2.3.3_platform" value="${jdk.home.android_2.3.3_platform}/../../../Program Files/Java/jdk1.7.0_40/bin"/>
<path id="jdk.classpath.android_2.3.3_platform">
<fileset dir="${jdk.home.android_2.3.3_platform}">
<include name="platforms/android-10/android.jar"/>
<include name="platforms/android-10/data/res"/>
<include name="tools/support/annotations.jar"/>
</fileset>
</path>
<property name="project.jdk.home" value="${jdk.home.android_2.3.3_platform}"/>
<property name="project.jdk.bin" value="${jdk.bin.android_2.3.3_platform}"/>
<property name="project.jdk.classpath" value="jdk.classpath.android_2.3.3_platform"/>
<!-- Register Custom Compiler Taskdefs -->
<property name="javac2.home" value="${idea.home}/lib"/>
<path id="javac2.classpath">
<pathelement location="${javac2.home}/javac2.jar"/>
<pathelement location="${javac2.home}/jdom.jar"/>
<pathelement location="${javac2.home}/asm4-all.jar"/>
<pathelement location="${javac2.home}/jgoodies-forms.jar"/>
</path>
<target name="register.custom.compilers">
<taskdef name="javac2" classname="com.intellij.ant.Javac2" classpathref="javac2.classpath"/>
<taskdef name="instrumentIdeaExtensions" classname="com.intellij.ant.InstrumentIdeaExtensions" classpathref="javac2.classpath"/>
</target>
<!-- Modules -->
<import file="${basedir}/FacebookSDK/module_facebooksdk.xml"/>
<import file="${basedir}/Carpooling/module_carpooling.xml"/>
<target name="init" description="Build initialization">
<!-- Perform any build initialization in this target -->
</target>
<target name="clean" depends="clean.module.facebooksdk, clean.module.carpooling" description="cleanup all"/>
<target name="build.modules" depends="init, clean, compile.module.facebooksdk, compile.module.carpooling" description="build all modules"/>
<target name="init.artifacts">
<property name="artifacts.temp.dir" value="${basedir}/__artifacts_temp"/>
<property name="artifact.output.carpooling_nosigned" value="${basedir}/build/classes/artifacts/Carpooling_nosigned"/>
<mkdir dir="${artifacts.temp.dir}"/>
<property name="temp.jar.path.Carpooling_nosigned.apk" value="${artifacts.temp.dir}/Carpooling_nosigned.apk"/>
</target>
<target name="artifact.carpooling_nosigned" depends="init.artifacts, compile.module.carpooling" description="Build 'Carpooling_nosigned' artifact">
<property name="artifact.temp.output.carpooling_nosigned" value="${artifacts.temp.dir}/Carpooling_nosigned"/>
<mkdir dir="${artifact.temp.output.carpooling_nosigned}"/>
<zip destfile="${temp.jar.path.Carpooling_nosigned.apk}">
<zipfileset src="C:/Users/Mirko/workspace/Carpooling project/Carpooling/bin/classes/Carpooling.afp.apk!/"/>
</zip>
<copy file="${temp.jar.path.Carpooling_nosigned.apk}" tofile="${artifact.temp.output.carpooling_nosigned}/Carpooling_nosigned.apk"/>
</target>
<target name="build.all.artifacts" depends="artifact.carpooling_nosigned" description="Build all artifacts">
<mkdir dir="${artifact.output.carpooling_nosigned}"/>
<copy todir="${artifact.output.carpooling_nosigned}">
<fileset dir="${artifact.temp.output.carpooling_nosigned}"/>
</copy>
<!-- Delete temporary files -->
<delete dir="${artifacts.temp.dir}"/>
</target>
<target name="all" depends="build.modules, build.all.artifacts" description="build all"/>
</project>