forked from quux00/mybatis-koans
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
680 lines (590 loc) · 26.6 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
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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
<project name="mybatis-koans" default="compile" basedir=".">
<description>MyBatis Koans</description>
<!-- load environment variables as properties -->
<property environment="env"/>
<!-- TODO: change to true if you do want koan TEST output written to file, not the console -->
<property name="log.koan.output.to.file" value="false"/>
<!-- default folder location properties -->
<property name="src.dir" value="src/main/java"/>
<property name="resources.dir" value="src/main/resources"/>
<property name="build.dir" value="bin"/>
<property name="lib.dir" value="lib"/>
<property name="src-completed.dir" value="src/test/java"/>
<property name="resources-completed.dir" value="src/test/resources"/>
<property name="build-completed.dir" value="bin-comp"/>
<!-- koan classpath -->
<path id="koan.classpath">
<!-- compiled classes -->
<pathelement location="${build.dir}" />
<!-- libraries -->
<fileset dir="${lib.dir}">
<include name="*.jar" />
</fileset>
</path>
<path id="completed-koan.classpath">
<!-- compiled classes -->
<pathelement location="${build-completed.dir}" />
<!-- libraries -->
<fileset dir="${lib.dir}">
<include name="*.jar" />
</fileset>
</path>
<!-- basic -->
<target name="init">
<mkdir dir="${build.dir}"/>
<mkdir dir="${build-completed.dir}"/>
</target>
<target name="prepare-resources" depends="init">
<copy todir="${build.dir}" overwrite="true">
<fileset dir="${src.dir}" includes="**/*.properties,**/*.xml" excludes="" />
<fileset dir="${resources.dir}" includes="**/*.properties,**/*.xml" excludes="" />
</copy>
</target>
<target name="prepare-resources-completed" depends="init">
<copy todir="${build-completed.dir}" overwrite="true">
<fileset dir="${src-completed.dir}" includes="**/*.properties,**/*.xml" excludes="" />
<fileset dir="${resources-completed.dir}" includes="**/*.properties,**/*.xml" excludes="" />
</copy>
</target>
<target name="clean" description="Remove binary files">
<delete dir="${build.dir}" failonerror="false" deleteonexit="true" />
<delete dir="${build-completed.dir}" failonerror="false" deleteonexit="true" />
<delete file="TEST-net.thornydev*" failonerror="false" deleteonexit="true" />
</target>
<!-- ======= -->
<!-- compile -->
<!-- ======= -->
<property name="compile.debug" value="true" />
<property name="compile.debuglevel" value="lines,vars,source" />
<target name="compile" depends="init,prepare-resources" description="Compile your koan classes">
<javac
srcdir="${src.dir}"
destdir="${build.dir}"
debug="${compile.debug}"
debuglevel="${compile.debuglevel}"
includeantruntime="false"> <!-- to overcome misfeature in Ant 1.8 -->
<compilerarg line="-Xlint:unchecked" />
<classpath refid="koan.classpath" />
</javac>
</target>
<target name="prepare-completed-resources" depends="init">
<!-- description="Prepare application resource files" -->
<copy todir="${build-completed.dir}" overwrite="true">
<fileset dir="${src-completed.dir}" includes="**/*.properties,**/*.xml" excludes="" />
</copy>
</target>
<!-- ================= -->
<!-- run the H2 server -->
<!-- ================= -->
<target name="compileH2" depends="init">
<javac
srcdir="${src-completed.dir}"
includes="**/h2server/**"
destdir="${build-completed.dir}"
debug="${compile.debug}"
debuglevel="${compile.debuglevel}"
includeantruntime="false">
<compilerarg line="-Xlint:unchecked" />
<classpath refid="koan.classpath" />
</javac>
</target>
<!-- TODO: finish ... -->
<target name="runH2" depends="compileH2"
description="Run the H2 database to test koans">
<java classname="h2server.RunH2">
<classpath refid="completed-koan.classpath" />
</java>
</target>
<!-- ============== -->
<!-- run your koans -->
<!-- ============== -->
<target name="koan01" depends="compile" description="Run Koan01">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<test name="net.thornydev.mybatis.koan.koan01.Koan01">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="koan02" depends="compile" description="Run Koan02">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<test name="net.thornydev.mybatis.koan.koan02.Koan02">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="koan03" depends="compile" description="Run Koan03">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<test name="net.thornydev.mybatis.koan.koan03.Koan03">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="koan04" depends="compile" description="Run Koan04">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<test name="net.thornydev.mybatis.koan.koan04.Koan04">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="koan05" depends="compile" description="Run Koan05">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<test name="net.thornydev.mybatis.koan.koan05.Koan05">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="koan06" depends="compile" description="Run Koan06">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan06.Koan06"/>
</junit>
</target>
<target name="koan07" depends="compile" description="Run Koan07">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan07.Koan07"/>
</junit>
</target>
<target name="koan08" depends="compile" description="Run Koan08">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan08.Koan08"/>
</junit>
</target>
<target name="koan09" depends="compile" description="Run Koan09">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan09.Koan09"/>
</junit>
</target>
<target name="koan10" depends="compile" description="Run Koan10">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan10.Koan10"/>
</junit>
</target>
<target name="koan11" depends="compile" description="Run Koan11">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan11.Koan11"/>
</junit>
</target>
<target name="koan12" depends="compile" description="Run Koan12">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan12.Koan12"/>
</junit>
</target>
<target name="koan13" depends="compile" description="Run Koan13">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan13.Koan13"/>
</junit>
</target>
<target name="koan14" depends="compile" description="Run Koan14">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan14.Koan14"/>
</junit>
</target>
<target name="koan15" depends="compile" description="Run Koan15">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan15.Koan15"/>
</junit>
</target>
<target name="koan16" depends="compile" description="Run Koan16">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan16.Koan16"/>
</junit>
</target>
<target name="koan17" depends="compile" description="Run Koan17">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan17.Koan17"/>
</junit>
</target>
<target name="koan18" depends="compile" description="Run Koan18">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan18.Koan18"/>
</junit>
</target>
<target name="koan19" depends="compile" description="Run Koan19">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan19.Koan19"/>
</junit>
</target>
<target name="koan20" depends="compile" description="Run Koan20">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan20.Koan20"/>
</junit>
</target>
<target name="koan21" depends="compile" description="Run Koan21">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan21.Koan21"/>
</junit>
</target>
<target name="koan22" depends="compile" description="Run Koan22">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan22.Koan22"/>
</junit>
</target>
<target name="koan23" depends="compile" description="Run Koan23">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<test name="net.thornydev.mybatis.koan.koan23.Koan23"/>
</junit>
</target>
<target name="run-all" depends="compile" description="Runs all Koans (in main)">
<junit haltonfailure="yes" fork="true">
<classpath refid="koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<batchtest>
<fileset dir="${src.dir}" includes="**/Koan**.java">
</fileset>
</batchtest>
</junit>
</target>
<!-- ============================================== -->
<!-- targets for the already completed "test" koans -->
<!-- ============================================== -->
<target name="compile-completed" depends="init,prepare-resources-completed"
description="Compile already completed koans">
<javac
srcdir="${src-completed.dir}"
destdir="${build-completed.dir}"
excludes="**/h2server/**"
debug="${compile.debug}"
debuglevel="${compile.debuglevel}"
includeantruntime="false">
<compilerarg line="-Xlint:unchecked" />
<classpath refid="completed-koan.classpath" />
</javac>
</target>
<target name="comp-all-mysql" depends="init,prepare-resources-completed,compile-completed"
description="Runs all completed koans using PostgreSQL db">
<junit haltonfailure="yes" fork="true" showoutput="true" printsummary="yes">
<classpath refid="completed-koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<batchtest>
<fileset dir="${build-completed.dir}"
includes="**/Koan*.class"
excludes="**/*Mapper.class,**/*ObjectFactory.class,**/*SchoolMarm*,
**/pg/**,**/h2/**">
</fileset>
</batchtest>
</junit>
</target>
<target name="comp-all-pg" depends="init,prepare-resources-completed,compile-completed"
description="Runs all completed koans using MySQL db">
<junit haltonfailure="yes" fork="true" showoutput="true" printsummary="yes">
<classpath refid="completed-koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<batchtest>
<fileset dir="${build-completed.dir}"
includes="**/Koan*.class"
excludes="**/*Mapper.class,**/*ObjectFactory.class,**/*SchoolMarm*,
**/mysql/**,**/h2/**,**/koan23/Koan23.class">
</fileset>
</batchtest>
</junit>
</target>
<target name="comp-all-h2" depends="init,prepare-resources-completed,compile-completed"
description="Runs all completed koans using H2 db">
<junit haltonfailure="yes" fork="true" showoutput="true" printsummary="yes">
<classpath refid="completed-koan.classpath" />
<formatter type="plain" usefile="${log.koan.output.to.file}" />
<batchtest>
<fileset dir="${build-completed.dir}"
includes="**/Koan*.class"
excludes="**/*Mapper.class,**/*ObjectFactory.class,**/*SchoolMarm*,
**/pg/**,**/mysql/**,**/koan12/Koan12.class">
</fileset>
</batchtest>
</junit>
</target>
<target name="comp-koan01" depends="compile-completed" description="Run Already Completed Koan01">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan01.Koan01">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan02" depends="compile-completed" description="Run Already Completed Koan02">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan02.Koan02">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan03" depends="compile-completed" description="Run Already Completed Koan03">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan03.Koan03">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan04" depends="compile-completed" description="Run Already Completed Koan04">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan04.Koan04">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan05" depends="compile-completed" description="Run Already Completed Koan05">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan05.Koan05">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan06" depends="compile-completed" description="Run Already Completed Koan06">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan06.Koan06">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan07" depends="compile-completed" description="Run Already Completed Koan07">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan07.Koan07">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan08" depends="compile-completed" description="Run Already Completed Koan08">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan08.Koan08">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan09" depends="compile-completed" description="Run Already Completed Koan09">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan09.Koan09">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan10" depends="compile-completed" description="Run Already Completed Koan10">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan10.Koan10">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan11" depends="compile-completed" description="Run Already Completed Koan11">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan11.Koan11">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan12-h2" depends="compile-completed"
description="Run Already Completed Koan12 Using H2">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan12.h2.Koan12">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<!-- The MySQL and PostgreSQL code for Koan12 is the same, so one
just invokes the other-->
<target name="comp-koan12-mysql" depends="comp-koan12-pg"
description="Run Already Completed Koan12 Using MySQL">
</target>
<target name="comp-koan12-pg" depends="compile-completed"
description="Run Already Completed Koan12 Using PostgreSQL">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan12.Koan12">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan13" depends="compile-completed" description="Run Already Completed Koan13">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan13.Koan13">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan14" depends="compile-completed" description="Run Already Completed Koan14">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan14.Koan14">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan15" depends="compile-completed" description="Run Already Completed Koan15">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan15.Koan15">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<!-- TODO: do we need variants of 16 and 17 for H2??? -->
<target name="comp-koan16-h2" depends="compile-completed"
description="Run Already Completed Koan16 Using H2">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan16.h2.Koan16">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan16-mysql" depends="compile-completed"
description="Run Already Completed Koan16 Using MySQL">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan16.mysql.Koan16">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan16-pg" depends="compile-completed"
description="Run Already Completed Koan16 Using PostgreSQL">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan16.pg.Koan16">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan17-h2" depends="compile-completed"
description="Run Already Completed Koan17 Using H2">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan17.h2.Koan17">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan17-mysql" depends="compile-completed"
description="Run Already Completed Koan17 Using MySQL">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan17.mysql.Koan17">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan17-pg" depends="compile-completed"
description="Run Already Completed Koan17 Using PostgreSQL">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan17.pg.Koan17">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan18" depends="compile-completed" description="Run Already Completed Koan18">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan18.Koan18">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan19" depends="compile-completed" description="Run Already Completed Koan19">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan19.Koan19">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan20" depends="compile-completed" description="Run Already Completed Koan20">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan20.Koan20">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan21" depends="compile-completed" description="Run Already Completed Koan21">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan21.Koan21">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan22" depends="compile-completed" description="Run Already Completed Koan22">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan22.Koan22">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan23" depends="compile-completed" description="Run Already Completed Koan23">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan23.Koan23">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan23-pg" depends="compile-completed"
description="Run Already Completed Koan23 - PostgreSQL variant">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan23.pg.Koan23">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
<target name="comp-koan24" depends="compile-completed" description="Run Already Completed Koan24">
<junit haltonfailure="yes" printsummary="yes" fork="true">
<classpath refid="completed-koan.classpath" />
<test name="net.thornydev.mybatis.test.koan24.Koan24">
<formatter type="plain" usefile="${log.koan.output.to.file}" />
</test>
</junit>
</target>
</project>