Lines Matching +full:- +full:- +full:junit +full:- +full:xml

1 <!--
5 * Copyright (C) 1997-2016, International Business Machines Corporation and *
8 -->
13 <property file="build-local.properties"/>
17 <import file="${shared.dir}/build/common-targets.xml"/>
21 <!-- icu4j binaries -->
24 <property name="icu4j-charset.jar.file" value="icu4j-charset.jar"/>
25 <property name="icu4j-localespi.jar.file" value="icu4j-localespi.jar"/>
29 <!-- icu4j API doc jar file -->
30 <property name="icu4jdocs.jar.file" value="icu4j-docs.jar"/>
32 <!-- icu4j src jar files -->
33 <property name="icu4j-src.jar.file" value="icu4j-src.jar"/>
34 <property name="icu4j-charset-src.jar.file" value="icu4j-charset-src.jar"/>
35 <property name="icu4j-localespi-src.jar.file" value="icu4j-localespi-src.jar"/>
37 <!-- icu4j source package archive files -->
41 <!-- icu4j versioned release files -->
42 <property name="icu4j.jar.versioned.file" value="icu4j-${release.file.ver}.jar"/>
43 … <property name="icu4j-charset.jar.versioned.file" value="icu4j-charset-${release.file.ver}.jar"/>
44 …<property name="icu4j-localespi.jar.versioned.file" value="icu4j-localespi-${release.file.ver}.jar…
46 <property name="icu4j-src.jar.versioned.file" value="icu4j-${release.file.ver}-src.jar"/>
47 …<property name="icu4j-charset-src.jar.versioned.file" value="icu4j-charset-${release.file.ver}-src…
48 …<property name="icu4j-localespi-src.jar.versioned.file" value="icu4j-localespi-${release.file.ver}
50 <property name="icu4jdocs.jar.versioned.file" value="icu4j-${release.file.ver}-docs.jar"/>
52 <!-- <property name="icu4jsrc.zip.versioned.file" value="icu4j-${release.file.ver}.zip"/> -->
53 <property name="icu4jsrc.tgz.versioned.file" value="icu4j-${release.file.ver}.tgz"/>
55 <!-- API doc -->
61 …<property name="icu4j.api.doc.copyright.footer" value="&lt;font size=-1&gt;Copyright &#x00A9; 2016…
63 <!-- API docs for maven repo -->
64 <property name="icu4jdocs.main.jar.versioned.file" value="icu4j-${release.file.ver}-docs.jar"/>
69 …<property name="icu4jdocs.charset.jar.versioned.file" value="icu4j-charset-${release.file.ver}-doc…
70 …<property name="icu4j.charset.api.doc.title" value="ICU4J Charset (com.ibm.icu:icu4j-charset) ${ap…
71 …<property name="icu4j.charset.api.doc.window.title" value="ICU4J Charset (com.ibm.icu:icu4j-charse…
72 …<property name="icu4j.charset.api.doc.header" value="ICU4J Charset (com.ibm.icu:icu4j-charset) ${a…
74 …ty name="icu4jdocs.localespi.jar.versioned.file" value="icu4j-localespi-${release.file.ver}-docs.j…
75 …4j.locspi.api.doc.title" value="ICU4J Locale SPI Provider (com.ibm.icu:icu4j-localespi) ${api.doc.…
76 …pi.api.doc.window.title" value="ICU4J Locale SPI Provider (com.ibm.icu:icu4j-localespi) ${api.doc.…
77 …j.locspi.api.doc.header" value="ICU4J Locale SPI Provider (com.ibm.icu:icu4j-localespi) ${api.doc.…
80 <!-- directories -->
86 <property name="external-jars" value="lib"/>
88 <!-- Java version check -->
98 <matches string="${java.version}" pattern="9((-.|\.\d).*)?"/>
102 <matches string="${java.version}" pattern="10((-.|\.\d).*)?"/>
106 <matches string="${java.version}" pattern="11((-.|\.\d).*)?"/>
110 <matches string="${java.version}" pattern="12((-.|\.\d).*)?"/>
139 <!-- Build environment info -->
142 <echo message="----- Build Environment Information -------------------"/>
151 <echo message="-------------------------------------------------------"/>
163 <ant dir="${icu4j.test-framework.dir}" target="clean" inheritAll="false"/>
164 <ant dir="${icu4j.core-tests.dir}" target="clean" inheritAll="false"/>
165 <ant dir="${icu4j.collate-tests.dir}" target="clean" inheritAll="false"/>
166 <ant dir="${icu4j.charset-tests.dir}" target="clean" inheritAll="false"/>
167 <ant dir="${icu4j.localespi-tests.dir}" target="clean" inheritAll="false"/>
168 <ant dir="${icu4j.packaging-tests.dir}" target="clean" inheritAll="false"/>
169 <ant dir="${icu4j.translit-tests.dir}" target="clean" inheritAll="false"/>
170 <ant dir="${icu4j.build-tools.dir}" target="clean" inheritAll="false"/>
174 <ant dir="${icu4j.perf-tests.dir}" target="clean" inheritAll="false"/>
176 <!-- delete all .jar files root directory -->
187 <available file="eclipse-build" type="dir" property="eclipse-build.dir.present"/>
188 <antcall target="_clean.eclipse-build"/>
191 <target name="_clean.eclipse-build" if="eclipse-build.dir.present">
192 <ant dir="eclipse-build" target="clean" inheritAll="false"/>
195 <target name="ivy-clean">
199 <!-- Ivy Targets -->
200 <property name="ivy.install.version" value="2.1.0-rc2" />
208 <target name="download-ivy" unless="offline">
210 … <!-- download Ivy from web site so that it can be used even without any special installation -->
211 …<get src="https://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.insta…
215 <target name="init-ivy" depends="download-ivy">
216 <!-- try to load ivy here from ivy home, in case the user has not already dropped
219 ivy is in at least one of ant's lib dir or the local lib dir. -->
223 <taskdef resource="org/apache/ivy/ant/antlib.xml"
227 <target name="test-init-junit-dependency" depends="init-ivy">
231 <target name="init" depends="test-init-junit-dependency"
266 <delete dir="${junit.out.dir}/checkTest"/>
267 <mkdir dir="${junit.out.dir}/checkTest"/>
269 <junit printsummary="yes">
271 <path refid="junit.jars"/>
272 <path refid="junit.icu.jars"/>
274 …<test name="${testclass}" todir="${junit.out.dir}/checkTest" outfile="checkTest" methods="${testna…
275 <formatter type="xml"/>
277 …<test name="${testclass}" todir="${junit.out.dir}/checkTest" outfile="checkTest" if="testaction.cl…
278 <formatter type="xml"/>
280 </junit>
282 <junitreport todir="${junit.out.dir}/checkTest">
283 <fileset dir="${junit.out.dir}/checkTest">
284 <include name="checkTest.xml"/>
286 <report format="frames" todir="${junit.out.dir}/checkTest/html"/>
289 <fail message="test failed: @{testdir}" if="@{failure-status}" />
300 …<echo>Execute JUnit testing using -Dtestclass='class-name' -Dtestnames='test-name1>, test-name2, .…
303 <!-- Junit Targets -->
304 <macrodef name="icu-junit">
305 <attribute name="test-name"/>
306 <attribute name="jvm-options" default=""/>
307 <attribute name="classpath" default="junit.icu.jars"/>
308 <attribute name="failure-status" default="ignore"/>
309 <element name="junit-fileset"/>
310 <element name="junit-parameters" optional="true"/>
312 <echo message="@{jvm-options}"/>
313 <!--set the property - if it was set before it won't override-->
314 <property name="user-jvm-options" value=""/>
315 <property name="internal-jvm-options" value=""/>
316 <delete dir="${junit.out.dir}/@{test-name}"/>
317 <mkdir dir="${junit.out.dir}/@{test-name}"/>
319 <junit fork="yes" forkmode="once" printsummary="yes" haltonfailure="no"
320 failureproperty="@{failure-status}" tempdir="${junit.out.dir}">
321 <jvmarg value="-Xss4m"/>
322 <jvmarg value="-ea"/>
323 <jvmarg value="-Djava.awt.headless=true"/>
324 <jvmarg line="${user-jvm-options}"/>
325 <jvmarg line="@{jvm-options}"/>
326 <jvmarg line="${internal-jvm-options}"/>
327 <junit-parameters/>
329 <path refid="junit.jars"/>
333 <formatter type="xml"/>
335 <batchtest todir="${junit.out.dir}/@{test-name}">
336 <junit-fileset/>
338 </junit>
340 <junitreport tofile="@{test-name}-TestSuite.xml" todir="${junit.out.dir}/@{test-name}">
341 <fileset dir="${junit.out.dir}/@{test-name}">
342 <include name="*.xml"/>
344 <report format="frames" todir="${junit.out.dir}/@{test-name}/html"/>
347 <fail message="test failed: @{test-name}" if="@{failure-status}" />
352 <property name="junit.out.dir" value="${out.dir}/junit-results"/>
353 <property name="junit.core.jar" value="${external-jars}/junit-4.12.jar"/>
354 <property name="junit.hamcrest.jar" value="${external-jars}/hamcrest-core-1.3.jar"/>
355 <property name="junit.junitparams.jar" value="${external-jars}/JUnitParams-1.0.5.jar"/>
356 <path id="junit.jars">
357 <pathelement path="${junit.core.jar}"/>
358 <pathelement path="${junit.hamcrest.jar}"/>
359 <pathelement path="${junit.junitparams.jar}"/>
362 <path id="junit.icu.jars">
370 <pathelement location="${icu4j.test-framework.jar}"/>
371 <pathelement location="${icu4j.core-tests.jar}"/>
372 <pathelement location="${icu4j.collate-tests.jar}"/>
373 <pathelement location="${icu4j.charset-tests.jar}"/>
374 <pathelement location="${icu4j.translit-tests.jar}"/>
375 <pathelement location="${icu4j.localespi-tests.jar}"/>
376 <pathelement location="${icu4j.packaging-tests.jar}"/>
380 <path id="junit.icu.release.jars">
386 <path id="junit.icu.localespi-tests.jars">
387 <pathelement location="${icu4j.test-framework.jar}"/>
388 <pathelement location="${icu4j.localespi-tests.jar}"/>
391 <!--Class names that will be included/excluded as tests-->
392 <patternset id="test-classes-patternset">
405 <!--Class names that will be included/excluded as tests for time zone check-->
406 <patternset id="timeZoneCheck-patternset">
411 <!--Class names that will be included/excluded as tests for packaging check-->
412 <patternset id="packagingCheck-patternset">
417 <!--Class names that will be included/excluded as tests for locale SPI check-->
418 <patternset id="localespiCheck-patternset">
424 <!-- meta build targets -->
425 …<target name="all" depends="info, main, tests, build-tools, tools, demos, samples, perf-tests, jar…
427 …get name="tests" depends="info, core-tests, charset-tests, collate-tests, packaging-tests, transli…
431 …<!-- Check to see if JVM_OPTIONS enviroment variable is set. This can be use to set the heap size.…
446 <param name="internal-jvm-options" value="-DICU.exhaustive=10"/>
448 <fail message="test failed" if="icu-junit-failure" />
453 <fail message="test failed" if="icu-junit-failure" />
458 <fail message="test failed" if="icu-junit-failure" />
462 <icu-junit test-name="releaseJarCheck"
463 classpath="junit.icu.release.jars"
464 failure-status="icu-junit-failure">
465 <junit-fileset>
467 <patternset refid="test-classes-patternset"/>
469 </junit-fileset>
470 </icu-junit>
471 <fail message="test failed - icu4j/icu4j-charset" if="icu-junit-failure" />
473 <property name="test.java.ext.dir" value="${out.dir}/localespi-ext"/>
476 <copy file="${icu4j-localespi.jar.file}" todir="${test.java.ext.dir}"/>
479 <icu-junit test-name="releaseJarCheck-localespi"
480 classpath="junit.icu.localespi-tests.jars"
481 jvm-options="-Djava.ext.dirs=${test.java.ext.dir}${path.separator}${java.ext.dirs}"
482 failure-status="icu-junit-failure">
483 <junit-fileset>
484 <fileset dir="${icu4j.localespi-tests.dir}/${bin.dir}">
485 <patternset refid="localespiCheck-patternset"/>
487 </junit-fileset>
488 </icu-junit>
489 <fail message="test failed - icu4j-localespi" if="icu-junit-failure" />
493 <icu-junit test-name="timeZoneCheck"
494 jvm-options="-DTimeZoneRoundTripAll=true"
495 failure-status="icu-junit-failure">
496 <junit-fileset>
497 <fileset dir="${icu4j.core-tests.dir}/${bin.dir}">
498 <patternset refid="timeZoneCheck-patternset"/>
500 </junit-fileset>
501 </icu-junit>
502 <fail message="test failed" if="icu-junit-failure" />
507 … <param name="internal-jvm-options" value="-Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=JDK"/>
511 <path id="junit.icu.jars.PackagingCheckNoLangData">
514 <pathelement location="${icu4j.test-framework.jar}"/>
515 <pathelement location="${icu4j.packaging-tests.jar}"/>
519 <path id="junit.icu.jars.PackagingCheckNoRegionData">
522 <pathelement location="${icu4j.test-framework.jar}"/>
523 <pathelement location="${icu4j.packaging-tests.jar}"/>
527 <path id="junit.icu.jars.PackagingCheckNoLangNorRegionData">
530 <pathelement location="${icu4j.test-framework.jar}"/>
531 <pathelement location="${icu4j.packaging-tests.jar}"/>
535 <!-- region data but no language data -->
536 <icu-junit test-name="packaging-NoLangData"
537 classpath="junit.icu.jars.PackagingCheckNoLangData"
538 failure-status="icu-junit-failure">
539 <junit-fileset>
540 <fileset dir="${icu4j.packaging-tests.dir}/${bin.dir}">
541 <patternset refid="packagingCheck-patternset"/>
543 </junit-fileset>
544 </icu-junit>
548 <!-- language data but no region data -->
549 <icu-junit test-name="packaging-NoRegionData"
550 classpath="junit.icu.jars.PackagingCheckNoRegionData"
551 failure-status="icu-junit-failure">
552 <junit-fileset>
553 <fileset dir="${icu4j.packaging-tests.dir}/${bin.dir}">
554 <patternset refid="packagingCheck-patternset"/>
556 </junit-fileset>
557 </icu-junit>
561 <!-- neither region nor language data -->
562 <icu-junit test-name="packaging-NoLangNorRegionData"
563 classpath="junit.icu.jars.PackagingCheckNoLangNorRegionData"
564 failure-status="icu-junit-failure">
565 <junit-fileset>
566 <fileset dir="${icu4j.packaging-tests.dir}/${bin.dir}">
567 <patternset refid="packagingCheck-patternset"/>
569 </junit-fileset>
570 </icu-junit>
573 …<target name="packagingCheck" depends="info, core, packaging-tests" description="Run packaging tes…
577 <fail message="test failed" if="icu-junit-failure" />
581 <icu-junit test-name="core" failure-status="icu-junit-failure">
582 <junit-fileset>
583 <fileset dir="${icu4j.core-tests.dir}/${bin.dir}">
584 <patternset refid="test-classes-patternset"/>
586 </junit-fileset>
587 </icu-junit>
590 …<target name="coreCheck" depends="info, core, currdata, langdata, regiondata, core-tests" descript…
592 <fail message="test failed" if="icu-junit-failure" />
596 <icu-junit test-name="charset" failure-status="icu-junit-failure">
597 <junit-fileset>
598 <fileset dir="${icu4j.charset-tests.dir}/${bin.dir}">
599 <patternset refid="test-classes-patternset"/>
601 </junit-fileset>
602 </icu-junit>
605 …" depends="info, core, charset, currdata, langdata, regiondata, core-tests, charset-tests" descrip…
607 <fail message="test failed" if="icu-junit-failure" />
611 <icu-junit test-name="collate" failure-status="icu-junit-failure">
612 <junit-fileset>
613 <fileset dir="${icu4j.collate-tests.dir}/${bin.dir}">
614 <patternset refid="test-classes-patternset"/>
616 </junit-fileset>
617 </icu-junit>
620 …" depends="info, core, collate, currdata, langdata, regiondata, core-tests, collate-tests" descrip…
622 <fail message="test failed" if="icu-junit-failure" />
626 <icu-junit test-name="translit" failure-status="icu-junit-failure">
627 <junit-fileset>
628 <fileset dir="${icu4j.translit-tests.dir}/${bin.dir}">
629 <patternset refid="test-classes-patternset"/>
631 </junit-fileset>
632 </icu-junit>
635 …<target name="translitCheck" depends="info, core, translit, translit-tests" description="Run the I…
637 <fail message="test failed" if="icu-junit-failure" />
641 <icu-junit test-name="localespi"
642 classpath="junit.icu.localespi-tests.jars"
643 …jvm-options="-Djava.ext.dirs=${icu4j.core.dir}/${jar.dir}${path.separator}${icu4j.localespi.dir}/$…
644 failure-status="icu-junit-failure">
645 <junit-fileset>
646 <fileset dir="${icu4j.localespi-tests.dir}/${bin.dir}">
647 <patternset refid="localespiCheck-patternset"/>
649 </junit-fileset>
650 </icu-junit>
653 …<target name="localespiCheck" depends="info, localespi, localespi-tests" description="Run the ICU4…
655 <fail message="test failed" if="icu-junit-failure" />
659 <icu-junit test-name="secureCheck"
660 classpath="junit.icu.release.jars"
661 …jvm-options="-Djava.security.manager -Djava.security.policy=${user.dir}/${shared.dir}/data/securit…
662 failure-status="icu-junit-failure">
663 <junit-fileset>
665 <patternset refid="test-classes-patternset"/>
667 </junit-fileset>
668 </icu-junit>
669 <fail message="test failed" if="icu-junit-failure" />
672 <!-- jar targets -->
674 <copy file="${icu4j.charset.jar}" tofile="${icu4j-charset.jar.file}"/>
675 … <copy file="${icu4j.localespi.jar}" tofile="${icu4j-localespi.jar.file}" failonerror="false"/>
678 …, collate, currdata, langdata, regiondata, translit" description="Build ICU4J all-in-one core jar">
681 <!-- manifest -->
691 <!-- jar -->
707 <target name="icu4jSrcJar" description="Build icu4j-src.jar">
708 <jar jarfile="${icu4j-src.jar.file}"
722 … <target name="icu4jtestsJar" depends="info, tests" description="Build ICU4J all-in-one test jar">
725 <fileset dir="${icu4j.test-framework.dir}/${bin.dir}" includes="**/*"/>
726 <fileset dir="${icu4j.core-tests.dir}/${bin.dir}" includes="**/*"/>
727 <fileset dir="${icu4j.collate-tests.dir}/${bin.dir}" includes="**/*"/>
728 <fileset dir="${icu4j.translit-tests.dir}/${bin.dir}" includes="**/*"/>
729 <fileset dir="${icu4j.charset-tests.dir}/${bin.dir}" includes="**/*"/>
738 <!-- release targets -->
750 … <condition property="disp.is.java8" value="${java.version}" else="${java.version} - Must be 1.8!">
771 …blish libraries. Set maven-ant-tasks.jar property. Maven Ant Tasks URL: http://maven.apache.org/an…
772 <condition property="no_maven-ant-tasks">
773 <available file="${maven-ant-tasks.jar}"/>
775 … <fail message="Maven Ant Tasks not found at ${maven-ant-tasks.jar}" unless="no_maven-ant-tasks"/>
778 <!--
785 1) Apache Maven Ant tasks - http://maven.apache.org/ant-tasks
789 … http://central.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
791 TODO: Because mavne-ant-tasks was already deprecated and no longer maintained,
796 3) Put build-local.properties to specify followings
798 maven-ant-tasks.jar = [location of maven ant tasks jar file]
801 4) Maven configuration file ~/.m2/settings.xml
805 <id>icu4j-releases</id>
810 <id>icu4j-snapshots</id>
816 -->
822 <property name="maven.charset.release.dir" value="${release.dir}/maven/icu4j-charset"/>
823 <property name="maven.localespi.release.dir" value="${release.dir}/maven/icu4j-localespi"/>
825 <property name="maven.icu4j.jar.file" value="icu4j-${maven.pom.ver}.jar"/>
826 <property name="maven.icu4j.src.jar.file" value="icu4j-${maven.pom.ver}-sources.jar"/>
827 <property name="maven.icu4j.doc.jar.file" value="icu4j-${maven.pom.ver}-javadoc.jar"/>
829 <property name="maven.charset.jar.file" value="icu4j-charset-${maven.pom.ver}.jar"/>
830 … <property name="maven.charset.src.jar.file" value="icu4j-charset-${maven.pom.ver}-sources.jar"/>
831 … <property name="maven.charset.doc.jar.file" value="icu4j-charset-${maven.pom.ver}-javadoc.jar"/>
833 <property name="maven.localespi.jar.file" value="icu4j-localespi-${maven.pom.ver}.jar"/>
834 …<property name="maven.localespi.src.jar.file" value="icu4j-localespi-${maven.pom.ver}-sources.jar"…
835 …<property name="maven.localespi.doc.jar.file" value="icu4j-localespi-${maven.pom.ver}-javadoc.jar"…
844 <!-- copy pom.xml with version -->
845 <copy file="${maven.pom.dir}/icu4j/pom.xml" todir="${maven.icu4j.release.dir}">
850 <copy file="${maven.pom.dir}/icu4j-charset/pom.xml" todir="${maven.charset.release.dir}">
855 … <copy file="${maven.pom.dir}/icu4j-localespi/pom.xml" todir="${maven.localespi.release.dir}">
861 <!-- copy ICU release binaries and source archive to the maven release directory -->
864 <copy file="${release.dir}/${icu4j-charset.jar.versioned.file}"
866 <copy file="${release.dir}/${icu4j-localespi.jar.versioned.file}"
869 <copy file="${release.dir}/${icu4j-src.jar.versioned.file}"
871 <copy file="${release.dir}/${icu4j-charset-src.jar.versioned.file}"
873 <copy file="${release.dir}/${icu4j-localespi-src.jar.versioned.file}"
876 <!-- javadoc jar for maven release -->
887 <!-- sign release files-->
893 <arg value="-u"/>
895 <arg value="-ab"/>
896 <arg value="-o"/>
903 <gpg file="${maven.icu4j.release.dir}/pom.xml"/>
908 <gpg file="${maven.charset.release.dir}/pom.xml"/>
913 <gpg file="${maven.localespi.release.dir}/pom.xml"/>
918 <!-- deploy ICU4J artifacts to the OSSRH staging repository -->
919 <path id="maven-ant-tasks.classpath" path="${maven-ant-tasks.jar}"/>
920 <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant"
921 classpathref="maven-ant-tasks.classpath"/>
923 … <deploy xmlns="urn:maven-artifact-ant" file="${maven.icu4j.release.dir}/${maven.icu4j.jar.file}">
924 <pom file="${maven.icu4j.release.dir}/pom.xml"/>
925 <attach file="${maven.icu4j.release.dir}/pom.xml.asc" type="pom.asc"/>
933 …<deploy xmlns="urn:maven-artifact-ant" file="${maven.charset.release.dir}/${maven.charset.jar.file…
934 <pom file="${maven.charset.release.dir}/pom.xml"/>
935 <attach file="${maven.charset.release.dir}/pom.xml.asc" type="pom.asc"/>
943 …<deploy xmlns="urn:maven-artifact-ant" file="${maven.localespi.release.dir}/${maven.localespi.jar.…
944 <pom file="${maven.localespi.release.dir}/pom.xml"/>
945 <attach file="${maven.localespi.release.dir}/pom.xml.asc" type="pom.asc"/>
956 <!-- binaries -->
958 …<move file="${release.dir}/${icu4j-charset.jar.file}" tofile="${release.dir}/${icu4j-charset.jar.v…
959 …<move file="${release.dir}/${icu4j-localespi.jar.file}" tofile="${release.dir}/${icu4j-localespi.j…
961 <!-- source jars -->
962 …<move file="${release.dir}/${icu4j-src.jar.file}" tofile="${release.dir}/${icu4j-src.jar.versioned…
963 …<move file="${release.dir}/${icu4j-charset-src.jar.file}" tofile="${release.dir}/${icu4j-charset-s…
964 …<move file="${release.dir}/${icu4j-localespi-src.jar.file}" tofile="${release.dir}/${icu4j-locales…
966 <!-- docs -->
969 <!-- package archive -->
972 <!-- md5 checksum file -->
983 <concat destfile="${release.dir}/icu4j-${release.file.ver}.md5">
1017 <copy file="${icu4j.charset.jar}" tofile="${release.dir}/${icu4j-charset.jar.file}"/>
1018 <copy file="${icu4j.localespi.jar}" tofile="${release.dir}/${icu4j-localespi.jar.file}"/>
1024 <!-- icu4j src-jar -->
1025 <copy file="${icu4j-src.jar.file}" tofile="${release.dir}/${icu4j-src.jar.file}"/>
1027 <!-- charset/localespi src-jar -->
1028 <ant dir="${icu4j.charset.dir}" target="src-jar" inheritAll="false"/>
1029 <ant dir="${icu4j.localespi.dir}" target="src-jar" inheritAll="false"/>
1031 …="${icu4j.charset.dir}/${out.dir}/lib/${icu4j-charset-src.jar.file}" tofile="${release.dir}/${icu4…
1032 …icu4j.localespi.dir}/${out.dir}/lib/${icu4j-localespi-src.jar.file}" tofile="${release.dir}/${icu4…
1051 encoding="UTF-8"
1055 <include name="perf-tests/**/*"/>
1059 <include name="*.xml"/>
1065 <exclude name="**/build-local.properties"/>
1093 encoding="UTF-8"
1097 <include name="perf-tests/**/*"/>
1101 <include name="*.xml"/>
1107 <exclude name="**/build-local.properties"/>
1132 <!-- findbugs targets -->
1139 <copy file="${icu4j.core.dir}/${out.dir}/fb-core.html" todir="${findbugs.out.dir}"/>
1142 <copy file="${icu4j.collate.dir}/${out.dir}/fb-collate.html" todir="${findbugs.out.dir}"/>
1145 <copy file="${icu4j.currdata.dir}/${out.dir}/fb-currdata.html" todir="${findbugs.out.dir}"/>
1148 <copy file="${icu4j.langdata.dir}/${out.dir}/fb-langdata.html" todir="${findbugs.out.dir}"/>
1151 … <copy file="${icu4j.regiondata.dir}/${out.dir}/fb-regiondata.html" todir="${findbugs.out.dir}"/>
1154 <copy file="${icu4j.translit.dir}/${out.dir}/fb-translit.html" todir="${findbugs.out.dir}"/>
1158 <copy file="${icu4j.charset.dir}/${out.dir}/fb-charset.html" todir="${findbugs.out.dir}"/>
1161 … <copy file="${icu4j.localespi.dir}/${out.dir}/fb-localespi.html" todir="${findbugs.out.dir}"/>
1164 <!-- compile targets -->
1197 <target name="test-framework" depends="core, init" description="Build test framework classes">
1198 <ant dir="${icu4j.test-framework.dir}" inheritAll="false">
1199 <reference refid="junit.jars"/>
1203 <target name="core-tests" depends="core, test-framework" description="Build core tests">
1204 <ant dir="${icu4j.core-tests.dir}" inheritAll="false">
1205 <reference refid="junit.jars"/>
1209 <target name="collate-tests" depends="collate, test-framework" description="Build core tests">
1210 <ant dir="${icu4j.collate-tests.dir}" inheritAll="false">
1211 <reference refid="junit.jars"/>
1215 … <target name="charset-tests" depends="charset, test-framework" description="Build charset tests">
1216 <ant dir="${icu4j.charset-tests.dir}" inheritAll="false">
1217 <reference refid="junit.jars"/>
1221 …<target name="localespi-tests" depends="localespi, test-framework" description="Build Locale SPI t…
1222 <ant dir="${icu4j.localespi-tests.dir}" inheritAll="false">
1223 <reference refid="junit.jars"/>
1227 <target name="packaging-tests" depends="test-framework" description="Build packaging tests">
1228 <ant dir="${icu4j.packaging-tests.dir}" inheritAll="false">
1229 <reference refid="junit.jars"/>
1233 …<target name="translit-tests" depends="translit, test-framework" description="Build translit tests…
1234 <ant dir="${icu4j.translit-tests.dir}" inheritAll="false">
1235 <reference refid="junit.jars"/>
1247 <target name="build-tools" description="Build build-tool classes">
1248 <ant dir="${icu4j.build-tools.dir}" inheritAll="false"/>
1251 …<target name="tools" depends="core, core-tests, collate, translit, translit-tests" description="Bu…
1255 …<target name="perf-tests" depends="core, charset, collate, tools" description="Build performance t…
1256 <ant dir="${icu4j.perf-tests.dir}" inheritAll="false"/>
1259 <!-- doc targets -->
1260 …<target name="docs" depends="info, build-tools, _checkJCite, _docsWithJCite, _docsWithoutJCite" de…
1263 <condition property="doclint.option" value="-Xdoclint:all">
1288 <!-- all other cases -->
1293 <!-- syntax check is disabled because JCite tag name "@.jcite" is invalidated -->
1294 <condition property="doclint.option" value="-Xdoclint:reference,html" else="">
1311 docencoding="UTF-8"
1312 charset="UTF-8"
1314-breakiterator -use -tagletpath ${icu4j.build-tools.jar}${path.separator}${jcite.libs} -taglet com…
1347 docencoding="UTF-8"
1348 charset="UTF-8"
1350 …additionalparam="${doclint.option} -breakiterator -use -tagletpath ${icu4j.build-tools.jar} -tagle…
1373 <!-- Component document targets, only used for Maven repository releases -->
1374 …<target name="docsMaven" depends="info, build-tools, _checkJCite, _docsStyleSheet, _docsLintOption…
1392 docencoding="UTF-8"
1393 charset="UTF-8"
1395-breakiterator -use -tagletpath ${icu4j.build-tools.jar}${path.separator}${jcite.libs} -taglet com…
1431 docencoding="UTF-8"
1432 charset="UTF-8"
1434-breakiterator -use -tagletpath ${icu4j.build-tools.jar}${path.separator}${jcite.libs} -taglet com…
1458 docencoding="UTF-8"
1459 charset="UTF-8"
1461 additionalparam="${doclint.option} -breakiterator -use"
1474 <!-- JaCoCo code coverage target -->
1475 <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml" onerror="ignore">
1479 …<target name="coverageJaCoCo" depends="build-tools, jar, tests" description="Run the ICU4J unit te…
1483 <property name="jacoco.report.xml" value="${jacoco.out.dir}/report.xml"/>
1485 <property name="jacoco.exclusion.txt" value="coverage-exclusion.txt"/>
1490 <!-- core -->
1492 <junit fork="yes" forkmode="once" printsummary="yes" haltonfailure="no">
1493 <jvmarg value="-ea"/>
1494 <jvmarg value="-Djava.awt.headless=true"/>
1496 <path refid="junit.jars"/>
1497 <path refid="junit.icu.jars"/>
1500 <batchtest todir="${junit.out.dir}/core">
1501 <fileset dir="${icu4j.core-tests.dir}/${bin.dir}">
1502 <patternset refid="test-classes-patternset"/>
1505 </junit>
1508 <!-- charset -->
1510 <junit fork="yes" forkmode="once" printsummary="yes" haltonfailure="no">
1511 <jvmarg value="-ea"/>
1512 <jvmarg value="-Djava.awt.headless=true"/>
1514 <path refid="junit.jars"/>
1515 <path refid="junit.icu.jars"/>
1518 <batchtest todir="${junit.out.dir}/charset">
1519 <fileset dir="${icu4j.charset-tests.dir}/${bin.dir}">
1520 <patternset refid="test-classes-patternset"/>
1523 </junit>
1526 <!-- collate -->
1528 <junit fork="yes" forkmode="once" printsummary="yes" haltonfailure="no">
1529 <jvmarg value="-ea"/>
1530 <jvmarg value="-Djava.awt.headless=true"/>
1532 <path refid="junit.jars"/>
1533 <path refid="junit.icu.jars"/>
1536 <batchtest todir="${junit.out.dir}/collate">
1537 <fileset dir="${icu4j.collate-tests.dir}/${bin.dir}">
1538 <patternset refid="test-classes-patternset"/>
1541 </junit>
1544 <!-- translit -->
1546 <junit fork="yes" forkmode="once" printsummary="yes" haltonfailure="no">
1547 <jvmarg value="-ea"/>
1548 <jvmarg value="-Djava.awt.headless=true"/>
1550 <path refid="junit.jars"/>
1551 <path refid="junit.icu.jars"/>
1554 <batchtest todir="${junit.out.dir}/translit">
1555 <fileset dir="${icu4j.translit-tests.dir}/${bin.dir}">
1556 <patternset refid="test-classes-patternset"/>
1559 </junit>
1571 <include name="${icu4j-charset.jar.file}"/>
1574 <sourcefiles encoding="UTF-8">
1587 <xml destfile="${jacoco.report.xml}"/>
1592 <arg line="${jacoco.report.xml} ${jacoco.exclusion.txt}"/>
1594 <pathelement location="${icu4j.build-tools.jar}"/>
1600 <!-- Release management targets -->
1601 … <target name="checktags" depends="info, build-tools" description="Check API tags before release">
1618 <doclet name="com.ibm.icu.dev.tool.docs.CheckTags" path="${icu4j.build-tools.jar}"/>
1622 …<target name="gatherapi" depends="info, build-tools" description="Run API database generator tool">
1644 <doclet name="com.ibm.icu.dev.tool.docs.GatherAPIData" path="${icu4j.build-tools.jar}">
1645 <param name="-name" value="ICU4J ${icu4j.impl.version}"/>
1646 <param name="-output" value="${out.dir}/icu4j${api.report.version}.api3"/>
1647 <param name="-internal"/>
1648 <param name="-version"/>
1649 <param name="-gzip"/>
1656 classpath="${icu4j.build-tools.jar}"
1658 <arg value="-old:" />
1659 <arg value="${icu4j.build-tools.dir}/icu4j${api.report.prev.version}.api3.gz" />
1660 <arg value="-new:" />
1662 <arg value="-html" />
1663 <arg value="-out:" />
1668 …<target name="gatherapiOld" depends="info, build-tools" description="Run API database generator to…
1690 … <doclet name="com.ibm.icu.dev.tool.docs.GatherAPIDataOld" path="${icu4j.build-tools.jar}">
1691 <param name="-name" value="ICU4J ${icu4j.impl.version}"/>
1692 <param name="-output" value="${out.dir}/icu4j${api.report.version}.api"/>
1693 <param name="-internal"/>
1694 <param name="-gzip"/>
1701 classpath="${icu4j.build-tools.jar}"
1703 <arg value="-old:" />
1704 <arg value="${icu4j.build-tools.dir}/icu4j${api.report.prev.version}.api.gz" />
1705 <arg value="-new:" />
1707 <arg value="-html" />
1708 <arg value="-internal" />
1709 <arg value="-out:" />
1714 <target name="checkDeprecated" depends="info, build-tools, gatherapi, main"
1720 <pathelement location="${icu4j.build-tools.jar}"/>
1732 <target name="checkAPIStatusConsistency" depends="info, build-tools, gatherapi"
1734 <!--
1735 … If you need classes excluded from this check, define followig property in build-local.properties.
1737 -->
1744 <pathelement location="${icu4j.build-tools.jar}"/>
1760 classpath="${icu4j.build-tools.jar}"
1762 <arg value="-f"/>
1764 <arg value="-o"/>
1772 classpath="${icu4j.build-tools.jar}"
1774 <arg value="-f"/>
1776 <arg value="-o"/>
1778 <arg value="-t"/>
1783 …<target name="swatDeprecated" depends="build-tools" description="Convert @deprecated @draft tags t…
1785 <param name="swat.deprecated.opt" value="-dep"/>
1789 …<target name="swatProvisional" depends="build-tools" description="Convert @provisional tags to @de…
1791 <param name="swat.deprecated.opt" value="-prov"/>
1797 classpath="${icu4j.build-tools.jar}"
1800 <arg value="-src"/>
1802 <arg value="-dst"/>
1804 <arg value="-overwrite"/>
1805 <arg value="-verbose"/>
1808 classpath="${icu4j.build-tools.jar}"
1811 <arg value="-src"/>
1813 <arg value="-dst"/>
1815 <arg value="-overwrite"/>
1816 <arg value="-verbose"/>
1834 <pathelement location="${icu4j.test-framework.jar}"/>
1835 <pathelement location="${icu4j.core-tests.jar}"/>
1844 <!-- Special packaging targets -->
1910 <src path="${icu4j.test-framework.dir}/src"/>
1930 <!-- icu4j.jar -->
1932 <!-- icu4j-src.jar -->
1933 <copy file="${icu4j-src.jar.file}" todir="${cldr.release.dir}"/>
1934 <!-- utilities.jar -->
1936 <!-- utilities-src.jar -->
1937 <jar jarfile="${cldr.release.dir}/utilities-src.jar" compress="true">
1938 <fileset dir="${icu4j.test-framework.dir}/${src.dir}">
1965 <jar jarfile="${xliff.out.dir}/lib/xliff-src.jar"