• Home
  • Raw
  • Download

Lines Matching +full:- +full:jar

1 <!--
5 * Copyright (C) 1997-2016, International Business Machines Corporation and *
8 -->
9 <project name="icu4j" default="jar" basedir="."
13 <property file="build-local.properties"/>
17 <import file="${shared.dir}/build/common-targets.xml"/>
21 <!-- icu4j binaries -->
22 <property name="icu4j.jar.file" value="icu4j.jar"/>
23 <property name="icu4jtests.jar.file" value="icu4jtests.jar"/>
24 <property name="icu4j-charset.jar.file" value="icu4j-charset.jar"/>
25 <property name="icu4j-localespi.jar.file" value="icu4j-localespi.jar"/>
27 <property name="icu4jdemos.jar.file" value="icu4jdemos.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 <!-- directories -->
66 <property name="external-jars" value="lib"/>
68 <!-- Java version check -->
116 <!-- Build environment info -->
119 <echo message="----- Build Environment Information -------------------"/>
128 <echo message="-------------------------------------------------------"/>
140 <ant dir="${icu4j.test-framework.dir}" target="clean" inheritAll="false"/>
141 <ant dir="${icu4j.core-tests.dir}" target="clean" inheritAll="false"/>
142 <ant dir="${icu4j.collate-tests.dir}" target="clean" inheritAll="false"/>
143 <ant dir="${icu4j.charset-tests.dir}" target="clean" inheritAll="false"/>
144 <ant dir="${icu4j.localespi-tests.dir}" target="clean" inheritAll="false"/>
145 <ant dir="${icu4j.packaging-tests.dir}" target="clean" inheritAll="false"/>
146 <ant dir="${icu4j.translit-tests.dir}" target="clean" inheritAll="false"/>
147 <ant dir="${icu4j.build-tools.dir}" target="clean" inheritAll="false"/>
151 <ant dir="${icu4j.perf-tests.dir}" target="clean" inheritAll="false"/>
153 <!-- delete all .jar files root directory -->
155 <fileset dir="." includes="icu4j*.jar"/>
164 <available file="eclipse-build" type="dir" property="eclipse-build.dir.present"/>
165 <antcall target="_clean.eclipse-build"/>
168 <target name="_clean.eclipse-build" if="eclipse-build.dir.present">
169 <ant dir="eclipse-build" target="clean" inheritAll="false"/>
172 <target name="ivy-clean">
176 <!-- Ivy Targets -->
177 <property name="ivy.install.version" value="2.1.0-rc2" />
182 <property name="ivy.jar.dir" value="${ivy.home}/lib" />
183 <property name="ivy.jar.file" value="${ivy.jar.dir}/ivy.jar" />
185 <target name="download-ivy" unless="offline">
186 <mkdir dir="${ivy.jar.dir}"/>
187 … <!-- download Ivy from web site so that it can be used even without any special installation -->
188 …://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
189 dest="${ivy.jar.file}" usetimestamp="true"/>
192 <target name="init-ivy" depends="download-ivy">
193 <!-- try to load ivy here from ivy home, in case the user has not already dropped
196 ivy is in at least one of ant's lib dir or the local lib dir. -->
198 <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
204 <target name="test-init-junit-dependency" depends="init-ivy">
208 <target name="init" depends="test-init-junit-dependency"
211 <!-- Junit Targets -->
212 <macrodef name="icu-junit">
215 <attribute name="jvm-options" default=""/>
216 <attribute name="test-patternset" default="test-classes-patternset"/>
218 <attribute name="failure-status" default="ignore"/>
219 <element name="junit-parameters" optional="true"/>
221 <!--set the property - if it was set before it won't override-->
222 <property name="user-jvm-options" value=""/>
223 <property name="internal-jvm-options" value=""/>
227 …rk="yes" forkmode="once" printsummary="yes" haltonfailure="no" failureproperty="@{failure-status}">
228 <jvmarg value="-Xss4m"/>
229 <jvmarg value="-ea"/>
230 <jvmarg value="-Djava.awt.headless=true"/>
231 <jvmarg line="${user-jvm-options}"/>
232 <jvmarg line="@{jvm-options}"/>
233 <jvmarg line="${internal-jvm-options}"/>
234 <junit-parameters/>
244 <patternset refid="@{test-patternset}"/>
249 <junitreport tofile="@{output}-TestSuite.xml" todir="${junit.out.dir}/@{output}">
256 <fail message="test failed: @{testdir}" if="@{failure-status}" />
261 <property name="junit.out.dir" value="${out.dir}/junit-results"/>
262 <property name="junit.core.jar" value="${external-jars}/junit-4.12.jar"/>
263 <property name="junit.hamcrest.jar" value="${external-jars}/hamcrest-core-1.3.jar"/>
264 <property name="junit.junitparams.jar" value="${external-jars}/JUnitParams-1.0.5.jar"/>
266 <pathelement path="${junit.core.jar}"/>
267 <pathelement path="${junit.hamcrest.jar}"/>
268 <pathelement path="${junit.junitparams.jar}"/>
272 <pathelement location="${icu4j.core.jar}"/>
273 <pathelement location="${icu4j.collate.jar}"/>
274 <pathelement location="${icu4j.charset.jar}"/>
275 <pathelement location="${icu4j.currdata.jar}"/>
276 <pathelement location="${icu4j.langdata.jar}"/>
277 <pathelement location="${icu4j.regiondata.jar}"/>
278 <pathelement location="${icu4j.translit.jar}"/>
279 <pathelement location="${icu4j.test-framework.jar}"/>
280 <pathelement location="${icu4j.core-tests.jar}"/>
281 <pathelement location="${icu4j.collate-tests.jar}"/>
282 <pathelement location="${icu4j.charset-tests.jar}"/>
283 <pathelement location="${icu4j.translit-tests.jar}"/>
284 <pathelement location="${icu4j.localespi-tests.jar}"/>
285 <pathelement location="${icu4j.packaging-tests.jar}"/>
286 <pathelement location="${icu4j.regiondata.jar}"/>
289 <!--Class names that will be included/excluded as tests-->
290 <patternset id="test-classes-patternset">
301 <!--Class names that will be included/excluded as tests for time zone check-->
302 <patternset id="timeZoneCheck-patternset">
307 <!--Class names that will be included/excluded as tests for packaging check-->
308 <patternset id="packagingCheck-patternset">
313 <!--Class names that will be included/excluded as tests for locale SPI check-->
314 <patternset id="localespiCheck-patternset">
320 <!-- meta build targets -->
321 …<target name="all" depends="info, main, tests, build-tools, tools, demos, samples, perf-tests, jar
323 …get name="tests" depends="info, core-tests, charset-tests, collate-tests, packaging-tests, transli…
327 …<!-- Check to see if JVM_OPTIONS enviroment variable is set. This can be use to set the heap size.…
340 <param name="internal-jvm-options" value="-DICU.exhaustive=10"/>
342 <fail message="test failed" if="icu-junit-failure" />
347 <fail message="test failed" if="icu-junit-failure" />
352 <fail message="test failed" if="icu-junit-failure" />
356 <icu-junit
357 testdir="${icu4j.core-tests.dir}" output="timeZoneCheck"
358 test-patternset="timeZoneCheck-patternset"
359 jvm-options="-DTimeZoneRoundTripAll=true"
360 failure-status="icu-junit-failure"
362 <fail message="test failed" if="icu-junit-failure" />
367 … <param name="internal-jvm-options" value="-Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=JDK"/>
372 <pathelement location="${icu4j.core.jar}"/>
373 <pathelement location="${icu4j.charset.jar}"/>
374 <pathelement location="${icu4j.test-framework.jar}"/>
375 <pathelement location="${icu4j.packaging-tests.jar}"/>
376 <pathelement location="${icu4j.regiondata.jar}"/>
380 <pathelement location="${icu4j.core.jar}"/>
381 <pathelement location="${icu4j.charset.jar}"/>
382 <pathelement location="${icu4j.test-framework.jar}"/>
383 <pathelement location="${icu4j.packaging-tests.jar}"/>
384 <pathelement location="${icu4j.langdata.jar}"/>
388 <pathelement location="${icu4j.core.jar}"/>
389 <pathelement location="${icu4j.charset.jar}"/>
390 <pathelement location="${icu4j.test-framework.jar}"/>
391 <pathelement location="${icu4j.packaging-tests.jar}"/>
395 <!-- region data but no language data -->
396 <icu-junit testdir="${icu4j.packaging-tests.dir}" output="packaging/NoLangData"
397 test-patternset="packagingCheck-patternset"
399 failure-status="icu-junit-failure"
404 <!-- language data but no region data -->
405 <icu-junit testdir="${icu4j.packaging-tests.dir}" output="packaging/NoRegionData"
406 test-patternset="packagingCheck-patternset"
408 failure-status="icu-junit-failure"
413 <!-- neither region nor language data -->
414 <icu-junit testdir="${icu4j.packaging-tests.dir}" output="packaging/NoLangNorRegionData"
415 test-patternset="packagingCheck-patternset"
417 failure-status="icu-junit-failure"
421 …<target name="packagingCheck" depends="info, core, packaging-tests" description="Run packaging tes…
425 <fail message="test failed" if="icu-junit-failure" />
429 <icu-junit testdir="${icu4j.core-tests.dir}" output="core"
430 failure-status="icu-junit-failure"
434 …<target name="coreCheck" depends="info, core, currdata, langdata, regiondata, core-tests" descript…
436 <fail message="test failed" if="icu-junit-failure" />
440 <icu-junit testdir="${icu4j.charset-tests.dir}" output="charset"
441 failure-status="icu-junit-failure"
445 …" depends="info, core, charset, currdata, langdata, regiondata, core-tests, charset-tests" descrip…
447 <fail message="test failed" if="icu-junit-failure" />
451 <icu-junit testdir="${icu4j.collate-tests.dir}" output="collate"
452 failure-status="icu-junit-failure"
456 …" depends="info, core, collate, currdata, langdata, regiondata, core-tests, collate-tests" descrip…
458 <fail message="test failed" if="icu-junit-failure" />
462 <icu-junit testdir="${icu4j.translit-tests.dir}" output="translit"
463 failure-status="icu-junit-failure"
467 …<target name="translitCheck" depends="info, core, translit, translit-tests" description="Run the I…
469 <fail message="test failed" if="icu-junit-failure" />
473 <icu-junit testdir="${icu4j.localespi-tests.dir}" output="localespi"
474 test-patternset="localespiCheck-patternset"
475-options="-Djava.ext.dirs=${icu4j.core.dir}/${jar.dir}${path.separator}${icu4j.localespi.dir}/${ja…
476 failure-status="icu-junit-failure"
480 …<target name="localespiCheck" if="is.java6.plus" depends="info, localespi, localespi-tests" descri…
482 <fail message="test failed" if="icu-junit-failure" />
485 <target name="secureCheck" description="Run the secure (applet-like) ICU4J test suite">
487 …<param name="internal-jvm-options" value="-DICU.securitypolicy=${shared.dir}/data/security.policy"…
491 <!-- jar targets -->
492 …<target name="jar" depends="icu4jJar, charset, localespi" description="Build ICU4J runtime library…
493 <copy file="${icu4j.charset.jar}" tofile="${icu4j-charset.jar.file}"/>
494 … <copy file="${icu4j.localespi.jar}" tofile="${icu4j-localespi.jar.file}" failonerror="false"/>
497 …, collate, currdata, langdata, regiondata, translit" description="Build ICU4J all-in-one core jar">
500 <!-- manifest -->
503 <filter token="SPECVERSION" value="${jar.spec.version}"/>
504 <filter token="IMPLVERSION" value="${jar.impl.version}"/>
505 <filter token="COPYRIGHT" value="${jar.copyright.info}"/>
506 <filter token="EXECENV" value="${jar.exec.env}"/>
510 <!-- jar -->
511 <jar jarfile="${icu4j.jar.file}"
523 </jar>
526 <target name="icu4jSrcJar" description="Build icu4j-src.jar">
527 <jar jarfile="${icu4j-src.jar.file}"
538 </jar>
541 … <target name="icu4jtestsJar" depends="info, tests" description="Build ICU4J all-in-one test jar">
542 <jar jarfile="${icu4jtests.jar.file}"
544 <fileset dir="${icu4j.test-framework.dir}/${bin.dir}" includes="**/*"/>
545 <fileset dir="${icu4j.core-tests.dir}/${bin.dir}" includes="**/*"/>
546 <fileset dir="${icu4j.collate-tests.dir}/${bin.dir}" includes="**/*"/>
547 <fileset dir="${icu4j.translit-tests.dir}/${bin.dir}" includes="**/*"/>
548 <fileset dir="${icu4j.charset-tests.dir}/${bin.dir}" includes="**/*"/>
549 </jar>
552 <target name="jarDemos" depends="icu4jJar, demos" description="Build ICU4J demo jar file">
553 <copy file="${icu4j.demos.jar}" tofile="${icu4jdemos.jar.file}"/>
557 <!-- release targets -->
569 … <condition property="disp.is.java8" value="${java.version}" else="${java.version} - Must be 1.8!">
589 <!-- binaries -->
590 …<move file="${release.dir}/${icu4j.jar.file}" tofile="${release.dir}/${icu4j.jar.versioned.file}"/>
591 …<move file="${release.dir}/${icu4j-charset.jar.file}" tofile="${release.dir}/${icu4j-charset.jar.v…
592 …<move file="${release.dir}/${icu4j-localespi.jar.file}" tofile="${release.dir}/${icu4j-localespi.j…
594 <!-- source jars -->
595 …<move file="${release.dir}/${icu4j-src.jar.file}" tofile="${release.dir}/${icu4j-src.jar.versioned…
596 …<move file="${release.dir}/${icu4j-charset-src.jar.file}" tofile="${release.dir}/${icu4j-charset-s…
597 …<move file="${release.dir}/${icu4j-localespi-src.jar.file}" tofile="${release.dir}/${icu4j-locales…
599 <!-- docs -->
600 …<move file="${release.dir}/${icu4jdocs.jar.file}" tofile="${release.dir}/${icu4jdocs.jar.versioned…
602 <!-- package archive -->
605 <!-- md5 checksum file -->
611 <include name="*.jar"/>
616 <concat destfile="${release.dir}/icu4j-${release.file.ver}.md5">
632 <include name="*.jar"/>
649 <copy file="${icu4j.jar.file}" tofile="${release.dir}/${icu4j.jar.file}"/>
650 <copy file="${icu4j.charset.jar}" tofile="${release.dir}/${icu4j-charset.jar.file}"/>
651 <copy file="${icu4j.localespi.jar}" tofile="${release.dir}/${icu4j-localespi.jar.file}"/>
654 …<target name="releaseSrcJars" depends="icu4jSrcJar" description="Build ICU4J src jar files for dis…
657 <!-- icu4j src-jar -->
658 <copy file="${icu4j-src.jar.file}" tofile="${release.dir}/${icu4j-src.jar.file}"/>
660 <!-- charset/localespi src-jar -->
661 <ant dir="${icu4j.charset.dir}" target="src-jar" inheritAll="false"/>
662 <ant dir="${icu4j.localespi.dir}" target="src-jar" inheritAll="false"/>
664 …icu4j.charset.dir}/${out.dir}/lib/${icu4j-charset-src.jar.file}" tofile="${release.dir}/${icu4j-ch…
665 …j.localespi.dir}/${out.dir}/lib/${icu4j-localespi-src.jar.file}" tofile="${release.dir}/${icu4j-lo…
669 …<target name="releaseDocs" depends="docs" description="Build ICU4J API reference doc jar file for …
671 <jar jarfile="${release.dir}/${icu4jdocs.jar.file}" compress="true" basedir="${doc.dir}"/>
684 encoding="UTF-8"
688 <include name="perf-tests/**/*"/>
697 <exclude name="**/*.jar"/>
698 <exclude name="**/build-local.properties"/>
708 <include name="main/shared/data/*.jar"/>
726 encoding="UTF-8"
730 <include name="perf-tests/**/*"/>
739 <exclude name="**/*.jar"/>
740 <exclude name="**/build-local.properties"/>
751 <include name="main/shared/data/*.jar"/>
765 <!-- findbugs targets -->
772 <copy file="${icu4j.core.dir}/${out.dir}/fb-core.html" todir="${findbugs.out.dir}"/>
775 <copy file="${icu4j.collate.dir}/${out.dir}/fb-collate.html" todir="${findbugs.out.dir}"/>
778 <copy file="${icu4j.currdata.dir}/${out.dir}/fb-currdata.html" todir="${findbugs.out.dir}"/>
781 <copy file="${icu4j.langdata.dir}/${out.dir}/fb-langdata.html" todir="${findbugs.out.dir}"/>
784 … <copy file="${icu4j.regiondata.dir}/${out.dir}/fb-regiondata.html" todir="${findbugs.out.dir}"/>
787 <copy file="${icu4j.translit.dir}/${out.dir}/fb-translit.html" todir="${findbugs.out.dir}"/>
791 <copy file="${icu4j.charset.dir}/${out.dir}/fb-charset.html" todir="${findbugs.out.dir}"/>
794 … <copy file="${icu4j.localespi.dir}/${out.dir}/fb-localespi.html" todir="${findbugs.out.dir}"/>
797 <!-- compile targets -->
819 <antcall target="_build-localespi"/>
822 <target name="_build-localespi" depends="core, collate, currdata, langdata, regiondata">
834 <target name="test-framework" depends="core, init" description="Build test framework classes">
835 <ant dir="${icu4j.test-framework.dir}" inheritAll="false">
840 <target name="core-tests" depends="core, test-framework" description="Build core tests">
841 <ant dir="${icu4j.core-tests.dir}" inheritAll="false">
846 <target name="collate-tests" depends="collate, test-framework" description="Build core tests">
847 <ant dir="${icu4j.collate-tests.dir}" inheritAll="false">
852 … <target name="charset-tests" depends="charset, test-framework" description="Build charset tests">
853 <ant dir="${icu4j.charset-tests.dir}" inheritAll="false">
858 <target name="localespi-tests" if="is.java6.plus" description="Build Locale SPI tests">
859 <antcall target="_build-localespi-tests"/>
862 <target name="_build-localespi-tests" depends="localespi, test-framework">
863 <ant dir="${icu4j.localespi-tests.dir}" inheritAll="false">
868 <target name="packaging-tests" depends="test-framework" description="Build packaging tests">
869 <ant dir="${icu4j.packaging-tests.dir}" inheritAll="false">
874 …<target name="translit-tests" depends="translit, test-framework" description="Build translit tests…
875 <ant dir="${icu4j.translit-tests.dir}" inheritAll="false">
888 <target name="build-tools" description="Build build-tool classes">
889 <ant dir="${icu4j.build-tools.dir}" inheritAll="false"/>
892 …<target name="tools" depends="core, core-tests, collate, translit, translit-tests" description="Bu…
896 …<target name="perf-tests" if="is.java6.plus" depends="core, charset, collate, tools" description="…
897 <ant dir="${icu4j.perf-tests.dir}" inheritAll="false"/>
900 <!-- doc targets -->
901 …<target name="docs" depends="info, build-tools, _checkJCite, _docsWithJCite, _docsWithoutJCite" de…
904 <condition property="doclint.option" value="-Xdoclint:all">
912 <include name="build/*.jar"/>
913 <include name="lib/*.jar"/>
932 <!-- all other cases -->
937 <!-- syntax check is disabled because JCite tag name "@.jcite" is invalidated -->
938 <condition property="doclint.option" value="-Xdoclint:reference,html" else="">
955 docencoding="UTF-8"
956 charset="UTF-8"
957 …bottom="&lt;font size=-1&gt;Copyright (c) ${current.year} IBM Corporation and others.&lt;/font&gt;"
958-breakiterator -use -tagletpath ${icu4j.build-tools.jar}${path.separator}${jcite.libs} -taglet com…
990 docencoding="UTF-8"
991 charset="UTF-8"
992 …bottom="&lt;font size=-1&gt;Copyright (c) ${current.year} IBM Corporation and others.&lt;/font&gt;"
993 …additionalparam="${doclint.option} -breakiterator -use -tagletpath ${icu4j.build-tools.jar} -tagle…
1015 <!-- JaCoCo code coverage target -->
1017 <classpath path="${env.JACOCO_DIR}/lib/jacocoant.jar"/>
1020 …<target name="coverageJaCoCo" depends="build-tools, jar, tests" description="Run the ICU4J unit te…
1026 <property name="jacoco.exclusion.txt" value="coverage-exclusion.txt"/>
1031 <!-- core -->
1034 <jvmarg value="-ea"/>
1035 <jvmarg value="-Djava.awt.headless=true"/>
1042 <fileset dir="${icu4j.core-tests.dir}/${bin.dir}">
1043 <patternset refid="test-classes-patternset"/>
1049 <!-- charset -->
1052 <jvmarg value="-ea"/>
1053 <jvmarg value="-Djava.awt.headless=true"/>
1060 <fileset dir="${icu4j.charset-tests.dir}/${bin.dir}">
1061 <patternset refid="test-classes-patternset"/>
1067 <!-- collate -->
1070 <jvmarg value="-ea"/>
1071 <jvmarg value="-Djava.awt.headless=true"/>
1078 <fileset dir="${icu4j.collate-tests.dir}/${bin.dir}">
1079 <patternset refid="test-classes-patternset"/>
1085 <!-- translit -->
1088 <jvmarg value="-ea"/>
1089 <jvmarg value="-Djava.awt.headless=true"/>
1096 <fileset dir="${icu4j.translit-tests.dir}/${bin.dir}">
1097 <patternset refid="test-classes-patternset"/>
1111 <include name="${icu4j.jar.file}"/>
1112 <include name="${icu4j-charset.jar.file}"/>
1115 <sourcefiles encoding="UTF-8">
1135 <pathelement location="${icu4j.build-tools.jar}"/>
1141 <!-- Clover code coverage target -->
1143 <property name="clover.jar" location="${env.CLOVER_DIR}/clover.jar"/>
1144 <taskdef resource="cloverlib.xml" classpath="${clover.jar}" onerror="ignore"/>
1147 <!-- Set up clover -->
1149 <clover-setup initstring="${clover.out.dir}/clover.db">
1154 </clover-setup>
1156 <!-- Build components with clover instrumentation -->
1178 <ant dir="${icu4j.test-framework.dir}" inheritAll="false" inheritRefs="true">
1181 <ant dir="${icu4j.core-tests.dir}" inheritAll="false" inheritRefs="true">
1184 <ant dir="${icu4j.collate-tests.dir}" inheritAll="false" inheritRefs="true">
1187 <ant dir="${icu4j.charset-tests.dir}" inheritAll="false" inheritRefs="true">
1190 <ant dir="${icu4j.translit-tests.dir}" inheritAll="false" inheritRefs="true">
1194 <!-- Run the test suites -->
1197 <pathelement location="${icu4j.core.jar}"/>
1198 <pathelement location="${icu4j.collate.jar}"/>
1199 <pathelement location="${icu4j.charset.jar}"/>
1200 <pathelement location="${icu4j.currdata.jar}"/>
1201 <pathelement location="${icu4j.langdata.jar}"/>
1202 <pathelement location="${icu4j.regiondata.jar}"/>
1203 <pathelement location="${icu4j.translit.jar}"/>
1204 <pathelement location="${icu4j.test-framework.jar}"/>
1205 <pathelement location="${icu4j.core-tests.jar}"/>
1206 <pathelement location="${icu4j.collate-tests.jar}"/>
1207 <pathelement location="${icu4j.charset-tests.jar}"/>
1208 <pathelement location="${icu4j.translit-tests.jar}"/>
1209 <pathelement location="${icu4j.testall.jar}"/>
1210 <pathelement location="${clover.jar}"/>
1214 <!-- Generate HTML coverage report -->
1215 <!-- <clover-html-report outdir="${clover.out.dir}/html" title="ICU4J Code Coverage"/> -->
1216 <clover-report>
1220 </clover-report>
1223 <!-- Release management targets -->
1224 … <target name="checktags" depends="info, build-tools" description="Check API tags before release">
1240 <doclet name="com.ibm.icu.dev.tool.docs.CheckTags" path="${icu4j.build-tools.jar}"/>
1244 …<target name="gatherapi" depends="info, build-tools" description="Run API database generator tool">
1265 <doclet name="com.ibm.icu.dev.tool.docs.GatherAPIData" path="${icu4j.build-tools.jar}">
1266 <param name="-name" value="ICU4J ${icu4j.impl.version}"/>
1267 <param name="-output" value="${out.dir}/icu4j${api.report.version}.api3"/>
1268 <param name="-internal"/>
1269 <param name="-version"/>
1270 <param name="-gzip"/>
1277 classpath="${icu4j.build-tools.jar}"
1279 <arg value="-old:" />
1280 <arg value="${icu4j.build-tools.dir}/icu4j${api.report.prev.version}.api3.gz" />
1281 <arg value="-new:" />
1283 <arg value="-html" />
1284 <arg value="-out:" />
1289 …<target name="gatherapiOld" depends="info, build-tools" description="Run API database generator to…
1310 … <doclet name="com.ibm.icu.dev.tool.docs.GatherAPIDataOld" path="${icu4j.build-tools.jar}">
1311 <param name="-name" value="ICU4J ${icu4j.impl.version}"/>
1312 <param name="-output" value="${out.dir}/icu4j${api.report.version}.api"/>
1313 <param name="-internal"/>
1314 <param name="-gzip"/>
1321 classpath="${icu4j.build-tools.jar}"
1323 <arg value="-old:" />
1324 <arg value="${icu4j.build-tools.dir}/icu4j${api.report.prev.version}.api.gz" />
1325 <arg value="-new:" />
1327 <arg value="-html" />
1328 <arg value="-internal" />
1329 <arg value="-out:" />
1334 <target name="checkDeprecated" depends="info, build-tools, gatherapi, main"
1340 <pathelement location="${icu4j.build-tools.jar}"/>
1341 <pathelement location="${icu4j.core.jar}"/>
1342 <pathelement location="${icu4j.collate.jar}"/>
1343 <pathelement location="${icu4j.charset.jar}"/>
1344 <pathelement location="${icu4j.currdata.jar}"/>
1345 <pathelement location="${icu4j.langdata.jar}"/>
1346 <pathelement location="${icu4j.regiondata.jar}"/>
1347 <pathelement location="${icu4j.translit.jar}"/>
1354 classpath="${icu4j.build-tools.jar}"
1356 <arg value="-f"/>
1358 <arg value="-o"/>
1364 …<target name="swatDeprecated" depends="build-tools" description="Convert @deprecated @draft tags t…
1366 <param name="swat.deprecated.opt" value="-dep"/>
1370 …<target name="swatProvisional" depends="build-tools" description="Convert @provisional tags to @de…
1372 <param name="swat.deprecated.opt" value="-prov"/>
1378 classpath="${icu4j.build-tools.jar}"
1381 <arg value="-src"/>
1383 <arg value="-dst"/>
1385 <arg value="-overwrite"/>
1386 <arg value="-verbose"/>
1389 classpath="${icu4j.build-tools.jar}"
1392 <arg value="-src"/>
1394 <arg value="-dst"/>
1396 <arg value="-overwrite"/>
1397 <arg value="-verbose"/>
1408 <pathelement location="${icu4j.core.jar}"/>
1409 <pathelement location="${icu4j.collate.jar}"/>
1410 <pathelement location="${icu4j.charset.jar}"/>
1411 <pathelement location="${icu4j.currdata.jar}"/>
1412 <pathelement location="${icu4j.langdata.jar}"/>
1413 <pathelement location="${icu4j.regiondata.jar}"/>
1414 <pathelement location="${icu4j.translit.jar}"/>
1415 <pathelement location="${icu4j.test-framework.jar}"/>
1416 <pathelement location="${icu4j.core-tests.jar}"/>
1425 <!-- Special packaging targets -->
1426 …="translitIMEJar" depends="info" description="Build transliterator IME 'icutransime.jar' jar file">
1445 <jar jarfile="${translit.ime.out.dir}/lib/icutransime.jar"
1451 </jar>
1454 …<target name="indicIMEJar" depends="info" description="Build indic IME 'icuindicime.jar' jar file">
1472 <jar jarfile="${indic.ime.out.dir}/lib/icuindicime.jar"
1478 </jar>
1488 classpath="${icu4j.jar.file}">
1491 <src path="${icu4j.translit-tests.dir}/src"/>
1492 <src path="${icu4j.test-framework.dir}/src"/>
1500 <jar jarfile="${cldr.util.out.dir}/lib/utilities.jar"
1506 </jar>
1511 <!-- icu4j.jar -->
1512 <copy file="${icu4j.jar.file}" todir="${cldr.release.dir}"/>
1513 <!-- icu4j-src.jar -->
1514 <copy file="${icu4j-src.jar.file}" todir="${cldr.release.dir}"/>
1515 <!-- utilities.jar -->
1516 <copy file="${cldr.util.out.dir}/lib/utilities.jar" todir="${cldr.release.dir}"/>
1517 <!-- utilities-src.jar -->
1518 <jar jarfile="${cldr.release.dir}/utilities-src.jar" compress="true">
1519 <fileset dir="${icu4j.test-framework.dir}/${src.dir}">
1525 … <fileset dir="${icu4j.test-framework.dir}/${src.dir}" includes="com/ibm/icu/dev/util/*.java"/>
1526 … <fileset dir="${icu4j.translit-tests.dir}/${src.dir}" includes="com/ibm/icu/dev/util/*.java"/>
1528 </jar>
1548 <jar jarfile="${xliff.out.dir}/lib/xliff-src.jar"
1554 </jar>
1556 <jar jarfile="${xliff.out.dir}/lib/xliff.jar"
1563 <!--
1569 1) Apache Maven Ant tasks - http://maven.apache.org/ant-tasks
1571 3) Put build-local.properties to specify followings
1573 maven-ant-tasks.jar = [location of maven ant tasks jar file]
1581 <id>icu4j-releases</id>
1586 <id>icu4j-snapshots</id>
1593 Note: For now, charset.jar and localespi.jar are excluded.
1594 -->
1595 …h libraries. Set maven-ant-tasks.jar property. Maven Ant Tasks URL: http://maven.apache.org/ant-ta…
1596 <condition property="no_maven-ant-tasks">
1597 <available file="${maven-ant-tasks.jar}"/>
1599 … <fail message="Maven Ant Tasks not found at ${maven-ant-tasks.jar}" unless="no_maven-ant-tasks"/>
1601 <path id="maven-ant-tasks.classpath" path="${maven-ant-tasks.jar}"/>
1602 <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant"
1603 classpathref="maven-ant-tasks.classpath"/>
1607 <!-- copy release files -->
1610 … <property name="maven.icu4j.jar.versioned.file" value="icu4j-${pom.xml.project.version}.jar"/>
1611 …<property name="maven.icu4j-src.jar.versioned.file" value="icu4j-${pom.xml.project.version}-src.ja…
1612 … <property name="maven.icu4jdocs.jar.file" value="icu4j-${pom.xml.project.version}-javadoc.jar"/>
1616 …<copy file="${release.dir}/${icu4j.jar.versioned.file}" tofile="${maven.release.dir}/${maven.icu4j…
1617 …<copy file="${release.dir}/${icu4j-src.jar.versioned.file}" tofile="${maven.release.dir}/${maven.i…
1618 …<copy file="${release.dir}/${icu4jdocs.jar.versioned.file}" tofile="${maven.release.dir}/${maven.i…
1622 <!-- sign release files-->
1628 <arg value="-u"/>
1630 <arg value="-ab"/>
1631 <arg value="--passphrase"/>
1633 <arg value="-o"/>
1640 <gpg file="${maven.release.dir}/${maven.icu4j.jar.versioned.file}"/>
1641 <gpg file="${maven.release.dir}/${maven.icu4j-src.jar.versioned.file}"/>
1642 <gpg file="${maven.release.dir}/${maven.icu4jdocs.jar.file}"/>
1646 <!-- deploy files to the repository -->
1647 …<deploy xmlns="urn:maven-artifact-ant" file="${maven.release.dir}/${maven.icu4j.jar.versioned.file…
1651 … <attach file="${maven.release.dir}/${maven.icu4j.jar.versioned.file}.asc" type="jar.asc"/>
1652 … <attach file="${maven.release.dir}/${maven.icu4j-src.jar.versioned.file}" classifier="sources"/>
1653 …ttach file="${maven.release.dir}/${maven.icu4j-src.jar.versioned.file}.asc" classifier="sources" t…
1654 <attach file="${maven.release.dir}/${maven.icu4jdocs.jar.file}" classifier="javadoc"/>
1655 …<attach file="${maven.release.dir}/${maven.icu4jdocs.jar.file}.asc" classifier="javadoc" type="jar