-
Notifications
You must be signed in to change notification settings - Fork 32
/
build.xml
175 lines (134 loc) · 7.22 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<?xml version="1.0" encoding="UTF-8"?>
<project name="joana" default="all-jars-and-clean" basedir=".">
<description>
Main ant file for the Joana IFC framework. Jar files are generated in dist/.
</description>
<!-- set joana properties -->
<property name="joana.base.dir" location="." />
<!-- set global properties for this build -->
<property file="${joana.base.dir}/joana-project-location.properties" />
<target name="all-jars-and-clean" depends="all-jars,clean" />
<target name="all-jars" depends="joana-jars,copy-to-project-jars,webstart-jars" />
<target name="joana-jars" depends="joana.api,joana.wala.core,joana.wala.dictionary,joana.ifc.sdg.core,joana.wala.jodroid,joana.ifc.sdg.qifc.nildumu,joana.ui.ifc.wala.cli" />
<target name="copy-to-project-jars" depends="joana.api.test,joana.ui.wala.flowless" />
<target name="webstart-jars" depends="joana.ui.ifc.wala.console,joana.ui.ifc.sdg.graphviewer" />
<target name="all-deploy" depends="joana.ui.ifc.wala.console_deploy,joana.ui.ifc.sdg.graphviewer_deploy" />
<target name="joana.api">
<ant antfile="${joana.api.base.dir}/build.xml" target="fulljar" inheritall="false" />
</target>
<target name="joana.api_src">
<ant antfile="${joana.api.base.dir}/build.xml" target="make-source-dist" inheritall="false" />
</target>
<target name="joana.api.test_runtests">
<ant antfile="${joana.api.test.base.dir}/build.xml" target="test" inheritall="false">
<property name="joana.base.dir" location="${joana.base.dir}" />
</ant>
</target>
<target name="joana.api.test_build_and_runtests">
<ant antfile="${joana.api.test.base.dir}/build.xml" target="build_and_test" inheritall="false">
<property name="joana.base.dir" location="${joana.base.dir}" />
</ant>
</target>
<target name="joana.wala.eval_build_and_runtests">
<ant antfile="${joana.wala.eval.base.dir}/build.xml" target="build_and_test" inheritall="false">
<property name="joana.base.dir" location="${joana.base.dir}" />
</ant>
</target>
<target name="joana.api_clean">
<ant antfile="${joana.api.base.dir}/build.xml" target="clean" inheritall="false" />
</target>
<target name="joana.wala.core">
<ant antfile="${joana.wala.core.base.dir}/build.xml" target="fulljar" inheritall="false" />
</target>
<target name="joana.wala.jodroid">
<ant antfile="${joana.wala.jodroid.base.dir}/build.xml" target="fulljar" inheritall="false" />
</target>
<target name="joana.wala.core_clean">
<ant antfile="${joana.wala.core.base.dir}/build.xml" target="clean" inheritall="false" />
</target>
<target name="joana.wala.dictionary">
<ant antfile="${joana.wala.dictionary.base.dir}/build.xml" target="fulljar" inheritall="false" />
</target>
<target name="joana.wala.dictionary_clean">
<ant antfile="${joana.wala.dictionary.base.dir}/build.xml" target="clean" inheritall="false" />
</target>
<target name="joana.ifc.sdg.core">
<ant antfile="${joana.ifc.sdg.core.base.dir}/build.xml" target="fulljar" inheritall="false" />
</target>
<target name="joana.ifc.sdg.core_clean">
<ant antfile="${joana.ifc.sdg.core.base.dir}/build.xml" target="clean" inheritall="false" />
</target>
<target name="joana.api.test">
<ant antfile="${joana.api.test.base.dir}/build.xml" target="copy_joana_api" inheritall="false" />
</target>
<target name="joana.api.test_clean">
<ant antfile="${joana.api.test.base.dir}/build.xml" target="clean" inheritall="false" />
</target>
<target name="joana.ui.wala.flowless">
<ant antfile="${joana.ui.wala.flowless.base.dir}/build.xml" target="copy_joana_wala_dictionary" inheritall="false" />
</target>
<target name="joana.ui.wala.flowless_clean">
<ant antfile="${joana.ui.wala.flowless.base.dir}/build.xml" target="clean" inheritall="false" />
</target>
<target name="joana.ui.ifc.wala.console">
<ant antfile="${joana.ui.ifc.wala.console.base.dir}/build.xml" target="fulljar" inheritall="false" />
</target>
<target name="joana.ui.ifc.wala.console_clean">
<ant antfile="${joana.ui.ifc.wala.console.base.dir}/build.xml" target="clean" inheritall="false" />
</target>
<target name="joana.ui.ifc.wala.console_deploy">
<ant antfile="${joana.ui.ifc.wala.console.base.dir}/build.xml" target="deploy" inheritall="false" />
</target>
<target name="joana.ui.ifc.sdg.graphviewer">
<ant antfile="${joana.ui.ifc.sdg.graphviewer.base.dir}/build.xml" target="fulljar" inheritall="false" />
</target>
<target name="joana.ui.ifc.sdg.graphviewer_clean">
<ant antfile="${joana.ui.ifc.sdg.graphviewer.base.dir}/build.xml" target="clean" inheritall="false" />
</target>
<target name="joana.ui.ifc.sdg.graphviewer_deploy">
<ant antfile="${joana.ui.ifc.sdg.graphviewer.base.dir}/build.xml" target="deploy" inheritall="false" />
</target>
<target name="joana.ifc.sdg.qifc.nildumu">
<ant antfile="${joana.ifc.sdg.qifc.nildumu.dir}/build.xml" target="fulljar" inheritall="false" />
</target>
<target name="joana.ifc.sdg.qifc.nildumu_clean">
<ant antfile="${joana.ifc.sdg.qifc.nildumu.dir}/build.xml" target="clean" inheritall="false" />
</target>
<target name="joana.ifc.sdg.qifc.nildumu.test">
<ant antfile="${joana.ifc.sdg.qifc.nildumu.test.dir}/build.xml" target="build_and_test" inheritall="false" />
</target>
<target name="joana.ifc.sdg.qifc.nildumu.test_clean">
<ant antfile="${joana.ifc.sdg.qifc.nildumu.test.dir}/build.xml" target="clean" inheritall="false" />
</target>
<target name="joana.ui.ifc.wala.cli">
<ant antfile="${joana.ui.ifc.wala.cli.dir}/build.xml" target="fulljar" inheritall="false" />
</target>
<target name="joana.ui.ifc.wala.cli_clean">
<ant antfile="${joana.ui.ifc.wala.cli.dir}/build.xml" target="clean" inheritall="false" />
</target>
<target name="clean" depends="joana.api_clean,joana.wala.core_clean,joana.wala.dictionary_clean,joana.ifc.sdg.core_clean,joana.api.test_clean,joana.ui.wala.flowless_clean,joana.ui.ifc.wala.console_clean,joana.ui.ifc.sdg.graphviewer_clean,joana.ifc.sdg.qifc.nildumu_clean,joana.ifc.sdg.qifc.nildumu.test_clean,joana.ui.ifc.wala.cli" />
<target name="full_clean">
<delete dir="${joana.dist.dir}" />
</target>
<!-- SOURCES
contrib/wala/com.ibm.wala.cast/source/java
contrib/wala/com.ibm.wala.ide.tests/src
contrib/wala/com.ibm.wala.core/src
contrib/wala/com.ibm.wala.ide/src
contrib/wala/com.ibm.wala.util/src
contrib/wala/com.ibm.wala.shrike/src
contrib/wala/com.ibm.wala.ide.jdt/source
contrib/wala/com.ibm.wala.cast.java/src
contrib/wala/com.ibm.wala.dalvik/src
-->
<target name="doc-wala" >
<javadoc sourcepath="contrib/wala/com.ibm.wala.cast/source/java:contrib/wala/com.ibm.wala.ide.tests/src:contrib/wala/com.ibm.wala.core/src:contrib/wala/com.ibm.wala.ide/src:contrib/wala/com.ibm.wala.util/src:contrib/wala/com.ibm.wala.shrike/src:contrib/wala/com.ibm.wala.ide.jdt/source:contrib/wala/com.ibm.wala.cast.java/src:contrib/wala/com.ibm.wala.dalvik/src" destdir="doc/wala" packagenames="*" >
<arg value="-author"/>
<arg value="-version"/>
</javadoc>
</target>
<target name="init-wala" description="initialize wala by downloading needed jars">
<ant antfile="${com.ibm.wala.cast.base.dir}/build.xml" inheritall="false"/>
<ant antfile="${com.ibm.wala.dalvik.base.dir}/build.xml" inheritall="false"/>
</target>
</project>