This repository has been archived by the owner on Jul 31, 2022. It is now read-only.
forked from apache/jmeter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
3936 lines (3579 loc) · 175 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
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="JMeter" default="install" basedir="."
xmlns:rat="antlib:org.apache.rat.anttasks"
xmlns:jacoco="antlib:org.jacoco.ant"
xmlns="antlib:org.apache.tools.ant"
xmlns:if="ant:if" >
<description>
N.B. To build JMeter from a release you need both the binary and source archives,
and these must be unpacked into the same directory structure.
To download additional jars needed for building the code and documentation:
ant download_jars
To build JMeter from source:
ant [install]
To rebuild:
ant clean install
To update documentation
ant docs-site [-Ddocs.force=true]
ant docs-printable [-Ddocs.force=true]
To build API documentation (Javadoc)
ant docs-api
To build all the docs
ant docs-all [-Ddocs.force=true]
To build all and package up the files for distribution
ant distribution -Djmeter.version=vvvv [-Dsvn.revision=nnnnn]
Add -Ddisable-svnCheck=true to disable svn check, if you build from src archive or offline
Add -Ddisable-check-versions=true to disable matching current svn revision and JMeterVersion.java,
if you want build your own custom JMeter package.
To create a nightly build (separate bin/src/lib jars):
ant nightly [-Dsvn.revision=nnnnn]
To create tar and tgz of the web-site documentation (docs and api)
ant site [ -Djmeter.version=vvvv ]
For more info:
ant -projecthelp
To diagnose usage of deprecated APIs:
ant -Ddeprecation=on clean compile
</description>
<!--
Note
====
As with most other Apache projects, Gump (http://gump.apache.org/) is used to
perform automated builds and tests on JMeter.
Gump uses its project/jmeter.xml file to determine which target to use.
The current setting is: <ant target="dist">
Any changes to the dependency list for dist may affect Gump.
Now the dist target depends on "assume-libs-present", so if additional libraries are added to that,
the Gump project file for JMeter must also be updated.
Jars that are not required by the dist target do not need to be added to the Gump project file.
-->
<!-- Minimal version of Apache Ant required by this Ant script -->
<property name="ant.version.required" value="1.9.1" />
<!-- check if JavaFX is available -->
<available classname="javafx.application.Platform" property="javafx.present" />
<!-- Are we running under Gump? -->
<property name="gump.run" value="false"/>
<!-- The version of this file -->
<property name="version.build" value="$Revision$"/>
<script language="javascript">
project.setProperty('EPOCHSECONDS', new Date().getTime());
</script>
<property file="build-local.properties"/> <!-- allow local overrides -->
<!-- Remove .gitignore from the Ant's default excludes -->
<!-- to allow to have the .gitignore in the source archive -->
<defaultexcludes remove="**/.gitignore"/>
<!-- Findbugs task and target -->
<!--
Findbugs is licensed under the Lesser GNU Public License
HomePage: http://www.cs.umd.edu/~pugh/java/bugs/
To use the findbugs target, download and install the findbugs binary distribution
Set the value of findbugs.homedir according to where you installed findbugs, for example:
ant findbugs -Dfindbugs.homedir=/etc/findbugs -Dfindbugs.level=medium
[The defaults are /findbugs and medium]
-->
<property name="findbugs.homedir" value="/findbugs" />
<property name="findbugs.level" value="medium" />
<property name="findbugs.xsldir" value="${findbugs.homedir}/src/xsl" />
<property name="findbugs.xslname" value="fancy" />
<property name="findbugs.outName" value="reports/jmeter-fb" />
<property name="skip.batchtest" value="false" />
<property name="skip.bug52310" value="false" />
<property name="skip.bug60607" value="false" />
<property name="skip.batchtest_Http4ImplPreemptiveBasicAuth" value="false" />
<property name="skip.batchtest_SlowCharsFeature" value="false" />
<property name="skip.batchtest_TestKeepAlive" value="false" />
<property name="skip.batchtest_ResponseDecompression" value="false" />
<property name="skip.test_https" value="false" />
<property name="skip.test_http" value="false" />
<property name="skip.test_TestDNSCacheManager.testWithCustomResolverAnd1Server" value="false" />
<exec executable="hostname" outputproperty="computer.hostname"/>
<target name="findbugs" description="Run the stand-alone Findbugs detector">
<echoproperties prefix="findbugs"/>
<mkdir dir="reports"/>
<taskdef name="findbugs"
classpath="${findbugs.homedir}/lib/findbugs-ant.jar"
classname="edu.umd.cs.findbugs.anttask.FindBugsTask"/>
<findbugs home="${findbugs.homedir}"
output="xml:withMessages"
reportlevel="${findbugs.level}"
excludeFilter="fb-excludes.xml"
jvmargs="-Xms512m -Xmx1024m"
omitVisitors="InefficientStringBuffering"
outputFile="${findbugs.outName}.xml" >
<sourcePath path="${src.core}" />
<sourcePath path="${src.http}" />
<sourcePath path="${src.ftp}" />
<sourcePath path="${src.java}" />
<sourcePath path="${src.junit}" />
<sourcePath path="${src.jdbc}" />
<sourcePath path="${src.ldap}" />
<sourcePath path="${src.mail}" />
<sourcePath path="${src.components}" />
<sourcePath path="${src.functions}" />
<class location="${lib.dir}/jorphan.jar" />
<class location="${dest.jar}/ApacheJMeter_components.jar"/>
<class location="${dest.jar}/ApacheJMeter_components.jar"/>
<class location="${dest.jar}/ApacheJMeter_core.jar"/>
<class location="${dest.jar}/ApacheJMeter_ftp.jar"/>
<class location="${dest.jar}/ApacheJMeter_functions.jar"/>
<class location="${dest.jar}/ApacheJMeter_http.jar"/>
<class location="${dest.jar}/ApacheJMeter_java.jar"/>
<class location="${dest.jar}/ApacheJMeter_jdbc.jar"/>
<class location="${dest.jar}/ApacheJMeter_jms.jar"/>
<class location="${dest.jar}/ApacheJMeter_junit.jar"/>
<class location="${dest.jar}/ApacheJMeter_ldap.jar"/>
<class location="${dest.jar}/ApacheJMeter_mail.jar"/>
<class location="${dest.jar}/ApacheJMeter_native.jar"/>
<class location="${dest.jar}/ApacheJMeter_mongodb.jar"/>
<class location="${dest.jar}/ApacheJMeter_tcp.jar"/>
<class location="${dest.jar.jmeter}/ApacheJMeter.jar" />
<sourcePath path="${src.jorphan}" />
<sourcePath path="${src.tcp}" />
<sourcePath path="${src.jms}" />
<sourcePath path="${src.native}" />
<sourcePath path="${src.mongodb}" />
<auxClasspath>
<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
</auxClasspath>
<auxClasspath>
<fileset dir="${lib.opt}">
<include name="*.jar"/>
</fileset>
</auxClasspath>
<auxClasspath>
<fileset dir="${lib.api}">
<include name="*.jar"/>
</fileset>
</auxClasspath>
</findbugs>
<antcall target="findbugs-style"/>
<antcall target="findbugs-xsl"/>
</target>
<!-- Convert findbugs XML output to CSV -->
<target name="findbugs-style">
<xslt style="fb-csv.xsl"
force="true"
in="${findbugs.outName}.xml"
out="${findbugs.outName}.csv">
</xslt>
</target>
<!-- Convert findbugs XML output to HTML -->
<target name="findbugs-xsl">
<xslt style="${findbugs.xsldir}/${findbugs.xslname}.xsl"
force="true"
in="${findbugs.outName}.xml"
out="${findbugs.outName}_${findbugs.xslname}.html">
</xslt>
</target>
<!-- Where the Sources live -->
<property name="src.dir" value="src"/>
<property name="src.core" value="src/core"/>
<property name="src.http" value="src/protocol/http"/>
<property name="src.ftp" value="src/protocol/ftp"/>
<property name="src.test" value="test/src"/>
<property name="src.jdbc" value="src/protocol/jdbc"/>
<property name="src.java" value="src/protocol/java"/>
<property name="src.junit" value="src/junit"/>
<property name="src.components" value="src/components"/>
<property name="src.functions" value="src/functions"/>
<property name="src.jorphan" value="src/jorphan"/>
<property name="src.ldap" value="src/protocol/ldap"/>
<property name="src.tcp" value="src/protocol/tcp"/>
<property name="src.examples" value="src/examples"/>
<property name="src.mail" value="src/protocol/mail"/>
<property name="src.jms" value="src/protocol/jms"/>
<property name="src.native" value="src/protocol/native"/>
<property name="src.mongodb" value="src/protocol/mongodb"/>
<!-- Where the documentation sources live -->
<property name="src.docs" value="xdocs"/>
<property name="src.css" value="xdocs/css"/>
<property name="src.images" value="xdocs/images"/>
<property name="src.demos" value="xdocs/demos"/>
<!-- Javadoc sources -->
<path id="srcpaths">
<pathelement location="${src.core}"/>
<pathelement location="${src.components}"/>
<pathelement location="${src.functions}"/>
<pathelement location="${src.http}"/>
<pathelement location="${src.ftp}"/>
<pathelement location="${src.jdbc}"/>
<pathelement location="${src.java}"/>
<pathelement location="${src.junit}"/>
<pathelement location="${src.jorphan}"/>
<pathelement location="${src.ldap}"/>
<pathelement location="${src.tcp}"/>
<pathelement location="${src.examples}"/>
<pathelement location="${src.mail}"/>
<pathelement location="${src.jms}"/>
<pathelement location="${src.native}"/>
<pathelement location="${src.mongodb}"/>
</path>
<!-- Temporary build directories: where the .class live -->
<property name="build.dir" value="build"/>
<property name="build.core" value="build/core"/>
<property name="build.http" value="build/protocol/http"/>
<property name="build.ftp" value="build/protocol/ftp"/>
<property name="build.jdbc" value="build/protocol/jdbc"/>
<property name="build.java" value="build/protocol/java"/>
<property name="build.junit" value="build/junit"/>
<property name="build.components" value="build/components"/>
<property name="build.functions" value="build/functions"/>
<property name="build.jorphan" value="build/jorphan"/>
<property name="build.ldap" value="build/protocol/ldap"/>
<property name="build.mail" value="build/protocol/mail"/>
<property name="build.tcp" value="build/protocol/tcp"/>
<property name="build.examples" value="build/examples"/>
<property name="build.jms" value="build/protocol/jms"/>
<property name="build.native" value="build/protocol/native"/>
<property name="build.mongodb" value="build/protocol/mongodb"/>
<property name="build.test" value="build/test"/>
<property name="build.res" value="build/res"/>
<property name="build.test-res" value="test/resources"/>
<!-- Path prefix to allow Anakia to find stylesheets if running under Eclipse -->
<!--
Anakia looks for stylesheets relative to the java launch directory.
Use the External Tools properties page to define the variable
as the relative path to the directory where this build file is found.
For example:
eclipse.anakia=workspace/jmeter
An alternative is to define it as a command-line argument on the Main page;
this allows one to use a macro name, so is more portable.
For example:
-Declipse.anakia=workspace/${project_name}
WARNING: you must ensure that you have selected a file or directory in
the Navigator pane before attempting to run the build, or Eclipse will
complain that it cannot resolve the variable name, and it can mark the
launch configuration as having failed.
-->
<property name="eclipse.anakia" value="."/>
<!-- Where the build result .jars will be placed -->
<property name="dest.jar" value="lib/ext"/>
<property name="dest.jar.jmeter" value="bin"/>
<!-- Where the API documentation lives -->
<property name="dest.docs.api" value="docs/api"/>
<!-- Where the doc results live -->
<property name="dest.docs" value="docs"/>
<property name="dest.printable_docs" value="printable_docs"/>
<!-- Whether to force docs to be rebuilt -->
<property name="docs.force" value="false"/>
<!-- Default is for Anakia to only rebuild if the target file is older than the source -->
<condition property="anakia.lastModifiedCheck" value="true" else="false">
<!-- docs.force uses the opposite sense to the anakia check -->
<isfalse value="${docs.force}"/>
</condition>
<condition property="java9">
<equals arg1="${ant.java.version}" arg2="9"/>
</condition>
<!-- Directory where jars needed for creating documentation live -->
<property name="lib.doc" value="lib/doc"/>
<!-- Directory where these 3rd party libraries live -->
<property name="lib.dir" value="lib"/>
<!-- Directory where API spec libraries live -->
<property name="lib.api" value="lib/api"/>
<!-- Directory where Optional 3rd party libraries live -->
<property name="lib.opt" value="lib/opt"/>
<!-- Directory where Jacoco libraries live -->
<!-- I'm to lazy to fix this now, so I tag along with rat & checkstyle,
which already live there. But: none of these should appear on the classpath
of JMeter, neither runtime, nor compiletime. These are only required on the
Ant classpath, so judging from comments elsewhere, this is the wrong place.
-->
<property name="lib.coverage" location="lib/opt"/>
<!-- Other stuff -->
<property name="extras.dir" value="extras"/>
<!-- Some resources to add to jars -->
<property name="res.dir" value="res"/>
<!-- Where the distribution packages will be created -->
<property name="dist.dir" value="dist"/>
<!-- Where the Maven artifacts will be created -->
<property name="maven.dir" value="${dist.dir}/maven"/>
<!-- Where the Maven template poms are located -->
<property name="maven.poms" value="res/maven"/>
<!-- Compilation parameters -->
<property name="optimize" value="on"/>
<property name="deprecation" value="off"/>
<property name="target.java.version" value="1.8"/>
<property name="src.java.version" value="1.8"/>
<property name="encoding" value="UTF-8"/>
<!-- Set test encoding to the same default, but allow override -->
<property name="test.encoding" value="${encoding}"/>
<!-- Set javadoc encoding to the same default, but allow override -->
<property name="javadoc.encoding" value="${encoding}"/>
<property name="includeAntRuntime" value="false"/>
<!-- 3rd party libraries to be included in the binary distribution -->
<property file="build.properties"/> <!-- defines the library version numbers -->
<property name="resources.meta-inf" value="${build.res}/META-INF"/>
<patternset id="external.jars.notices">
<include name="LICENSE"/>
<include name="NOTICE"/>
<include name="README.md"/>
</patternset>
<!-- Jars for binary release -->
<patternset id="external.jars">
<include name="${lib.dir}/${accessors-smart.jar}"/>
<include name="${lib.dir}/${apache-bsf.jar}"/>
<include name="${lib.dir}/${asm.jar}"/>
<include name="${lib.dir}/${beanshell.jar}"/>
<include name="${lib.dir}/${dec.jar}"/>
<include name="${lib.dir}/${caffeine.jar}"/>
<include name="${lib.dir}/${commons-codec.jar}"/>
<include name="${lib.dir}/${commons-collections.jar}"/>
<include name="${lib.dir}/${commons-dbcp2.jar}"/>
<include name="${lib.dir}/${commons-io.jar}"/>
<include name="${lib.dir}/${commons-jexl2.jar}"/>
<include name="${lib.dir}/${commons-jexl3.jar}"/>
<include name="${lib.dir}/${commons-lang3.jar}"/>
<include name="${lib.dir}/${commons-math3.jar}"/>
<include name="${lib.dir}/${commons-net.jar}"/>
<include name="${lib.dir}/${commons-pool2.jar}"/>
<include name="${lib.dir}/${commons-text.jar}"/>
<include name="${lib.dir}/${darcula.jar}"/>
<include name="${lib.dir}/${dnsjava.jar}"/>
<include name="${lib.dir}/${freemarker.jar}"/>
<include name="${lib.dir}/${groovy-all.jar}"/>
<include name="${lib.dir}/${hamcrest-core.jar}"/>
<include name="${lib.dir}/${hamcrest-date.jar}"/>
<include name="${lib.dir}/${httpclient.jar}"/>
<include name="${lib.dir}/${httpasyncclient.jar}"/>
<include name="${lib.dir}/${httpcore.jar}"/>
<include name="${lib.dir}/${httpcore-nio.jar}"/>
<include name="${lib.dir}/${httpmime.jar}"/>
<include name="${lib.dir}/${jakarta-oro.jar}"/>
<include name="${lib.dir}/${jackson-annotations.jar}"/>
<include name="${lib.dir}/${jackson-core.jar}"/>
<include name="${lib.dir}/${jackson-databind.jar}"/>
<include name="${lib.dir}/${javamail.jar}"/>
<include name="${lib.dir}/${jcharts.jar}"/>
<include name="${lib.dir}/${jcl-over-slf4j.jar}"/>
<include name="${lib.dir}/${jms.jar}"/>
<include name="${lib.dir}/${rhino.jar}"/>
<include name="${lib.dir}/${javax.activation.jar}"/>
<include name="${lib.dir}/${javax.activation-api.jar}"/>
<include name="${lib.dir}/${jodd-core.jar}"/>
<include name="${lib.dir}/${jodd-lagarto.jar}"/>
<include name="${lib.dir}/${jodd-log.jar}"/>
<include name="${lib.dir}/${jodd-props.jar}"/>
<include name="${lib.dir}/${json-path.jar}"/>
<include name="${lib.dir}/${json-smart.jar}"/>
<include name="${lib.dir}/${jsoup.jar}"/>
<include name="${lib.dir}/${junit.jar}"/>
<include name="${lib.dir}/${log4j-1.2-api.jar}"/>
<include name="${lib.dir}/${log4j-core.jar}"/>
<include name="${lib.dir}/${log4j-slf4j-impl.jar}"/>
<include name="${lib.dir}/${mongo-java-driver.jar}"/>
<include name="${lib.dir}/${ph-css.jar}"/>
<include name="${lib.dir}/${ph-commons.jar}"/>
<include name="${lib.dir}/${rsyntaxtextarea.jar}"/>
<include name="${lib.dir}/${serializer.jar}"/>
<include name="${lib.dir}/${slf4j-api.jar}"/>
<include name="${lib.dir}/${log4j-api.jar}"/>
<include name="${lib.dir}/${jtidy.jar}"/>
<include name="${lib.dir}/${tika-core.jar}"/>
<include name="${lib.dir}/${tika-parsers.jar}"/>
<include name="${lib.dir}/${xalan.jar}"/>
<include name="${lib.dir}/${Saxon-HE.jar}"/>
<include name="${lib.dir}/${xerces.jar}"/>
<include name="${lib.dir}/${xml-apis.jar}"/>
<include name="${lib.dir}/${xmlgraphics-commons.jar}"/>
<include name="${lib.dir}/${xmlpull.jar}"/>
<include name="${lib.dir}/${xpp3.jar}"/>
<include name="${lib.dir}/${xstream.jar}"/>
</patternset>
<!--
Optional jars, not included in distribution.
Any such jars need to be downloaded separately.
These can be put into ${lib.dir} or ${lib.opt}
- both of these are included in the build classpath
Any jars put into ${lib.dir} will be included in
the classpath used by JMeter to load classes.
Jars in ${lib.opt} are NOT normally included by JMeter.
Placing an optional jar in ${lib.opt} means that it
will be included in the build classpath, but it will
not be included in the runtime classpath. This is intended
for testing JMeter without the optional Jar file(s).
-->
<!-- Build classpath (includes the optional jar directory) -->
<path id="classpath">
<!-- Externally produced jars -->
<pathelement location="${lib.dir}/${accessors-smart.jar}"/>
<pathelement location="${lib.dir}/${apache-bsf.jar}"/>
<pathelement location="${lib.dir}/${asm.jar}"/>
<pathelement location="${lib.dir}/${beanshell.jar}"/>
<pathelement location="${lib.dir}/${dec.jar}"/>
<pathelement location="${lib.dir}/${caffeine.jar}"/>
<pathelement location="${lib.dir}/${commons-codec.jar}"/>
<pathelement location="${lib.dir}/${commons-collections.jar}"/>
<pathelement location="${lib.dir}/${commons-dbcp2.jar}"/>
<pathelement location="${lib.dir}/${commons-io.jar}"/>
<pathelement location="${lib.dir}/${commons-jexl2.jar}"/>
<pathelement location="${lib.dir}/${commons-jexl3.jar}"/>
<pathelement location="${lib.dir}/${commons-lang3.jar}"/>
<pathelement location="${lib.dir}/${commons-math3.jar}"/>
<pathelement location="${lib.dir}/${commons-net.jar}"/>
<pathelement location="${lib.dir}/${commons-pool2.jar}"/>
<pathelement location="${lib.dir}/${commons-text.jar}"/>
<pathelement location="${lib.dir}/${darcula.jar}"/>
<pathelement location="${lib.dir}/${dnsjava.jar}"/>
<pathelement location="${lib.dir}/${freemarker.jar}"/>
<pathelement location="${lib.dir}/${groovy-all.jar}"/>
<pathelement location="${lib.dir}/${hamcrest-core.jar}"/>
<pathelement location="${lib.dir}/${hamcrest-date.jar}"/>
<pathelement location="${lib.dir}/${httpclient.jar}"/>
<pathelement location="${lib.dir}/${httpasyncclient.jar}"/>
<pathelement location="${lib.dir}/${httpcore.jar}"/>
<pathelement location="${lib.dir}/${httpcore-nio.jar}"/>
<pathelement location="${lib.dir}/${httpmime.jar}"/>
<pathelement location="${lib.dir}/${jakarta-oro.jar}"/>
<pathelement location="${lib.dir}/${jackson-annotations.jar}"/>
<pathelement location="${lib.dir}/${jackson-core.jar}"/>
<pathelement location="${lib.dir}/${jackson-databind.jar}"/>
<pathelement location="${lib.dir}/${javamail.jar}"/>
<pathelement location="${lib.dir}/${jcharts.jar}"/>
<pathelement location="${lib.dir}/${jms.jar}"/>
<pathelement location="${lib.dir}/${rhino.jar}"/>
<pathelement location="${lib.dir}/${javax.activation.jar}"/>
<pathelement location="${lib.dir}/${javax.activation-api.jar}"/>
<pathelement location="${lib.dir}/${jodd-core.jar}"/>
<pathelement location="${lib.dir}/${jodd-lagarto.jar}"/>
<pathelement location="${lib.dir}/${jodd-log.jar}"/>
<pathelement location="${lib.dir}/${jodd-props.jar}"/>
<pathelement location="${lib.dir}/${json-path.jar}"/>
<pathelement location="${lib.dir}/${json-smart.jar}"/>
<pathelement location="${lib.dir}/${jsoup.jar}"/>
<pathelement location="${lib.dir}/${junit.jar}"/>
<pathelement location="${lib.dir}/${log4j-1.2-api.jar}"/>
<pathelement location="${lib.dir}/${log4j-core.jar}"/>
<pathelement location="${lib.dir}/${log4j-slf4j-impl.jar}"/>
<pathelement location="${lib.dir}/${mongo-java-driver.jar}"/>
<pathelement location="${lib.dir}/${ph-css.jar}"/>
<pathelement location="${lib.dir}/${ph-commons.jar}"/>
<pathelement location="${lib.dir}/${rsyntaxtextarea.jar}"/>
<pathelement location="${lib.dir}/${serializer.jar}"/>
<pathelement location="${lib.dir}/${slf4j-api.jar}"/>
<pathelement location="${lib.dir}/${spock-core.jar}"/>
<pathelement location="${lib.dir}/${cglib-nodep.jar}"/>
<pathelement location="${lib.dir}/${objenesis.jar}"/>
<pathelement location="${lib.dir}/${jtidy.jar}"/>
<pathelement location="${lib.dir}/${tika-core.jar}"/>
<pathelement location="${lib.dir}/${tika-parsers.jar}"/>
<pathelement location="${lib.dir}/${xalan.jar}"/>
<pathelement location="${lib.dir}/${Saxon-HE.jar}"/>
<pathelement location="${lib.dir}/${xerces.jar}"/>
<pathelement location="${lib.dir}/${xml-apis.jar}"/>
<pathelement location="${lib.dir}/${xmlgraphics-commons.jar}"/>
<pathelement location="${lib.dir}/${xmlpull.jar}"/>
<pathelement location="${lib.dir}/${xpp3.jar}"/>
<pathelement location="${lib.dir}/${xstream.jar}"/>
<!-- Generated jars -->
<fileset dir="${lib.dir}" includes="jorphan.jar"/>
<!-- bshclient is needed to prevent occasional test failures in TestClassFinder -->
<fileset dir="${lib.dir}" includes="bshclient.jar"/>
<!-- API-only jars-->
<fileset dir="${lib.api}" includes="*.jar"/>
<!-- Optional jars -->
<fileset dir="${lib.opt}" includes="*.jar"/>
</path>
<!-- Logging classpath -->
<path id="logging.classpath">
<pathelement location="${lib.dir}/${jcl-over-slf4j.jar}"/>
<pathelement location="${lib.dir}/${log4j-api.jar}"/>
<pathelement location="${lib.dir}/${log4j-core.jar}"/>
<pathelement location="${lib.dir}/${log4j-1.2-api.jar}"/>
<pathelement location="${lib.dir}/${log4j-slf4j-impl.jar}"/>
</path>
<!-- Anakia classpath -->
<path id="anakia.classpath">
<pathelement location="${lib.doc}/${velocity.jar}"/>
<pathelement location="${lib.doc}/${jdom.jar}"/>
<pathelement location="${lib.dir}/${commons-collections.jar}"/>
<pathelement location="${lib.doc}/${commons-lang.jar}"/>
</path>
<!-- Version info filter set -->
<tstamp>
<format property="year" pattern="yyyy" locale="en"/>
</tstamp>
<filterset id="year.filters">
<filter token="YEAR" value="${year}"/>
</filterset>
<target name="init-version">
<tstamp/>
<!--
JMeter version
This is overridden for formal releases.
-->
<property name="jmeter.version" value="5.1.1"/>
<!-- Remember to change "docversion" below if necessary -->
<condition property="implementation.version"
value="${jmeter.version} r${svn.revision}" else="${jmeter.version}.${DSTAMP}">
<isset property="svn.revision"/>
</condition>
<property name="display.version" value="${implementation.version}"/>
<echo level="info">jmeter.version = ${jmeter.version}</echo>
<echo level="info">display.version = ${display.version}</echo>
<echo level="info">implementation.version = ${implementation.version}</echo>
<filterset id="version.filters">
<filter token="VERSION" value="${display.version}"/>
</filterset>
</target>
<!-- Get version from SVN status -->
<target name="init-svnVersion" depends="svnCheck">
<fail message="Could not get SVN revision" unless="svn.revision"/>
<property name="jmeter.version" value="r${svn.revision}"/>
<!-- Copy the value to avoid duplication of revision in Manifests -->
<property name="implementation.version" value="${jmeter.version}"/>
<property name="display.version" value="${jmeter.version}"/>
<echo level="info">svn.revision = ${svn.revision}</echo>
<echo level="info">jmeter.version = ${jmeter.version}</echo>
<echo level="info">display.version = ${display.version}</echo>
<echo level="info">implementation.version = ${implementation.version}</echo>
</target>
<target name="ant-version" depends="_check_ant-version">
<echo level="info">ant.version = ${ant.version}</echo>
<echo level="info">java.version = ${ant.java.version}</echo>
</target>
<target name="_check_ant-version">
<antversion property="version.running" />
<fail message="FATAL ERROR: The running Ant version, ${version.running}, is too old for this task.">
<condition>
<not>
<antversion atleast="${ant.version.required}" />
</not>
</condition>
</fail>
</target>
<target name="init-docs" depends="report-anakia-missing">
<echo level="info">eclipse.anakia = ${eclipse.anakia}</echo>
</target>
<!--
- Check for anakia task
-->
<target name="check-anakia">
<available classpathref="anakia.classpath" classname="org.apache.velocity.anakia.AnakiaTask" property="AnakiaTask.present"/>
<!-- Check for Velocity version 1.5 -->
<available classpathref="anakia.classpath" classname="org.apache.velocity.io.UnicodeInputStream" property="velocity.version.15"/>
<antcall target="report-old-velocity"></antcall>
</target>
<target name="report-anakia-missing" depends="check-anakia" unless="AnakiaTask.present">
<echo>
AnakiaTask is not present, documentation will not be generated.
</echo>
</target>
<target name="report-old-velocity" unless="velocity.version.15" if="AnakiaTask.present">
<echo>
Velocity version appears to be older than 1.5: the documentation may be generated with incorrect line endings.
</echo>
</target>
<target name="compile-core" depends="compile-jorphan" description="Compile JMeter core classes.">
<mkdir dir="${build.core}"/>
<javac srcdir="${src.core}" destdir="${build.core}" optimize="${optimize}" source="${src.java.version}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${lib.dir}/${log4j-core.jar}"/>
<path refid="classpath"/>
<path refid="logging.classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.core}" dest="${build.core}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-components" depends="compile-jorphan,compile-core" description="Compile generic (protocol-independent) components.">
<mkdir dir="${build.components}"/>
<javac srcdir="${src.components}" destdir="${build.components}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<exclude name="**/visualizers/RenderInBrowser.java" unless="javafx.present"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.components}" dest="${build.components}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-functions" depends="compile-jorphan,compile-core" description="Compile functions.">
<mkdir dir="${build.functions}"/>
<javac srcdir="${src.functions}" destdir="${build.functions}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.functions}" dest="${build.functions}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-http" depends="compile-jorphan,compile-core,compile-components" description="Compile components specific to HTTP sampling.">
<mkdir dir="${build.http}"/>
<!-- Directory needs to exist, or jar will fail -->
<javac srcdir="${src.http}" destdir="${build.http}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<pathelement location="${build.components}"/>
<path refid="classpath"/>
<pathelement location="${lib.dir}/${jcl-over-slf4j.jar}"/>
<pathelement location="${lib.dir}/${log4j-api.jar}"/>
<pathelement location="${lib.dir}/${log4j-core.jar}"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.http}" dest="${build.http}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<!-- Tests need main classes -->
<target name="compile-tests" depends="compile" description="Compile test components">
<mkdir dir="${build.test}"/>
<javac srcdir="${src.test}" destdir="${build.test}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<pathelement location="${build.components}"/>
<pathelement location="${build.http}"/>
<pathelement location="${build.ftp}"/>
<pathelement location="${build.functions}"/>
<pathelement location="${build.java}"/>
<pathelement location="${build.jdbc}"/>
<pathelement location="${build.jms}"/>
<pathelement location="${build.ldap}"/>
<pathelement location="${build.mail}"/>
<pathelement location="${build.mongodb}"/>
<pathelement location="${build.native}"/>
<pathelement location="${build.tcp}"/>
<!-- Also include compiled jars to allow running tests without rebuilding source -->
<fileset dir="${dest.jar}" includes="*.jar"/>
<path refid="classpath"/>
<path refid="logging.classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.test}" dest="${build.test}" includes="**/*.properties" encoding="UTF-8"/>
<!-- Compile Spock tests (groovy) -->
<taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
<classpath>
<fileset dir="${lib.dir}" includes="*.jar"/>
</classpath>
</taskdef>
<groovyc srcdir="${src.test}" destdir="${build.test}" encoding="${encoding}" listfiles="true">
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<pathelement location="${build.components}"/>
<pathelement location="${build.http}"/>
<pathelement location="${build.ftp}"/>
<pathelement location="${build.functions}"/>
<pathelement location="${build.java}"/>
<pathelement location="${build.jdbc}"/>
<pathelement location="${build.ldap}"/>
<pathelement location="${build.mail}"/>
<pathelement location="${build.tcp}"/>
<!-- Include compiled jars to allow running tests without rebuilding source -->
<fileset dir="${dest.jar}" includes="*.jar"/>
<path refid="classpath"/>
</classpath>
<!-- Compile JUnit tests (Java) -->
<javac source="${src.java.version}" debug="on" target="${target.java.version}"
deprecation="${deprecation}" encoding="${encoding}">
</javac>
</groovyc>
</target>
<target name="compile-ftp" depends="compile-jorphan,compile-core" description="Compile components specific to FTP sampling.">
<mkdir dir="${build.ftp}"/>
<javac srcdir="${src.ftp}" destdir="${build.ftp}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.ftp}" dest="${build.ftp}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-jdbc" depends="compile-jorphan,compile-core" description="Compile components specific to JDBC sampling.">
<mkdir dir="${build.jdbc}"/>
<javac srcdir="${src.jdbc}" destdir="${build.jdbc}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.jdbc}" dest="${build.jdbc}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-ldap" depends="compile-jorphan,compile-core"
description="Compile components specific to LDAP sampling.">
<mkdir dir="${build.ldap}"/>
<javac srcdir="${src.ldap}" destdir="${build.ldap}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.ldap}" dest="${build.ldap}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="create-mail-dir">
<mkdir dir="${build.mail}"/>
</target>
<target name="compile-mail" depends="compile-jorphan,compile-core,create-mail-dir"
description="Compile components specific to IMAP and POP3 sampling.">
<javac srcdir="${src.mail}" destdir="${build.mail}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.mail}" dest="${build.mail}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-java" depends="compile-jorphan,compile-core" description="Compile components specific to Java sampling.">
<mkdir dir="${build.java}"/>
<javac srcdir="${src.java}" destdir="${build.java}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.java}" dest="${build.java}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-junit" depends="compile-jorphan,compile-core" description="Compile components specific to JUnit sampling.">
<mkdir dir="${build.junit}"/>
<javac srcdir="${src.junit}" destdir="${build.junit}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.junit}" dest="${build.junit}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-tcp" depends="compile-jorphan,compile-core" description="Compile components specific to TCP sampling.">
<mkdir dir="${build.tcp}"/>
<javac srcdir="${src.tcp}" destdir="${build.tcp}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.tcp}" dest="${build.tcp}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-protocols" depends="compile-http,compile-ftp,compile-jdbc,compile-java,compile-ldap,compile-mail,compile-tcp" description="Compile all protocol-specific components."/>
<target name="compile-examples" depends="compile-jorphan,compile-core" description="Compile example components.">
<mkdir dir="${build.examples}"/>
<javac srcdir="${src.examples}" destdir="${build.examples}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.examples}" dest="${build.examples}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-jorphan" depends="init-version" description="Compile JOrphan utility classes.">
<mkdir dir="${build.jorphan}"/>
<javac srcdir="${src.jorphan}" destdir="${build.jorphan}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.jorphan}" dest="${build.jorphan}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-jms" depends="compile-jorphan,compile-core,compile-components"
description="Compile components specific to JMS sampling.">
<mkdir dir="${build.jms}"/>
<javac srcdir="${src.jms}" destdir="${build.jms}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>
<path refid="classpath"/>
</classpath>
</javac>
<!-- Convert the message files from UTF-8 to ASCII. This can be removed
after upgrading to Java 9+ as the minimum JRE and specifying the encoding
when loading the ResourceBundles -->
<native2ascii src="${src.jms}" dest="${build.jms}" includes="**/*.properties" encoding="UTF-8"/>
</target>
<target name="compile-native" depends="compile-jorphan,compile-core,compile-components"
description="Compile components specific to Native sampling.">
<mkdir dir="${build.native}"/>
<javac srcdir="${src.native}" destdir="${build.native}" source="${src.java.version}" optimize="${optimize}" debug="on" target="${target.java.version}"
includeAntRuntime="${includeAntRuntime}" deprecation="${deprecation}" encoding="${encoding}">
<include name="**/*.java"/>
<classpath>
<pathelement location="${build.jorphan}"/>
<pathelement location="${build.core}"/>