-
Notifications
You must be signed in to change notification settings - Fork 98
/
deploy-release.xml
323 lines (299 loc) · 13.4 KB
/
deploy-release.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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="all" name="Deploy Flashtool">
<target name="all" depends="core release,devices,JRE"/>
<target name="devices" depends="E10 Device,E15 Device,U20 Device,LT15 Device,LT18 Device,MK16 Device,MT11 Device,MT15 Device,R800 Device,SK17 Device,ST15 Device,ST17 Device,ST18 Device,WT19 Device,X10 Device"/>
<target name="JRE">
<delete dir="../Deploy/FlashTool/x10flasher_lib/winjre32"/>
<delete dir="../Deploy/FlashTool/x10flasher_lib/winjre64"/>
<unzip src="jre/winjre.zip" dest="../Deploy/FlashTool/x10flasher_lib"/>
<untar src="jre/linjre.tar" dest="../Deploy/FlashTool/x10flasher_lib"/>
</target>
<target name="clean">
<mkdir dir="../Deploy"/>
<delete dir="../Deploy/FlashTool"/>
</target>
<target name="ressources">
<jar destfile="../Deploy/FlashTool/x10flasher_lib/x10flasher-res.jar">
<fileset dir="./bin" includes="/gui/ressources/icons/**"/>
</jar>
</target>
<target name="main_lib" depends="ressources">
<tstamp>
<format property="TODAY" pattern="yyyy-MM-dd HH:mm:ss" />
</tstamp>
<jar destfile="../Deploy/FlashTool/x10flasher.jar">
<manifest>
<attribute name="Main-Class" value="gui.FlasherGUI"/>
<attribute name="Class-Path" value=". x10flasher_lib/foxtrot-core-3.0.jar x10flasher_lib/log4j-1.2.16.jar x10flasher_lib/AXMLPrinter2.jar x10flasher_lib/jna.jar x10flasher_lib/platform.jar x10flasher_lib/jdom-1.1.1.jar x10flasher_lib/commons-io-2.0.1.jar x10flasher_lib/rsyntaxtextarea.jar x10flasher_lib/forms-1.4.2.jar x10flasher_lib/win32-amd64.jar x10flasher_lib/win32-x86.jar x10flasher_lib/jgoodies-common-1.2.1.jar x10flasher_lib/com.sonyericsson.cs_ma3_common_2.10.9.13.jar x10flasher_lib/libusb.jar x10flasher_lib/jgoodies-looks-2.4.2.jar x10flasher_lib/x10flasher-res.jar"/>
<attribute name="Implementation-Version" value="Version 0.6.6 built on ${TODAY}"/>
</manifest>
<fileset dir="./bin" excludes="/gui/ressources/icons/**"/>
</jar>
</target>
<target name="core release" depends="clean, main_lib">
<mkdir dir ="../Deploy/FlashTool"/>
<mkdir dir ="../Deploy/FlashTool/custom/"/>
<mkdir dir ="../Deploy/FlashTool/custom/apps_saved"/>
<mkdir dir ="../Deploy/FlashTool/custom/root"/>
<mkdir dir ="../Deploy/FlashTool/custom/shells"/>
<mkdir dir ="../Deploy/FlashTool/custom/apps"/>
<mkdir dir ="../Deploy/FlashTool/custom/clean"/>
<mkdir dir ="../Deploy/FlashTool/custom/features"/>
<mkdir dir="../Deploy/FlashTool/firmwares"/>
<mkdir dir ="../Deploy/FlashTool/custom/clean"/>
<mkdir dir="../Deploy/FlashTool/x10flasher_lib"/>
<mkdir dir="../Deploy/FlashTool/x10flasher_lib/langs"/>
<mkdir dir="../Deploy/FlashTool/drivers"/>
<copy todir="../Deploy/FlashTool/custom/shells">
<fileset dir="./shells"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/x10flasher_lib/langs">
<fileset dir="./src/org/lang/ressources"
excludes="**/.svn"/>
</copy>
<copy file="./src/org/adb/config/x10list.properties" todir="../Deploy/FlashTool/custom/clean"/>
<copy file="./src/org/adb/config/customlist.properties" todir="../Deploy/FlashTool/custom/clean"/>
<copy file="./romupdates/psneuter.tar" todir="../Deploy/FlashTool/custom/root"/>
<copy file="./romupdates/zergrush.tar" todir="../Deploy/FlashTool/custom/root"/>
<copy file="./ProgramExe/FlashTool.exe" todir="../Deploy/FlashTool"/>
<copy file="./linux/FlashTool" todir="../Deploy/FlashTool"/>
<copy file="./linux/FlashToolConsole" todir="../Deploy/FlashTool"/>
<chmod file="../Deploy/FlashTool/XperiaFlashTool" perm="755"/>
<copy file="./linux/adb" todir="../Deploy/FlashTool/x10flasher_lib"/>
<copy file="./linux/fastboot" todir="../Deploy/FlashTool/x10flasher_lib"/>
<copy todir="../Deploy/FlashTool/x10flasher_lib">
<fileset dir="./libs"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/x10flasher_lib">
<fileset dir="./win32"/>
</copy>
<copy todir="../Deploy/FlashTool/x10flasher_lib">
<fileset dir="./win32"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/drivers">
<fileset dir="./drivers"
excludes="**/.svn"/>
</copy>
</target>
<target name="E15 Device">
<delete dir="../Deploy/FlashTool/devices/E15"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/E15"/>
<mkdir dir="../Deploy/FlashTool/devices/E15/features"/>
<copy todir="../Deploy/FlashTool/devices/E15">
<fileset dir="./devicesConfig/E15"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/E15">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="E10 Device">
<delete dir="../Deploy/FlashTool/devices/E10"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/E10"/>
<mkdir dir="../Deploy/FlashTool/devices/E10/features"/>
<copy todir="../Deploy/FlashTool/devices/E10">
<fileset dir="./devicesConfig/E10"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/E10">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="U20 Device">
<delete dir="../Deploy/FlashTool/devices/U20"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/U20"/>
<mkdir dir="../Deploy/FlashTool/devices/U20/features"/>
<copy todir="../Deploy/FlashTool/devices/U20">
<fileset dir="./devicesConfig/U20"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/U20">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="LT15 Device">
<delete dir="../Deploy/FlashTool/devices/LT15"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/LT15"/>
<mkdir dir="../Deploy/FlashTool/devices/LT15/features"/>
<copy todir="../Deploy/FlashTool/devices/LT15">
<fileset dir="./devicesConfig/LT15"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/LT15">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="LT18 Device">
<delete dir="../Deploy/FlashTool/devices/LT18"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/LT18"/>
<mkdir dir="../Deploy/FlashTool/devices/LT18/features"/>
<copy todir="../Deploy/FlashTool/devices/LT18">
<fileset dir="./devicesConfig/LT18"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/LT18">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="MK16 Device">
<delete dir="../Deploy/FlashTool/devices/MK16"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/MK16"/>
<mkdir dir="../Deploy/FlashTool/devices/MK16/features"/>
<copy todir="../Deploy/FlashTool/devices/MK16">
<fileset dir="./devicesConfig/MK16"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/MK16">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="MT11 Device">
<delete dir="../Deploy/FlashTool/devices/MT11"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/MT11"/>
<mkdir dir="../Deploy/FlashTool/devices/MT11/features"/>
<copy todir="../Deploy/FlashTool/devices/MT11">
<fileset dir="./devicesConfig/MT11"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/MT11">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="MT15 Device">
<delete dir="../Deploy/FlashTool/devices/MT15"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/MT15"/>
<mkdir dir="../Deploy/FlashTool/devices/MT15/features"/>
<copy todir="../Deploy/FlashTool/devices/MT15">
<fileset dir="./devicesConfig/MT15"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/MT15">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="R800 Device">
<delete dir="../Deploy/FlashTool/devices/R800"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/R800"/>
<mkdir dir="../Deploy/FlashTool/devices/R800/features"/>
<copy todir="../Deploy/FlashTool/devices/R800">
<fileset dir="./devicesConfig/R800"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/R800">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="SK17 Device">
<delete dir="../Deploy/FlashTool/devices/SK17"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/SK17"/>
<mkdir dir="../Deploy/FlashTool/devices/SK17/features"/>
<copy todir="../Deploy/FlashTool/devices/SK17">
<fileset dir="./devicesConfig/SK17"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/SK17">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="ST15 Device">
<delete dir="../Deploy/FlashTool/devices/ST15"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/ST15"/>
<mkdir dir="../Deploy/FlashTool/devices/ST15/features"/>
<copy todir="../Deploy/FlashTool/devices/ST15">
<fileset dir="./devicesConfig/ST15"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/ST15">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="ST17 Device">
<delete dir="../Deploy/FlashTool/devices/ST17"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/ST17"/>
<mkdir dir="../Deploy/FlashTool/devices/ST17/features"/>
<copy todir="../Deploy/FlashTool/devices/ST17">
<fileset dir="./devicesConfig/ST17"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/ST17">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="ST18 Device">
<delete dir="../Deploy/FlashTool/devices/ST18"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/ST18"/>
<mkdir dir="../Deploy/FlashTool/devices/ST18/features"/>
<copy todir="../Deploy/FlashTool/devices/ST18">
<fileset dir="./devicesConfig/ST18"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/ST18">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="WT19 Device">
<delete dir="../Deploy/FlashTool/devices/WT19"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/WT19"/>
<mkdir dir="../Deploy/FlashTool/devices/WT19/features"/>
<copy todir="../Deploy/FlashTool/devices/WT19">
<fileset dir="./devicesConfig/WT19"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/WT19">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="X10 Device">
<delete dir="../Deploy/FlashTool/devices/X10"/>
<mkdir dir="../Deploy/FlashTool/devices"/>
<mkdir dir="../Deploy/FlashTool/devices/X10"/>
<mkdir dir="../Deploy/FlashTool/devices/X10/features"/>
<copy todir="../Deploy/FlashTool/devices/X10">
<fileset dir="./devicesConfig/X10"
excludes="**/.svn"/>
</copy>
<copy todir="../Deploy/FlashTool/devices/X10">
<fileset dir="./devicesConfig/generic/"
excludes="**/.svn"/>
</copy>
</target>
<target name="Shells only">
<delete dir="../Deploy/FlashTool/custom/shells"/>
<mkdir dir="../Deploy/FlashTool/custom/shells"/>
<copy todir="../Deploy/FlashTool/custom/shells">
<fileset dir="./shells"
excludes="**/.svn"/>
</copy>
</target>
</project>