Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 705429 Details for
Bug 787803
dev-java/icu4j-56.1::gentoo: failed (compile phase) with jdk:11
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
emerge --info
build.log (text/plain), 363.32 KB, created by
Volkmar W. Pogatzki
on 2021-05-02 21:05:28 UTC
(
hide
)
Description:
emerge --info
Filename:
MIME Type:
Creator:
Volkmar W. Pogatzki
Created:
2021-05-02 21:05:28 UTC
Size:
363.32 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-java/icu4j-56.1 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: java@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU >[32;01m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > [32;01m*[0m Using: openjdk-11 >>>> Unpacking source... >>>> Unpacking icu4j-56_1.tgz to /var/tmp/portage/dev-java/icu4j-56.1/work >>>> Source unpacked in /var/tmp/portage/dev-java/icu4j-56.1/work >>>> Preparing source in /var/tmp/portage/dev-java/icu4j-56.1/work ... > [32;01m*[0m Removing unneeded file tools/build/src/com/ibm/icu/dev/tool/docs/ICUTaglet.java >[A[148C [34;01m[ [32;01mok[34;01m ][0m >Searching for bundled jars: >/var/tmp/portage/dev-java/icu4j-56.1/work/main/shared/data/testdata.jar >/var/tmp/portage/dev-java/icu4j-56.1/work/main/shared/data/icutzdata.jar >/var/tmp/portage/dev-java/icu4j-56.1/work/main/shared/data/icudata.jar >Searching for bundled classes (no output if none found): >Search done. >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-java/icu4j-56.1/work ... >Rewriting attributes >Rewriting ./build.xml >Rewriting ./tools/misc/build.xml >Rewriting ./tools/build/build.xml >Rewriting ./samples/build.xml >Rewriting ./perf-tests/build.xml >Rewriting ./main/tests/translit/build.xml >Rewriting ./main/tests/testall/build.xml >Rewriting ./main/tests/packaging/build.xml >Rewriting ./main/tests/localespi/build.xml >Rewriting ./main/tests/framework/build.xml >Rewriting ./main/tests/core/build.xml >Rewriting ./main/tests/collate/build.xml >Rewriting ./main/tests/charset/build.xml >Rewriting ./main/shared/build/common-targets.xml >Rewriting ./main/classes/translit/build.xml >Rewriting ./main/classes/regiondata/build.xml >Rewriting ./main/classes/localespi/build.xml >Rewriting ./main/classes/langdata/build.xml >Rewriting ./main/classes/currdata/build.xml >Rewriting ./main/classes/core/build.xml >Rewriting ./main/classes/collate/build.xml >Rewriting ./main/classes/charset/build.xml >Rewriting ./demos/build.xml >--- ./build.xml.orig 2021-05-02 22:54:49.003935366 +0200 >+++ ./build.xml 2021-05-02 22:54:49.341927856 +0200 >@@ -1,2060 +1,1831 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 1997-2015, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="icu4j" default="jar" basedir="." >- xmlns:jacoco="antlib:org.jacoco.ant"> >- >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- >- <property name="shared.dir" value="main/shared"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >- >- <property environment="env"/> >- >- <!-- icu4j binaries --> >- <property name="icu4j.jar.file" value="icu4j.jar"/> >- <property name="icu4jtests.jar.file" value="icu4jtests.jar"/> >- <property name="icu4j-charset.jar.file" value="icu4j-charset.jar"/> >- <property name="icu4j-localespi.jar.file" value="icu4j-localespi.jar"/> >- >- <property name="icu4jdemos.jar.file" value="icu4jdemos.jar"/> >- >- <!-- icu4j API doc jar file --> >- <property name="icu4jdocs.jar.file" value="icu4j-docs.jar"/> >- >- <!-- icu4j src jar files --> >- <property name="icu4j-src.jar.file" value="icu4j-src.jar"/> >- <property name="icu4j-charset-src.jar.file" value="icu4j-charset-src.jar"/> >- <property name="icu4j-localespi-src.jar.file" value="icu4j-localespi-src.jar"/> >- >- <!-- icu4j source package archive files --> >- <property name="icu4jsrc.zip.file" value="icu4j.zip"/> >- <property name="icu4jsrc.tgz.file" value="icu4j.tgz"/> >- >- <!-- icu4j versioned release files --> >- <property name="icu4j.jar.versioned.file" value="icu4j-${release.file.ver}.jar"/> >- <property name="icu4j-charset.jar.versioned.file" value="icu4j-charset-${release.file.ver}.jar"/> >- <property name="icu4j-localespi.jar.versioned.file" value="icu4j-localespi-${release.file.ver}.jar"/> >- >- <property name="icu4j-src.jar.versioned.file" value="icu4j-${release.file.ver}-src.jar"/> >- <property name="icu4j-charset-src.jar.versioned.file" value="icu4j-charset-${release.file.ver}-src.jar"/> >- <property name="icu4j-localespi-src.jar.versioned.file" value="icu4j-localespi-${release.file.ver}-src.jar"/> >- >- <property name="icu4jdocs.jar.versioned.file" value="icu4j-${release.file.ver}-docs.jar"/> >- >- <!-- <property name="icu4jsrc.zip.versioned.file" value="icu4j-${release.file.ver}.zip"/> --> >- <property name="icu4jsrc.tgz.versioned.file" value="icu4j-${release.file.ver}.tgz"/> >- >- <!-- API doc --> >- <property name="icu4j.api.doc.title" value="ICU4J ${api.doc.version} API Specification"/> >- <property name="icu4j.api.doc.window.title" value="ICU4J ${api.doc.version}"/> >- <property name="icu4j.api.doc.header" value="ICU4J ${api.doc.version}"/> >- <property name="icu4j.api.doc.jdk.link" value="http://docs.oracle.com/javase/7/docs/api/"/> >- >- <!-- directories --> >- <property name="release.dir" value="release"/> >- <property name="doc.dir" value="doc"/> >- <property name="cldr.util.out.dir" value="${out.dir}/cldr_util"/> >- <property name="cldr.release.dir" value="release_cldr"/> >- >- <!-- Java version check --> >- <condition property="is.java6.plus"> >- <or> >- <contains string="${java.version}" substring="1.6."/> >- <contains string="${java.version}" substring="1.7."/> >- <contains string="${java.version}" substring="1.8."/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="icu4j" default="jar" basedir="." xmlns:jacoco="antlib:org.jacoco.ant" > >+ >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ >+ <property name="shared.dir" value="main/shared" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> >+ >+ <property environment="env" ></property> >+ >+ >+ <property name="icu4j.jar.file" value="icu4j.jar" ></property> >+ <property name="icu4jtests.jar.file" value="icu4jtests.jar" ></property> >+ <property name="icu4j-charset.jar.file" value="icu4j-charset.jar" ></property> >+ <property name="icu4j-localespi.jar.file" value="icu4j-localespi.jar" ></property> >+ >+ <property name="icu4jdemos.jar.file" value="icu4jdemos.jar" ></property> >+ >+ >+ <property name="icu4jdocs.jar.file" value="icu4j-docs.jar" ></property> >+ >+ >+ <property name="icu4j-src.jar.file" value="icu4j-src.jar" ></property> >+ <property name="icu4j-charset-src.jar.file" value="icu4j-charset-src.jar" ></property> >+ <property name="icu4j-localespi-src.jar.file" value="icu4j-localespi-src.jar" ></property> >+ >+ >+ <property name="icu4jsrc.zip.file" value="icu4j.zip" ></property> >+ <property name="icu4jsrc.tgz.file" value="icu4j.tgz" ></property> >+ >+ >+ <property name="icu4j.jar.versioned.file" value="icu4j-${release.file.ver}.jar" ></property> >+ <property name="icu4j-charset.jar.versioned.file" value="icu4j-charset-${release.file.ver}.jar" ></property> >+ <property name="icu4j-localespi.jar.versioned.file" value="icu4j-localespi-${release.file.ver}.jar" ></property> >+ >+ <property name="icu4j-src.jar.versioned.file" value="icu4j-${release.file.ver}-src.jar" ></property> >+ <property name="icu4j-charset-src.jar.versioned.file" value="icu4j-charset-${release.file.ver}-src.jar" ></property> >+ <property name="icu4j-localespi-src.jar.versioned.file" value="icu4j-localespi-${release.file.ver}-src.jar" ></property> >+ >+ <property name="icu4jdocs.jar.versioned.file" value="icu4j-${release.file.ver}-docs.jar" ></property> >+ >+ >+ <property name="icu4jsrc.tgz.versioned.file" value="icu4j-${release.file.ver}.tgz" ></property> >+ >+ >+ <property name="icu4j.api.doc.title" value="ICU4J ${api.doc.version} API Specification" ></property> >+ <property name="icu4j.api.doc.window.title" value="ICU4J ${api.doc.version}" ></property> >+ <property name="icu4j.api.doc.header" value="ICU4J ${api.doc.version}" ></property> >+ <property name="icu4j.api.doc.jdk.link" value="http://docs.oracle.com/javase/7/docs/api/" ></property> >+ >+ >+ <property name="release.dir" value="release" ></property> >+ <property name="doc.dir" value="doc" ></property> >+ <property name="cldr.util.out.dir" value="${out.dir}/cldr_util" ></property> >+ <property name="cldr.release.dir" value="release_cldr" ></property> >+ >+ >+ <condition property="is.java6.plus" > >+ <or > >+ <contains string="${java.version}" substring="1.6." ></contains> >+ <contains string="${java.version}" substring="1.7." ></contains> >+ <contains string="${java.version}" substring="1.8." ></contains> > </or> > </condition> >- <condition property="is.java5"> >- <contains string="${java.version}" substring="1.5."/> >+ <condition property="is.java5" > >+ <contains string="${java.version}" substring="1.5." ></contains> > </condition> >- <fail message="The JDK version is too old or unknown."> >- <condition> >- <not> >- <or> >- <isset property="is.java6.plus"/> >- <isset property="is.java5"/> >+ <fail message="The JDK version is too old or unknown." > >+ <condition > >+ <not > >+ <or > >+ <isset property="is.java6.plus" ></isset> >+ <isset property="is.java5" ></isset> > </or> > </not> > </condition> > </fail> > >- <condition property="is.java7"> >- <contains string="${java.version}" substring="1.7."/> >+ <condition property="is.java7" > >+ <contains string="${java.version}" substring="1.7." ></contains> > </condition> > >- <condition property="is.java7.plus"> >- <or> >- <contains string="${java.version}" substring="1.7."/> >- <contains string="${java.version}" substring="1.8."/> >+ <condition property="is.java7.plus" > >+ <or > >+ <contains string="${java.version}" substring="1.7." ></contains> >+ <contains string="${java.version}" substring="1.8." ></contains> > </or> > </condition> >- <condition property="is.pre.java8"> >- <or> >- <contains string="${java.version}" substring="1.5."/> >- <contains string="${java.version}" substring="1.6."/> >- <contains string="${java.version}" substring="1.7."/> >+ <condition property="is.pre.java8" > >+ <or > >+ <contains string="${java.version}" substring="1.5." ></contains> >+ <contains string="${java.version}" substring="1.6." ></contains> >+ <contains string="${java.version}" substring="1.7." ></contains> > </or> > </condition> > > >- <!-- Build environment info --> >- <property name="env.COMPUTERNAME" value="${env.HOSTNAME}"/> >- <target name="info" description="Display the build environment information"> >- <echo message="----- Build Environment Information -------------------"/> >- <echo message="Java Home: ${java.home}"/> >- <echo message="Java Version: ${java.version}"/> >- <echo message="Ant Home: ${ant.home}"/> >- <echo message="Ant Version: ${ant.version}"/> >- <echo message="OS: ${os.name}"/> >- <echo message="OS Version: ${os.version}"/> >- <echo message="OS Arch: ${os.arch}"/> >- <echo message="Host: ${env.COMPUTERNAME}"/> >- <echo message="-------------------------------------------------------"/> >- </target> >- >- <target name="clean" description="Clean up build outputs"> >- <ant dir="${icu4j.core.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.collate.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.charset.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.currdata.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.langdata.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.localespi.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.regiondata.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.translit.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.test-framework.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.core-tests.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.collate-tests.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.charset-tests.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.localespi-tests.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.packaging-tests.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.translit-tests.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.testall.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.build-tools.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.tools.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.demos.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.samples.dir}" target="clean" inheritAll="false"/> >- <ant dir="${icu4j.perf-tests.dir}" target="clean" inheritAll="false"/> >- >- <!-- delete all .jar files root directory --> >- <delete> >- <fileset dir="." includes="icu4j*.jar"/> >+ >+ <property name="env.COMPUTERNAME" value="${env.HOSTNAME}" ></property> >+ <target name="info" description="Display the build environment information" > >+ <echo message="----- Build Environment Information -------------------" ></echo> >+ <echo message="Java Home: ${java.home}" ></echo> >+ <echo message="Java Version: ${java.version}" ></echo> >+ <echo message="Ant Home: ${ant.home}" ></echo> >+ <echo message="Ant Version: ${ant.version}" ></echo> >+ <echo message="OS: ${os.name}" ></echo> >+ <echo message="OS Version: ${os.version}" ></echo> >+ <echo message="OS Arch: ${os.arch}" ></echo> >+ <echo message="Host: ${env.COMPUTERNAME}" ></echo> >+ <echo message="-------------------------------------------------------" ></echo> >+ </target> >+ >+ <target name="clean" description="Clean up build outputs" > >+ <ant dir="${icu4j.core.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.collate.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.charset.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.currdata.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.langdata.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.localespi.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.regiondata.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.translit.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.test-framework.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.core-tests.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.collate-tests.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.charset-tests.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.localespi-tests.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.packaging-tests.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.translit-tests.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.testall.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.build-tools.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.tools.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.demos.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.samples.dir}" target="clean" inheritAll="false" ></ant> >+ <ant dir="${icu4j.perf-tests.dir}" target="clean" inheritAll="false" ></ant> >+ >+ >+ <delete > >+ <fileset dir="." includes="icu4j*.jar" ></fileset> > </delete> > >- <delete dir="${release.dir}"/> >- <delete dir="${doc.dir}"/> >- <delete dir="${out.dir}"/> >- <delete dir="${module.dir}"/> >- <delete dir="${cldr.release.dir}"/> >- >- <available file="eclipse-build" type="dir" property="eclipse-build.dir.present"/> >- <antcall target="_clean.eclipse-build"/> >- </target> >- >- <target name="_clean.eclipse-build" if="eclipse-build.dir.present"> >- <ant dir="eclipse-build" target="clean" inheritAll="false"/> >- </target> >- >- <!-- meta build targets --> >- <target name="all" depends="info, main, tests, build-tools, tools, demos, samples, perf-tests, jar, docs" description="Build all primary targets"/> >- <target name="main" depends="info, core, collate, charset, currdata, langdata, regiondata, translit, localespi" description="Build ICU4J runtime library classes"/> >- <target name="tests" depends="info, core-tests, charset-tests, collate-tests, packaging-tests, translit-tests, testall, localespi-tests" description="Build ICU4J test classes"/> >- >- <target name="secure" depends="icu4jJar" description="(Deprecated)Build ICU4J API and test classes for running the ICU4J test suite with Java security manager enabled"/> >- >- <!-- Check to see if JVM_OPTIONS enviroment variable is set. This can be use to set the heap size. --> >- <property name="env.JVM_OPTIONS" value=""/> >- <property name="jvm_options" value="${env.JVM_OPTIONS}"/> >- <target name="check" description="Run the standard ICU4J test suite"> >- <antcall target="_runCheck"> >- <param name="runcheck.arg" value=""/> >- <param name="runcheck.jvmarg" value="${jvm_options} -ea"/> >+ <delete dir="${release.dir}" ></delete> >+ <delete dir="${doc.dir}" ></delete> >+ <delete dir="${out.dir}" ></delete> >+ <delete dir="${module.dir}" ></delete> >+ <delete dir="${cldr.release.dir}" ></delete> >+ >+ <available file="eclipse-build" type="dir" property="eclipse-build.dir.present" ></available> >+ <antcall target="_clean.eclipse-build" ></antcall> >+ </target> >+ >+ <target name="_clean.eclipse-build" if="eclipse-build.dir.present" > >+ <ant dir="eclipse-build" target="clean" inheritAll="false" ></ant> >+ </target> >+ >+ >+ <target name="all" depends="info, main, tests, build-tools, tools, demos, samples, perf-tests, jar, docs" description="Build all primary targets" ></target> >+ <target name="main" depends="info, core, collate, charset, currdata, langdata, regiondata, translit, localespi" description="Build ICU4J runtime library classes" ></target> >+ <target name="tests" depends="info, core-tests, charset-tests, collate-tests, packaging-tests, translit-tests, testall, localespi-tests" description="Build ICU4J test classes" ></target> >+ >+ <target name="secure" depends="icu4jJar" description="(Deprecated)Build ICU4J API and test classes for running the ICU4J test suite with Java security manager enabled" ></target> >+ >+ >+ <property name="env.JVM_OPTIONS" value="" ></property> >+ <property name="jvm_options" value="${env.JVM_OPTIONS}" ></property> >+ <target name="check" description="Run the standard ICU4J test suite" > >+ <antcall target="_runCheck" > >+ <param name="runcheck.arg" value="" ></param> >+ <param name="runcheck.jvmarg" value="${jvm_options} -ea" ></param> > </antcall> > </target> > >- <target name="exhaustiveCheck" description="Run the standard ICU4J test suite in exhaustive mode"> >- <antcall target="_runCheck"> >- <param name="runcheck.arg" value="-e10"/> >- <param name="runcheck.jvmarg" value="${jvm_options} -ea"/> >+ <target name="exhaustiveCheck" description="Run the standard ICU4J test suite in exhaustive mode" > >+ <antcall target="_runCheck" > >+ <param name="runcheck.arg" value="-e10" ></param> >+ <param name="runcheck.jvmarg" value="${jvm_options} -ea" ></param> > </antcall> > </target> > >- <target name="timeZoneCheck" description="Run the complete test for TimeZoneRoundTripAll"> >- <antcall target="_runCheck"> >- <param name="runcheck.arg" value="-prop:TimeZoneRoundTripAll=true Core/Format/DateFormat/TimeZoneFormatTest -v"/> >- <param name="runcheck.jvmarg" value="${jvm_options}"/> >+ <target name="timeZoneCheck" description="Run the complete test for TimeZoneRoundTripAll" > >+ <antcall target="_runCheck" > >+ <param name="runcheck.arg" value="-prop:TimeZoneRoundTripAll=true Core/Format/DateFormat/TimeZoneFormatTest -v" ></param> >+ <param name="runcheck.jvmarg" value="${jvm_options}" ></param> > </antcall> > </target> > >- <target name="jdktzCheck" description="Run the standard ICU4J test suite with JDK TimeZone"> >- <antcall target="_runCheck"> >- <param name="runcheck.arg" value=""/> >- <param name="runcheck.jvmarg" value="${jvm_options} -Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=JDK"/> >+ <target name="jdktzCheck" description="Run the standard ICU4J test suite with JDK TimeZone" > >+ <antcall target="_runCheck" > >+ <param name="runcheck.arg" value="" ></param> >+ <param name="runcheck.jvmarg" value="${jvm_options} -Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=JDK" ></param> > </antcall> > </target> > >- <target name="_runCheck" depends="main, tests"> >- <echo message="JVM argument: ${runcheck.jvmarg} -Djava.awt.headless=true"/> >- <echo message="Test argument: ${runcheck.arg}"/> >- >- <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true"> >- <arg line="${runcheck.arg}"/> >- <jvmarg line="${runcheck.jvmarg} -Djava.awt.headless=true"/> >- <classpath> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >- <pathelement location="${icu4j.currdata.jar}"/> >- <pathelement location="${icu4j.langdata.jar}"/> >- <pathelement location="${icu4j.regiondata.jar}"/> >- <pathelement location="${icu4j.translit.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.core-tests.jar}"/> >- <pathelement location="${icu4j.collate-tests.jar}"/> >- <pathelement location="${icu4j.charset-tests.jar}"/> >- <pathelement location="${icu4j.translit-tests.jar}"/> >- <pathelement location="${icu4j.testall.jar}"/> >+ <target name="_runCheck" depends="main, tests" > >+ <echo message="JVM argument: ${runcheck.jvmarg} -Djava.awt.headless=true" ></echo> >+ <echo message="Test argument: ${runcheck.arg}" ></echo> >+ >+ <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true" > >+ <arg line="${runcheck.arg}" ></arg> >+ <jvmarg line="${runcheck.jvmarg} -Djava.awt.headless=true" ></jvmarg> >+ <classpath > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> >+ <pathelement location="${icu4j.currdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.langdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.regiondata.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.core-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.testall.jar}" ></pathelement> > </classpath> > </java> > </target> > >- <target name="_runTestArgCheck" unless="testarg"> >- <echo message="No test arguments are supplied."/> >- <echo message="For specifying test arguments, use '-Dtestarg=[test args]' as"/> >- <echo message="ant command line argument. For example:"/> >- <echo message=" >ant runTest -Dtestarg="Core/Format -e10""/> >- <echo message="for running ICU4J core format test suite in exhaustive mode."/> >- </target> >- >- <target name="runTest" depends="_runTestArgCheck" description="Run a ICU4J test case, without calling any other build targets"> >- <echo message="JVM argument: ${jvm_options} -Djava.awt.headless=true"/> >- <echo message="Test argument: ${testarg}"/> >- >- <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true"> >- <arg line="${testarg}"/> >- <jvmarg line="${jvm_options} -Djava.awt.headless=true"/> >- <classpath> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >- <pathelement location="${icu4j.currdata.jar}"/> >- <pathelement location="${icu4j.langdata.jar}"/> >- <pathelement location="${icu4j.regiondata.jar}"/> >- <pathelement location="${icu4j.translit.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.core-tests.jar}"/> >- <pathelement location="${icu4j.collate-tests.jar}"/> >- <pathelement location="${icu4j.charset-tests.jar}"/> >- <pathelement location="${icu4j.translit-tests.jar}"/> >- <pathelement location="${icu4j.testall.jar}"/> >+ <target name="_runTestArgCheck" unless="testarg" > >+ <echo message="No test arguments are supplied." ></echo> >+ <echo message="For specifying test arguments, use '-Dtestarg=[test args]' as" ></echo> >+ <echo message="ant command line argument. For example:" ></echo> >+ <echo message=' >ant runTest -Dtestarg="Core/Format -e10"' ></echo> >+ <echo message="for running ICU4J core format test suite in exhaustive mode." ></echo> >+ </target> >+ >+ <target name="runTest" depends="_runTestArgCheck" description="Run a ICU4J test case, without calling any other build targets" > >+ <echo message="JVM argument: ${jvm_options} -Djava.awt.headless=true" ></echo> >+ <echo message="Test argument: ${testarg}" ></echo> >+ >+ <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true" > >+ <arg line="${testarg}" ></arg> >+ <jvmarg line="${jvm_options} -Djava.awt.headless=true" ></jvmarg> >+ <classpath > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> >+ <pathelement location="${icu4j.currdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.langdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.regiondata.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.core-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.testall.jar}" ></pathelement> > </classpath> > </java> > </target> > >- <target name="packagingCheck" depends="info, core, packaging-tests" description="Run packaging tests"> >- <!-- region data but no language data --> >- <java classname="com.ibm.icu.dev.test.TestPackaging" fork="yes" failonerror="true"> >- <arg line="-w"/> >- <classpath> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.packaging-tests.jar}"/> >- <pathelement location="${icu4j.regiondata.jar}"/> >+ <target name="packagingCheck" depends="info, core, packaging-tests" description="Run packaging tests" > >+ >+ <java classname="com.ibm.icu.dev.test.TestPackaging" fork="yes" failonerror="true" > >+ <arg line="-w" ></arg> >+ <classpath > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.packaging-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.regiondata.jar}" ></pathelement> > </classpath> > </java> >- <!-- language data but no region data --> >- <java classname="com.ibm.icu.dev.test.TestPackaging" fork="yes" failonerror="true"> >- <arg line="-w"/> >- <classpath> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.packaging-tests.jar}"/> >- <pathelement location="${icu4j.langdata.jar}"/> >+ >+ <java classname="com.ibm.icu.dev.test.TestPackaging" fork="yes" failonerror="true" > >+ <arg line="-w" ></arg> >+ <classpath > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.packaging-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.langdata.jar}" ></pathelement> > </classpath> > </java> >- <!-- neither region nor language data --> >- <java classname="com.ibm.icu.dev.test.TestPackaging" fork="yes" failonerror="true"> >- <arg line="-w"/> >- <classpath> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.packaging-tests.jar}"/> >+ >+ <java classname="com.ibm.icu.dev.test.TestPackaging" fork="yes" failonerror="true" > >+ <arg line="-w" ></arg> >+ <classpath > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.packaging-tests.jar}" ></pathelement> > </classpath> > </java> > </target> > >- <target name="coreCheck" depends="info, core, currdata, langdata, regiondata, core-tests" description="Run only the core tests"> >- <java classname="com.ibm.icu.dev.test.TestAllCore" fork="yes" failonerror="true"> >- <classpath> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.currdata.jar}"/> >- <pathelement location="${icu4j.langdata.jar}"/> >- <pathelement location="${icu4j.regiondata.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.core-tests.jar}"/> >+ <target name="coreCheck" depends="info, core, currdata, langdata, regiondata, core-tests" description="Run only the core tests" > >+ <java classname="com.ibm.icu.dev.test.TestAllCore" fork="yes" failonerror="true" > >+ <classpath > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.currdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.langdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.regiondata.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.core-tests.jar}" ></pathelement> > </classpath> > </java> > </target> > >- <target name="collateCheck" depends="info, core, collate, currdata, langdata, regiondata, core-tests, collate-tests" description="Run only the collation tests"> >- <java classname="com.ibm.icu.dev.test.TestAllCollate" fork="yes" failonerror="true"> >- <classpath> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.collate-tests.jar}"/> >- >- <!-- for now, collateCheck needs currdata, langdata and regiondata, because of GlobalizationPreferencesTest" --> >- <pathelement location="${icu4j.currdata.jar}"/> >- <pathelement location="${icu4j.langdata.jar}"/> >- <pathelement location="${icu4j.regiondata.jar}"/> >- <pathelement location="${icu4j.core-tests.jar}"/> >+ <target name="collateCheck" depends="info, core, collate, currdata, langdata, regiondata, core-tests, collate-tests" description="Run only the collation tests" > >+ <java classname="com.ibm.icu.dev.test.TestAllCollate" fork="yes" failonerror="true" > >+ <classpath > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate-tests.jar}" ></pathelement> >+ >+ >+ <pathelement location="${icu4j.currdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.langdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.regiondata.jar}" ></pathelement> >+ <pathelement location="${icu4j.core-tests.jar}" ></pathelement> > </classpath> > </java> > </target> > >- <target name="translitCheck" depends="info, core, translit, translit-tests" description="Run the ICU4J Translit test suite"> >- <java classname="com.ibm.icu.dev.test.TestAllTranslit" fork="yes" failonerror="true"> >- <classpath> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.translit.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.translit-tests.jar}"/> >+ <target name="translitCheck" depends="info, core, translit, translit-tests" description="Run the ICU4J Translit test suite" > >+ <java classname="com.ibm.icu.dev.test.TestAllTranslit" fork="yes" failonerror="true" > >+ <classpath > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit-tests.jar}" ></pathelement> > </classpath> > </java> > </target> > >- <target name="localespiCheck" if="is.java6.plus" depends="info" description="Run the ICU4J Locale SPI test suite"> >- <antcall target="_runLocalespiCheck"/> >+ <target name="localespiCheck" if="is.java6.plus" depends="info" description="Run the ICU4J Locale SPI test suite" > >+ <antcall target="_runLocalespiCheck" ></antcall> > </target> > >- <target name="_runLocalespiCheck" depends="localespi, localespi-tests"> >- <java classname="com.ibm.icu.dev.test.localespi.TestAll" fork="yes" failonerror="true"> >- <jvmarg line="-Djava.ext.dirs=${icu4j.core.dir}/${jar.dir}${path.separator}${icu4j.localespi.dir}/${jar.dir}${path.separator}${icu4j.collate.dir}/${jar.dir}${path.separator}${icu4j.currdata.dir}/${jar.dir}${path.separator}${icu4j.langdata.dir}/${jar.dir}${path.separator}${icu4j.regiondata.dir}/${jar.dir}${path.separator}${java.ext.dirs}"/> >- <classpath> >- <pathelement location="${icu4j.localespi-tests.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >+ <target name="_runLocalespiCheck" depends="localespi, localespi-tests" > >+ <java classname="com.ibm.icu.dev.test.localespi.TestAll" fork="yes" failonerror="true" > >+ <jvmarg line="-Djava.ext.dirs=${icu4j.core.dir}/${jar.dir}${path.separator}${icu4j.localespi.dir}/${jar.dir}${path.separator}${icu4j.collate.dir}/${jar.dir}${path.separator}${icu4j.currdata.dir}/${jar.dir}${path.separator}${icu4j.langdata.dir}/${jar.dir}${path.separator}${icu4j.regiondata.dir}/${jar.dir}${path.separator}${java.ext.dirs}" ></jvmarg> >+ <classpath > >+ <pathelement location="${icu4j.localespi-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> > </classpath> > </java> > </target> > >- <target name="secureCheck" depends="main, jar, icu4jtestsJar" description="Run the secure (applet-like) ICU4J test suite"> >- <property name="securecheck.arg" value="-w"/> >- <property name="securecheck.jvmarg" >- value="${jvm_options} -Djava.security.manager -Djava.security.policy=${shared.dir}/data/security.policy -Djava.awt.headless=true"/> >- >- <echo message="JVM argument: ${securecheck.jvmarg}"/> >- <echo message="Test argument: ${securecheck.arg}"/> >- >- <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true"> >- <arg line="${securecheck.arg}"/> >- <jvmarg line="${securecheck.jvmarg}"/> >- <classpath> >- <pathelement location="${icu4j.jar.file}"/> >- <pathelement location="${icu4j-charset.jar.file}"/> >- <pathelement location="${icu4jtests.jar.file}"/> >+ <target name="secureCheck" depends="main, jar, icu4jtestsJar" description="Run the secure (applet-like) ICU4J test suite" > >+ <property name="securecheck.arg" value="-w" ></property> >+ <property name="securecheck.jvmarg" value="${jvm_options} -Djava.security.manager -Djava.security.policy=${shared.dir}/data/security.policy -Djava.awt.headless=true" ></property> >+ >+ <echo message="JVM argument: ${securecheck.jvmarg}" ></echo> >+ <echo message="Test argument: ${securecheck.arg}" ></echo> >+ >+ <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true" > >+ <arg line="${securecheck.arg}" ></arg> >+ <jvmarg line="${securecheck.jvmarg}" ></jvmarg> >+ <classpath > >+ <pathelement location="${icu4j.jar.file}" ></pathelement> >+ <pathelement location="${icu4j-charset.jar.file}" ></pathelement> >+ <pathelement location="${icu4jtests.jar.file}" ></pathelement> > </classpath> > </java> > </target> > >- <!-- jar targets --> >- <target name="jar" depends="icu4jJar, charset, localespi" description="Build ICU4J runtime library jar files"> >- <copy file="${icu4j.charset.jar}" tofile="${icu4j-charset.jar.file}"/> >- <copy file="${icu4j.localespi.jar}" tofile="${icu4j-localespi.jar.file}" failonerror="false"/> >- </target> >- >- <target name="icu4jJar" depends="info, core, collate, currdata, langdata, regiondata, translit" description="Build ICU4J all-in-one core jar"> >- <mkdir dir="${out.dir}"/> >- >- <!-- manifest --> >- <copy file="manifest.stub" todir="${out.dir}"> >- <filterset> >- <filter token="SPECVERSION" value="${jar.spec.version}"/> >- <filter token="IMPLVERSION" value="${jar.impl.version}"/> >- <filter token="COPYRIGHT" value="${jar.copyright.info}"/> >- <filter token="EXECENV" value="${jar.exec.env}"/> >+ >+ <target name="jar" depends="icu4jJar, charset, localespi" description="Build ICU4J runtime library jar files" > >+ <copy file="${icu4j.charset.jar}" tofile="${icu4j-charset.jar.file}" ></copy> >+ <copy file="${icu4j.localespi.jar}" tofile="${icu4j-localespi.jar.file}" failonerror="false" ></copy> >+ </target> >+ >+ <target name="icu4jJar" depends="info, core, collate, currdata, langdata, regiondata, translit" description="Build ICU4J all-in-one core jar" > >+ <mkdir dir="${out.dir}" ></mkdir> >+ >+ >+ <copy file="manifest.stub" todir="${out.dir}" > >+ <filterset > >+ <filter token="SPECVERSION" value="${jar.spec.version}" ></filter> >+ <filter token="IMPLVERSION" value="${jar.impl.version}" ></filter> >+ <filter token="COPYRIGHT" value="${jar.copyright.info}" ></filter> >+ <filter token="EXECENV" value="${jar.exec.env}" ></filter> > </filterset> > </copy> > >- <!-- jar --> >- <jar jarfile="${icu4j.jar.file}" >- compress="true" >- manifest="${out.dir}/manifest.stub"> >- <fileset dir="${icu4j.core.dir}/${bin.dir}" includes="**/*"/> >- <fileset dir="${icu4j.collate.dir}/${bin.dir}" includes="**/*"/> >- <fileset dir="${icu4j.currdata.dir}/${bin.dir}" includes="**/*"/> >- <fileset dir="${icu4j.langdata.dir}/${bin.dir}" includes="**/*"/> >- <fileset dir="${icu4j.regiondata.dir}/${bin.dir}" includes="**/*"/> >- <fileset dir="${icu4j.translit.dir}/${bin.dir}" includes="**/*"/> >- <fileset dir="${shared.dir}/licenses"> >- <include name="license.html"/> >+ >+ <jar jarfile="${icu4j.jar.file}" compress="true" manifest="${out.dir}/manifest.stub" > >+ <fileset dir="${icu4j.core.dir}/${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${icu4j.collate.dir}/${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${icu4j.currdata.dir}/${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${icu4j.langdata.dir}/${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${icu4j.regiondata.dir}/${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${icu4j.translit.dir}/${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${shared.dir}/licenses" > >+ <include name="license.html" ></include> > </fileset> > </jar> > </target> > >- <target name="icu4jSrcJar" description="Build icu4j-src.jar"> >- <jar jarfile="${icu4j-src.jar.file}" >- compress="true"> >- <fileset dir="${icu4j.core.dir}/${src.dir}" includes="**/*.java"/> >- <fileset dir="${icu4j.collate.dir}/${src.dir}" includes="**/*.java"/> >- <fileset dir="${icu4j.currdata.dir}/${src.dir}" includes="**/*.java"/> >- <fileset dir="${icu4j.langdata.dir}/${src.dir}" includes="**/*.java"/> >- <fileset dir="${icu4j.regiondata.dir}/${src.dir}" includes="**/*.java"/> >- <fileset dir="${icu4j.translit.dir}/${src.dir}" includes="**/*.java"/> >- <fileset dir="${shared.dir}/licenses"> >- <include name="license.html"/> >+ <target name="icu4jSrcJar" description="Build icu4j-src.jar" > >+ <jar jarfile="${icu4j-src.jar.file}" compress="true" > >+ <fileset dir="${icu4j.core.dir}/${src.dir}" includes="**/*.java" ></fileset> >+ <fileset dir="${icu4j.collate.dir}/${src.dir}" includes="**/*.java" ></fileset> >+ <fileset dir="${icu4j.currdata.dir}/${src.dir}" includes="**/*.java" ></fileset> >+ <fileset dir="${icu4j.langdata.dir}/${src.dir}" includes="**/*.java" ></fileset> >+ <fileset dir="${icu4j.regiondata.dir}/${src.dir}" includes="**/*.java" ></fileset> >+ <fileset dir="${icu4j.translit.dir}/${src.dir}" includes="**/*.java" ></fileset> >+ <fileset dir="${shared.dir}/licenses" > >+ <include name="license.html" ></include> > </fileset> > </jar> > </target> > >- <target name="icu4jtestsJar" depends="info, tests" description="Build ICU4J all-in-one test jar"> >- <jar jarfile="${icu4jtests.jar.file}" >- compress="true"> >- <fileset dir="${icu4j.test-framework.dir}/${bin.dir}" includes="**/*"/> >- <fileset dir="${icu4j.core-tests.dir}/${bin.dir}" includes="**/*"/> >- <fileset dir="${icu4j.collate-tests.dir}/${bin.dir}" includes="**/*"/> >- <fileset dir="${icu4j.translit-tests.dir}/${bin.dir}" includes="**/*"/> >- <fileset dir="${icu4j.charset-tests.dir}/${bin.dir}" includes="**/*"/> >- <fileset dir="${icu4j.testall.dir}/${bin.dir}" includes="**/*"/> >+ <target name="icu4jtestsJar" depends="info, tests" description="Build ICU4J all-in-one test jar" > >+ <jar jarfile="${icu4jtests.jar.file}" compress="true" > >+ <fileset dir="${icu4j.test-framework.dir}/${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${icu4j.core-tests.dir}/${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${icu4j.collate-tests.dir}/${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${icu4j.translit-tests.dir}/${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${icu4j.charset-tests.dir}/${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${icu4j.testall.dir}/${bin.dir}" includes="**/*" ></fileset> > </jar> > </target> > >- <target name="jarDemos" depends="icu4jJar, demos" description="Build ICU4J demo jar file"> >- <copy file="${icu4j.demos.jar}" tofile="${icu4jdemos.jar.file}"/> >+ <target name="jarDemos" depends="icu4jJar, demos" description="Build ICU4J demo jar file" > >+ <copy file="${icu4j.demos.jar}" tofile="${icu4jdemos.jar.file}" ></copy> > </target> > > >- <!-- release targets --> >- <target name="_check_config_for_release"> >- <condition property="release.build.config.ok"> >- <and> >- <isset property="is.java7"/> >- <isset property="java5.bootclasspath"/> >- <isset property="java6.bootclasspath"/> >- <isset property="jcite.libs"/> >+ >+ <target name="_check_config_for_release" > >+ <condition property="release.build.config.ok" > >+ <and > >+ <isset property="is.java7" ></isset> >+ <isset property="java5.bootclasspath" ></isset> >+ <isset property="java6.bootclasspath" ></isset> >+ <isset property="jcite.libs" ></isset> > </and> > </condition> > </target> > >- <target name="_verify_config_for_release" depends="_check_config_for_release" unless="release.build.config.ok"> >- <condition property="disp.is.java7" value="${java.version}" else="${java.version} - Must be 1.7!"> >- <isset property="is.java7"/> >+ <target name="_verify_config_for_release" depends="_check_config_for_release" unless="release.build.config.ok" > >+ <condition property="disp.is.java7" value="${java.version}" else="${java.version} - Must be 1.7!" > >+ <isset property="is.java7" ></isset> > </condition> >- <condition property="disp.java5.bootclasspath" value="${java5.bootclasspath}" else="Not Defined!"> >- <isset property="java5.bootclasspath"/> >+ <condition property="disp.java5.bootclasspath" value="${java5.bootclasspath}" else="Not Defined!" > >+ <isset property="java5.bootclasspath" ></isset> > </condition> >- <condition property="disp.java6.bootclasspath" value="${java5.bootclasspath}" else="Not Defined!"> >- <isset property="java6.bootclasspath"/> >+ <condition property="disp.java6.bootclasspath" value="${java5.bootclasspath}" else="Not Defined!" > >+ <isset property="java6.bootclasspath" ></isset> > </condition> >- <condition property="disp.jcite.libs" value="${jcite.libs}" else="Not Defined!"> >- <isset property="jcite.libs"/> >+ <condition property="disp.jcite.libs" value="${jcite.libs}" else="Not Defined!" > >+ <isset property="jcite.libs" ></isset> > </condition> > >- <echo message="################################################################"/> >- <echo message="[WARNING] Insufficient Build Configuration for ICU4J Release"/> >- <echo message="JDK Tools Version: ${disp.is.java7}"/> >- <echo message="JRE 5 System Library Path: ${disp.java5.bootclasspath}"/> >- <echo message="JRE 6 System Library Path: ${disp.java6.bootclasspath}"/> >- <echo message="JCite Library Path: ${disp.jcite.libs}"/> >- <echo message="################################################################"/> >- </target> >- >- <target name="releaseVer" depends="info, releaseBinaries, releaseSrcJars, releaseDocs, releaseSourceArchiveTgz" >- description="Build all ICU4J release files for distribution with versioned file names"> >- <!-- binaries --> >- <move file="${release.dir}/${icu4j.jar.file}" tofile="${release.dir}/${icu4j.jar.versioned.file}"/> >- <move file="${release.dir}/${icu4j-charset.jar.file}" tofile="${release.dir}/${icu4j-charset.jar.versioned.file}"/> >- <move file="${release.dir}/${icu4j-localespi.jar.file}" tofile="${release.dir}/${icu4j-localespi.jar.versioned.file}"/> >- >- <!-- source jars --> >- <move file="${release.dir}/${icu4j-src.jar.file}" tofile="${release.dir}/${icu4j-src.jar.versioned.file}"/> >- <move file="${release.dir}/${icu4j-charset-src.jar.file}" tofile="${release.dir}/${icu4j-charset-src.jar.versioned.file}"/> >- <move file="${release.dir}/${icu4j-localespi-src.jar.file}" tofile="${release.dir}/${icu4j-localespi-src.jar.versioned.file}"/> >- >- <!-- docs --> >- <move file="${release.dir}/${icu4jdocs.jar.file}" tofile="${release.dir}/${icu4jdocs.jar.versioned.file}"/> >- >- <!-- package archive --> >- <move file="${release.dir}/${icu4jsrc.tgz.file}" tofile="${release.dir}/${icu4jsrc.tgz.versioned.file}"/> >- >- <!-- md5 checksum file --> >- <mkdir dir="${out.dir}/checksum"/> >- <delete dir="${out.dir}/checksum" includes="**/*"/> >- >- <checksum todir="${out.dir}/checksum" format="MD5SUM"> >- <fileset dir="${release.dir}"> >- <include name="*.jar"/> >- <include name="*.tgz"/> >+ <echo message="################################################################" ></echo> >+ <echo message="[WARNING] Insufficient Build Configuration for ICU4J Release" ></echo> >+ <echo message="JDK Tools Version: ${disp.is.java7}" ></echo> >+ <echo message="JRE 5 System Library Path: ${disp.java5.bootclasspath}" ></echo> >+ <echo message="JRE 6 System Library Path: ${disp.java6.bootclasspath}" ></echo> >+ <echo message="JCite Library Path: ${disp.jcite.libs}" ></echo> >+ <echo message="################################################################" ></echo> >+ </target> >+ >+ <target name="releaseVer" depends="info, releaseBinaries, releaseSrcJars, releaseDocs, releaseSourceArchiveTgz" description="Build all ICU4J release files for distribution with versioned file names" > >+ >+ <move file="${release.dir}/${icu4j.jar.file}" tofile="${release.dir}/${icu4j.jar.versioned.file}" ></move> >+ <move file="${release.dir}/${icu4j-charset.jar.file}" tofile="${release.dir}/${icu4j-charset.jar.versioned.file}" ></move> >+ <move file="${release.dir}/${icu4j-localespi.jar.file}" tofile="${release.dir}/${icu4j-localespi.jar.versioned.file}" ></move> >+ >+ >+ <move file="${release.dir}/${icu4j-src.jar.file}" tofile="${release.dir}/${icu4j-src.jar.versioned.file}" ></move> >+ <move file="${release.dir}/${icu4j-charset-src.jar.file}" tofile="${release.dir}/${icu4j-charset-src.jar.versioned.file}" ></move> >+ <move file="${release.dir}/${icu4j-localespi-src.jar.file}" tofile="${release.dir}/${icu4j-localespi-src.jar.versioned.file}" ></move> >+ >+ >+ <move file="${release.dir}/${icu4jdocs.jar.file}" tofile="${release.dir}/${icu4jdocs.jar.versioned.file}" ></move> >+ >+ >+ <move file="${release.dir}/${icu4jsrc.tgz.file}" tofile="${release.dir}/${icu4jsrc.tgz.versioned.file}" ></move> >+ >+ >+ <mkdir dir="${out.dir}/checksum" ></mkdir> >+ <delete dir="${out.dir}/checksum" includes="**/*" ></delete> >+ >+ <checksum todir="${out.dir}/checksum" format="MD5SUM" > >+ <fileset dir="${release.dir}" > >+ <include name="*.jar" ></include> >+ <include name="*.tgz" ></include> > </fileset> > </checksum> > >- <concat destfile="${release.dir}/icu4j-${release.file.ver}.md5"> >- <fileset dir="${out.dir}/checksum" includes="*"/> >- <filterchain> >- <fixcrlf eol="lf"/> >+ <concat destfile="${release.dir}/icu4j-${release.file.ver}.md5" > >+ <fileset dir="${out.dir}/checksum" includes="*" ></fileset> >+ <filterchain > >+ <fixcrlf eol="lf" ></fixcrlf> > </filterchain> > </concat> > >- <antcall target="_verify_config_for_release"/> >+ <antcall target="_verify_config_for_release" ></antcall> > </target> > >- <target name="release" depends="info, releaseBinaries, releaseSrcJars, releaseDocs, releaseSourceArchiveTgz" description="Build all ICU4J release files for distribution"> >- <mkdir dir="${out.dir}/checksum"/> >- <delete dir="${out.dir}/checksum" includes="**/*"/> >+ <target name="release" depends="info, releaseBinaries, releaseSrcJars, releaseDocs, releaseSourceArchiveTgz" description="Build all ICU4J release files for distribution" > >+ <mkdir dir="${out.dir}/checksum" ></mkdir> >+ <delete dir="${out.dir}/checksum" includes="**/*" ></delete> > >- <checksum todir="${out.dir}/checksum" format="MD5SUM"> >- <fileset dir="${release.dir}"> >- <include name="*.jar"/> >- <include name="*.tgz"/> >+ <checksum todir="${out.dir}/checksum" format="MD5SUM" > >+ <fileset dir="${release.dir}" > >+ <include name="*.jar" ></include> >+ <include name="*.tgz" ></include> > </fileset> > </checksum> > >- <concat destfile="${release.dir}/icu4j.md5"> >- <fileset dir="${out.dir}/checksum" includes="*"/> >- <filterchain> >- <fixcrlf eol="lf"/> >+ <concat destfile="${release.dir}/icu4j.md5" > >+ <fileset dir="${out.dir}/checksum" includes="*" ></fileset> >+ <filterchain > >+ <fixcrlf eol="lf" ></fixcrlf> > </filterchain> > </concat> > >- <antcall target="_verify_config_for_release"/> >+ <antcall target="_verify_config_for_release" ></antcall> > </target> > >- <target name="releaseBinaries" depends="icu4jJar, charset, localespi" description="Build ICU4J binary files for distribution"> >- <mkdir dir="${release.dir}"/> >- <copy file="${icu4j.jar.file}" tofile="${release.dir}/${icu4j.jar.file}"/> >- <copy file="${icu4j.charset.jar}" tofile="${release.dir}/${icu4j-charset.jar.file}"/> >- <copy file="${icu4j.localespi.jar}" tofile="${release.dir}/${icu4j-localespi.jar.file}"/> >+ <target name="releaseBinaries" depends="icu4jJar, charset, localespi" description="Build ICU4J binary files for distribution" > >+ <mkdir dir="${release.dir}" ></mkdir> >+ <copy file="${icu4j.jar.file}" tofile="${release.dir}/${icu4j.jar.file}" ></copy> >+ <copy file="${icu4j.charset.jar}" tofile="${release.dir}/${icu4j-charset.jar.file}" ></copy> >+ <copy file="${icu4j.localespi.jar}" tofile="${release.dir}/${icu4j-localespi.jar.file}" ></copy> > </target> > >- <target name="releaseSrcJars" depends="icu4jSrcJar" description="Build ICU4J src jar files for distribution"> >- <mkdir dir="${release.dir}"/> >+ <target name="releaseSrcJars" depends="icu4jSrcJar" description="Build ICU4J src jar files for distribution" > >+ <mkdir dir="${release.dir}" ></mkdir> > >- <!-- icu4j src-jar --> >- <copy file="${icu4j-src.jar.file}" tofile="${release.dir}/${icu4j-src.jar.file}"/> > >- <!-- charset/localespi src-jar --> >- <ant dir="${icu4j.charset.dir}" target="src-jar" inheritAll="false"/> >- <ant dir="${icu4j.localespi.dir}" target="src-jar" inheritAll="false"/> >+ <copy file="${icu4j-src.jar.file}" tofile="${release.dir}/${icu4j-src.jar.file}" ></copy> > >- <copy file="${icu4j.charset.dir}/${out.dir}/lib/${icu4j-charset-src.jar.file}" tofile="${release.dir}/${icu4j-charset-src.jar.file}"/> >- <copy file="${icu4j.localespi.dir}/${out.dir}/lib/${icu4j-localespi-src.jar.file}" tofile="${release.dir}/${icu4j-localespi-src.jar.file}"/> >+ >+ <ant dir="${icu4j.charset.dir}" target="src-jar" inheritAll="false" ></ant> >+ <ant dir="${icu4j.localespi.dir}" target="src-jar" inheritAll="false" ></ant> >+ >+ <copy file="${icu4j.charset.dir}/${out.dir}/lib/${icu4j-charset-src.jar.file}" tofile="${release.dir}/${icu4j-charset-src.jar.file}" ></copy> >+ <copy file="${icu4j.localespi.dir}/${out.dir}/lib/${icu4j-localespi-src.jar.file}" tofile="${release.dir}/${icu4j-localespi-src.jar.file}" ></copy> > </target> > > >- <target name="releaseDocs" depends="docs" description="Build ICU4J API reference doc jar file for distribution"> >- <mkdir dir="${release.dir}"/> >- <jar jarfile="${release.dir}/${icu4jdocs.jar.file}" compress="true" basedir="${doc.dir}"/> >+ <target name="releaseDocs" depends="docs" description="Build ICU4J API reference doc jar file for distribution" > >+ <mkdir dir="${release.dir}" ></mkdir> >+ <jar jarfile="${release.dir}/${icu4jdocs.jar.file}" compress="true" basedir="${doc.dir}" ></jar> > </target> > >- <property name="src.release.wrk.dir" value="${out.dir}/tmpsrc"/> >+ <property name="src.release.wrk.dir" value="${out.dir}/tmpsrc" ></property> > >- <target name="releaseSourceArchiveZip" description="Build ICU4J source release archive (.zip)"> >- <delete dir="${src.release.wrk.dir}"/> >- <delete file="${icu4jsrc.zip.file}"/> >+ <target name="releaseSourceArchiveZip" description="Build ICU4J source release archive (.zip)" > >+ <delete dir="${src.release.wrk.dir}" ></delete> >+ <delete file="${icu4jsrc.zip.file}" ></delete> > >- <mkdir dir="${src.release.wrk.dir}"/> >+ <mkdir dir="${src.release.wrk.dir}" ></mkdir> > >- <fixcrlf srcdir="." >- destdir="${src.release.wrk.dir}" >- encoding="UTF-8" >- eol="crlf"> >- <include name="demos/**/*"/> >- <include name="main/**/*"/> >- <include name="perf-tests/**/*"/> >- <include name="samples/**/*"/> >- <include name="tools/**/*"/> >- <include name="*.html"/> >- <include name="*.xml"/> >- <include name="*.properties"/> >- <include name="*.css"/> >- <include name="*.stub"/> >- <exclude name="**/out/**/*"/> >- <exclude name="**/*.jar"/> >- <exclude name="**/build-local.properties"/> >- <exclude name="main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict"/> >- <exclude name="main/tests/core/src/com/ibm/icu/dev/test/serializable/data/**/*.dat"/> >- <exclude name="main/tests/core/src/com/ibm/icu/dev/test/util/Trie2Test.*.tri2"/> >- <exclude name="tools/build/icu4j*.api*.gz"/> >+ <fixcrlf srcdir="." destdir="${src.release.wrk.dir}" encoding="UTF-8" eol="crlf" > >+ <include name="demos/**/*" ></include> >+ <include name="main/**/*" ></include> >+ <include name="perf-tests/**/*" ></include> >+ <include name="samples/**/*" ></include> >+ <include name="tools/**/*" ></include> >+ <include name="*.html" ></include> >+ <include name="*.xml" ></include> >+ <include name="*.properties" ></include> >+ <include name="*.css" ></include> >+ <include name="*.stub" ></include> >+ <exclude name="**/out/**/*" ></exclude> >+ <exclude name="**/*.jar" ></exclude> >+ <exclude name="**/build-local.properties" ></exclude> >+ <exclude name="main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict" ></exclude> >+ <exclude name="main/tests/core/src/com/ibm/icu/dev/test/serializable/data/**/*.dat" ></exclude> >+ <exclude name="main/tests/core/src/com/ibm/icu/dev/test/util/Trie2Test.*.tri2" ></exclude> >+ <exclude name="tools/build/icu4j*.api*.gz" ></exclude> > </fixcrlf> > >- <mkdir dir="${release.dir}"/> >- <zip destfile="${release.dir}/${icu4jsrc.zip.file}"> >- <fileset dir="${src.release.wrk.dir}" includes="**/*"/> >- <fileset dir="${basedir}"> >- <include name="main/shared/data/*.jar"/> >- <include name="main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict"/> >- <include name="main/tests/core/src/com/ibm/icu/dev/test/serializable/data/**/*.dat"/> >- <include name="main/tests/core/src/com/ibm/icu/dev/test/util/Trie2Test.*.tri2"/> >- <include name="tools/build/icu4j*.api*.gz"/> >+ <mkdir dir="${release.dir}" ></mkdir> >+ <zip destfile="${release.dir}/${icu4jsrc.zip.file}" > >+ <fileset dir="${src.release.wrk.dir}" includes="**/*" ></fileset> >+ <fileset dir="${basedir}" > >+ <include name="main/shared/data/*.jar" ></include> >+ <include name="main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict" ></include> >+ <include name="main/tests/core/src/com/ibm/icu/dev/test/serializable/data/**/*.dat" ></include> >+ <include name="main/tests/core/src/com/ibm/icu/dev/test/util/Trie2Test.*.tri2" ></include> >+ <include name="tools/build/icu4j*.api*.gz" ></include> > </fileset> > </zip> > >- <delete dir="${src.release.wrk.dir}"/> >+ <delete dir="${src.release.wrk.dir}" ></delete> > </target> > >- <target name="releaseSourceArchiveTgz" description="Build ICU4J source release archive (.tgz)"> >- <delete dir="${src.release.wrk.dir}"/> >- <delete file="${icu4jsrc.tgz.file}"/> >- >- <mkdir dir="${src.release.wrk.dir}"/> >- >- <fixcrlf srcdir="." >- destdir="${src.release.wrk.dir}" >- encoding="UTF-8" >- eol="lf"> >- <include name="demos/**/*"/> >- <include name="main/**/*"/> >- <include name="perf-tests/**/*"/> >- <include name="samples/**/*"/> >- <include name="tools/**/*"/> >- <include name="*.html"/> >- <include name="*.xml"/> >- <include name="*.properties"/> >- <include name="*.css"/> >- <include name="*.stub"/> >- <exclude name="**/out/**/*"/> >- <exclude name="**/*.jar"/> >- <exclude name="**/build-local.properties"/> >- <exclude name="main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict"/> >- <exclude name="main/tests/core/src/com/ibm/icu/dev/test/serializable/data/**/*.dat"/> >- <exclude name="main/tests/core/src/com/ibm/icu/dev/test/util/Trie2Test.*.tri2"/> >- <exclude name="tools/build/icu4j*.api*.gz"/> >+ <target name="releaseSourceArchiveTgz" description="Build ICU4J source release archive (.tgz)" > >+ <delete dir="${src.release.wrk.dir}" ></delete> >+ <delete file="${icu4jsrc.tgz.file}" ></delete> >+ >+ <mkdir dir="${src.release.wrk.dir}" ></mkdir> >+ >+ <fixcrlf srcdir="." destdir="${src.release.wrk.dir}" encoding="UTF-8" eol="lf" > >+ <include name="demos/**/*" ></include> >+ <include name="main/**/*" ></include> >+ <include name="perf-tests/**/*" ></include> >+ <include name="samples/**/*" ></include> >+ <include name="tools/**/*" ></include> >+ <include name="*.html" ></include> >+ <include name="*.xml" ></include> >+ <include name="*.properties" ></include> >+ <include name="*.css" ></include> >+ <include name="*.stub" ></include> >+ <exclude name="**/out/**/*" ></exclude> >+ <exclude name="**/*.jar" ></exclude> >+ <exclude name="**/build-local.properties" ></exclude> >+ <exclude name="main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict" ></exclude> >+ <exclude name="main/tests/core/src/com/ibm/icu/dev/test/serializable/data/**/*.dat" ></exclude> >+ <exclude name="main/tests/core/src/com/ibm/icu/dev/test/util/Trie2Test.*.tri2" ></exclude> >+ <exclude name="tools/build/icu4j*.api*.gz" ></exclude> > </fixcrlf> > >- <property name="icu4jsrc.tar" value="${out.dir}/icu4jsrc.tar"/> >+ <property name="icu4jsrc.tar" value="${out.dir}/icu4jsrc.tar" ></property> > >- <tar destfile="${icu4jsrc.tar}" longfile="gnu"> >- <fileset dir="${src.release.wrk.dir}" includes="**/*"/> >- <fileset dir="${basedir}"> >- <include name="main/shared/data/*.jar"/> >- <include name="main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict"/> >- <include name="main/tests/core/src/com/ibm/icu/dev/test/serializable/data/**/*.dat"/> >- <include name="main/tests/core/src/com/ibm/icu/dev/test/util/Trie2Test.*.tri2"/> >- <include name="tools/build/icu4j*.api*.gz"/> >+ <tar destfile="${icu4jsrc.tar}" longfile="gnu" > >+ <fileset dir="${src.release.wrk.dir}" includes="**/*" ></fileset> >+ <fileset dir="${basedir}" > >+ <include name="main/shared/data/*.jar" ></include> >+ <include name="main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict" ></include> >+ <include name="main/tests/core/src/com/ibm/icu/dev/test/serializable/data/**/*.dat" ></include> >+ <include name="main/tests/core/src/com/ibm/icu/dev/test/util/Trie2Test.*.tri2" ></include> >+ <include name="tools/build/icu4j*.api*.gz" ></include> > </fileset> > </tar> > >- <mkdir dir="${release.dir}"/> >- <gzip destfile="${release.dir}/${icu4jsrc.tgz.file}" src="${icu4jsrc.tar}"/> >+ <mkdir dir="${release.dir}" ></mkdir> >+ <gzip destfile="${release.dir}/${icu4jsrc.tgz.file}" src="${icu4jsrc.tar}" ></gzip> > >- <delete dir="${src.release.wrk.dir}"/> >- <delete file="${icu4jsrc.tar}"/> >+ <delete dir="${src.release.wrk.dir}" ></delete> >+ <delete file="${icu4jsrc.tar}" ></delete> > </target> > >- <!-- findbugs targets --> > >- <target name="findbugs" description="Run FindBugs on all library sub projects."> >- <property name="findbugs.out.dir" value="${out.dir}/findbugs"/> >- <mkdir dir="${findbugs.out.dir}"/> > >- <ant dir="${icu4j.core.dir}" inheritAll="false" target="findbugs"/> >- <copy file="${icu4j.core.dir}/${out.dir}/fb-core.html" todir="${findbugs.out.dir}"/> >+ <target name="findbugs" description="Run FindBugs on all library sub projects." > >+ <property name="findbugs.out.dir" value="${out.dir}/findbugs" ></property> >+ <mkdir dir="${findbugs.out.dir}" ></mkdir> > >- <ant dir="${icu4j.collate.dir}" inheritAll="false" target="findbugs"/> >- <copy file="${icu4j.collate.dir}/${out.dir}/fb-collate.html" todir="${findbugs.out.dir}"/> >+ <ant dir="${icu4j.core.dir}" inheritAll="false" target="findbugs" ></ant> >+ <copy file="${icu4j.core.dir}/${out.dir}/fb-core.html" todir="${findbugs.out.dir}" ></copy> > >- <ant dir="${icu4j.currdata.dir}" inheritAll="false" target="findbugs"/> >- <copy file="${icu4j.currdata.dir}/${out.dir}/fb-currdata.html" todir="${findbugs.out.dir}"/> >+ <ant dir="${icu4j.collate.dir}" inheritAll="false" target="findbugs" ></ant> >+ <copy file="${icu4j.collate.dir}/${out.dir}/fb-collate.html" todir="${findbugs.out.dir}" ></copy> > >- <ant dir="${icu4j.langdata.dir}" inheritAll="false" target="findbugs"/> >- <copy file="${icu4j.langdata.dir}/${out.dir}/fb-langdata.html" todir="${findbugs.out.dir}"/> >+ <ant dir="${icu4j.currdata.dir}" inheritAll="false" target="findbugs" ></ant> >+ <copy file="${icu4j.currdata.dir}/${out.dir}/fb-currdata.html" todir="${findbugs.out.dir}" ></copy> > >- <ant dir="${icu4j.regiondata.dir}" inheritAll="false" target="findbugs"/> >- <copy file="${icu4j.regiondata.dir}/${out.dir}/fb-regiondata.html" todir="${findbugs.out.dir}"/> >+ <ant dir="${icu4j.langdata.dir}" inheritAll="false" target="findbugs" ></ant> >+ <copy file="${icu4j.langdata.dir}/${out.dir}/fb-langdata.html" todir="${findbugs.out.dir}" ></copy> > >- <ant dir="${icu4j.translit.dir}" inheritAll="false" target="findbugs"/> >- <copy file="${icu4j.translit.dir}/${out.dir}/fb-translit.html" todir="${findbugs.out.dir}"/> >+ <ant dir="${icu4j.regiondata.dir}" inheritAll="false" target="findbugs" ></ant> >+ <copy file="${icu4j.regiondata.dir}/${out.dir}/fb-regiondata.html" todir="${findbugs.out.dir}" ></copy> > >+ <ant dir="${icu4j.translit.dir}" inheritAll="false" target="findbugs" ></ant> >+ <copy file="${icu4j.translit.dir}/${out.dir}/fb-translit.html" todir="${findbugs.out.dir}" ></copy> > >- <ant dir="${icu4j.charset.dir}" inheritAll="false" target="findbugs"/> >- <copy file="${icu4j.charset.dir}/${out.dir}/fb-charset.html" todir="${findbugs.out.dir}"/> > >- <ant dir="${icu4j.localespi.dir}" inheritAll="false" target="findbugs"/> >- <copy file="${icu4j.localespi.dir}/${out.dir}/fb-localespi.html" todir="${findbugs.out.dir}"/> >+ <ant dir="${icu4j.charset.dir}" inheritAll="false" target="findbugs" ></ant> >+ <copy file="${icu4j.charset.dir}/${out.dir}/fb-charset.html" todir="${findbugs.out.dir}" ></copy> >+ >+ <ant dir="${icu4j.localespi.dir}" inheritAll="false" target="findbugs" ></ant> >+ <copy file="${icu4j.localespi.dir}/${out.dir}/fb-localespi.html" todir="${findbugs.out.dir}" ></copy> > </target> > >- <!-- compile targets --> >- <target name="core" description="Build core classes"> >- <ant dir="${icu4j.core.dir}" inheritAll="false"/> >+ >+ <target name="core" description="Build core classes" > >+ <ant dir="${icu4j.core.dir}" inheritAll="false" ></ant> > </target> > >- <target name="collate" depends="core" description="Build collation classes"> >- <ant dir="${icu4j.collate.dir}" inheritAll="false"/> >+ <target name="collate" depends="core" description="Build collation classes" > >+ <ant dir="${icu4j.collate.dir}" inheritAll="false" ></ant> > </target> > >- <target name="charset" depends="core" description="Build charset classes"> >- <ant dir="${icu4j.charset.dir}" inheritAll="false"/> >+ <target name="charset" depends="core" description="Build charset classes" > >+ <ant dir="${icu4j.charset.dir}" inheritAll="false" ></ant> > </target> > >- <target name="currdata" depends="core" description="Build currency data classes"> >- <ant dir="${icu4j.currdata.dir}" inheritAll="false"/> >+ <target name="currdata" depends="core" description="Build currency data classes" > >+ <ant dir="${icu4j.currdata.dir}" inheritAll="false" ></ant> > </target> > >- <target name="langdata" depends="core" description="Build language data classes"> >- <ant dir="${icu4j.langdata.dir}" inheritAll="false"/> >+ <target name="langdata" depends="core" description="Build language data classes" > >+ <ant dir="${icu4j.langdata.dir}" inheritAll="false" ></ant> > </target> > >- <target name="localespi" if="is.java6.plus" description="Build Locale SPI classes"> >- <antcall target="_build-localespi"/> >+ <target name="localespi" if="is.java6.plus" description="Build Locale SPI classes" > >+ <antcall target="_build-localespi" ></antcall> > </target> > >- <target name="_build-localespi" depends="core, collate, currdata, langdata, regiondata"> >- <ant dir="${icu4j.localespi.dir}" inheritAll="false"/> >+ <target name="_build-localespi" depends="core, collate, currdata, langdata, regiondata" > >+ <ant dir="${icu4j.localespi.dir}" inheritAll="false" ></ant> > </target> > >- <target name="regiondata" depends="core" description="Build region data classes"> >- <ant dir="${icu4j.regiondata.dir}" inheritAll="false"/> >+ <target name="regiondata" depends="core" description="Build region data classes" > >+ <ant dir="${icu4j.regiondata.dir}" inheritAll="false" ></ant> > </target> > >- <target name="translit" depends="core" description="Build translit classes"> >- <ant dir="${icu4j.translit.dir}" inheritAll="false"/> >+ <target name="translit" depends="core" description="Build translit classes" > >+ <ant dir="${icu4j.translit.dir}" inheritAll="false" ></ant> > </target> > >- <target name="test-framework" depends="core" description="Build test framework classes"> >- <ant dir="${icu4j.test-framework.dir}" inheritAll="false"/> >+ <target name="test-framework" depends="core" description="Build test framework classes" > >+ <ant dir="${icu4j.test-framework.dir}" inheritAll="false" ></ant> > </target> > >- <target name="core-tests" depends="core, test-framework" description="Build core tests"> >- <ant dir="${icu4j.core-tests.dir}" inheritAll="false"/> >+ <target name="core-tests" depends="core, test-framework" description="Build core tests" > >+ <ant dir="${icu4j.core-tests.dir}" inheritAll="false" ></ant> > </target> > >- <target name="collate-tests" depends="collate, test-framework" description="Build core tests"> >- <ant dir="${icu4j.collate-tests.dir}" inheritAll="false"/> >+ <target name="collate-tests" depends="collate, test-framework" description="Build core tests" > >+ <ant dir="${icu4j.collate-tests.dir}" inheritAll="false" ></ant> > </target> > >- <target name="charset-tests" depends="charset, test-framework" description="Build charset tests"> >- <ant dir="${icu4j.charset-tests.dir}" inheritAll="false"/> >+ <target name="charset-tests" depends="charset, test-framework" description="Build charset tests" > >+ <ant dir="${icu4j.charset-tests.dir}" inheritAll="false" ></ant> > </target> > >- <target name="localespi-tests" if="is.java6.plus" description="Build Locale SPI tests"> >- <antcall target="_build-localespi-tests"/> >+ <target name="localespi-tests" if="is.java6.plus" description="Build Locale SPI tests" > >+ <antcall target="_build-localespi-tests" ></antcall> > </target> > >- <target name="_build-localespi-tests" depends="localespi, test-framework"> >- <ant dir="${icu4j.localespi-tests.dir}" inheritAll="false"/> >+ <target name="_build-localespi-tests" depends="localespi, test-framework" > >+ <ant dir="${icu4j.localespi-tests.dir}" inheritAll="false" ></ant> > </target> > >- <target name="packaging-tests" depends="test-framework" description="Build packaging tests"> >- <ant dir="${icu4j.packaging-tests.dir}" inheritAll="false"/> >+ <target name="packaging-tests" depends="test-framework" description="Build packaging tests" > >+ <ant dir="${icu4j.packaging-tests.dir}" inheritAll="false" ></ant> > </target> > >- <target name="translit-tests" depends="translit, test-framework" description="Build translit tests"> >- <ant dir="${icu4j.translit-tests.dir}" inheritAll="false"/> >+ <target name="translit-tests" depends="translit, test-framework" description="Build translit tests" > >+ <ant dir="${icu4j.translit-tests.dir}" inheritAll="false" ></ant> > </target> > >- <target name="testall" depends="test-framework" description="Build top level TestAll"> >- <ant dir="${icu4j.testall.dir}" inheritAll="false"/> >+ <target name="testall" depends="test-framework" description="Build top level TestAll" > >+ <ant dir="${icu4j.testall.dir}" inheritAll="false" ></ant> > </target> > >- <target name="demos" depends="core, charset, translit" description="Build demo classes"> >- <ant dir="${icu4j.demos.dir}" inheritAll="false"/> >+ <target name="demos" depends="core, charset, translit" description="Build demo classes" > >+ <ant dir="${icu4j.demos.dir}" inheritAll="false" ></ant> > </target> > >- <target name="samples" depends="core, charset, collate, translit" description="Build sample classes"> >- <ant dir="${icu4j.samples.dir}" inheritAll="false"/> >+ <target name="samples" depends="core, charset, collate, translit" description="Build sample classes" > >+ <ant dir="${icu4j.samples.dir}" inheritAll="false" ></ant> > </target> > >- <target name="build-tools" description="Build build-tool classes"> >- <ant dir="${icu4j.build-tools.dir}" inheritAll="false"/> >+ <target name="build-tools" description="Build build-tool classes" > >+ <ant dir="${icu4j.build-tools.dir}" inheritAll="false" ></ant> > </target> > >- <target name="tools" depends="core, core-tests, collate, translit, translit-tests" description="Build tool classes"> >- <ant dir="${icu4j.tools.dir}" inheritAll="false"/> >+ <target name="tools" depends="core, core-tests, collate, translit, translit-tests" description="Build tool classes" > >+ <ant dir="${icu4j.tools.dir}" inheritAll="false" ></ant> > </target> > >- <target name="perf-tests" if="is.java6.plus" depends="core, charset, collate, tools" description="Build performance test classes"> >- <ant dir="${icu4j.perf-tests.dir}" inheritAll="false"/> >+ <target name="perf-tests" if="is.java6.plus" depends="core, charset, collate, tools" description="Build performance test classes" > >+ <ant dir="${icu4j.perf-tests.dir}" inheritAll="false" ></ant> > </target> > >- <!-- doc targets --> >- <target name="docs" depends="info, build-tools, _checkJCite, _docsWithJCite, _docsWithoutJCite" description="Build API documents"/> > >- <target name="_checkJCite" if="env.JCITE_DIR"> >- <fileset dir="${env.JCITE_DIR}" id="jcite.files"> >- <include name="build/*.jar"/> >- <include name="lib/*.jar"/> >+ <target name="docs" depends="info, build-tools, _checkJCite, _docsWithJCite, _docsWithoutJCite" description="Build API documents" ></target> >+ >+ <target name="_checkJCite" if="env.JCITE_DIR" > >+ <fileset dir="${env.JCITE_DIR}" id="jcite.files" > >+ <include name="build/*.jar" ></include> >+ <include name="lib/*.jar" ></include> > </fileset> >- <pathconvert property="jcite.libs" refid="jcite.files"/> >+ <pathconvert property="jcite.libs" refid="jcite.files" ></pathconvert> > >- <dirset dir="${basedir}" id="jcite.src.dirs"> >- <include name="samples/src"/> >- <include name="demos/src"/> >- <include name="main/tests/*/src"/> >+ <dirset dir="${basedir}" id="jcite.src.dirs" > >+ <include name="samples/src" ></include> >+ <include name="demos/src" ></include> >+ <include name="main/tests/*/src" ></include> > </dirset> >- <pathconvert property="jcite.addl.src" refid="jcite.src.dirs"/> >+ <pathconvert property="jcite.addl.src" refid="jcite.src.dirs" ></pathconvert> > </target> > >- <target name="_docsStyleSheet"> >- <condition property="docs.style.sheet" value="stylesheet7.css" else="stylesheet.css"> >- <isset property="is.java7.plus"/> >+ <target name="_docsStyleSheet" > >+ <condition property="docs.style.sheet" value="stylesheet7.css" else="stylesheet.css" > >+ <isset property="is.java7.plus" ></isset> > </condition> > </target> > >- <!-- doclint in V8 is too strict to handle existing html in javadoc --> >- <target name="_setLintV8" unless="is.pre.java8"> >- <property name="lintParam" value="-Xdoclint:-html"/> >- </target> >- <target name="_setLintPreV8" if="is.pre.java8"> >- <property name="lintParam" value=""/> >- </target> >- >- <target name="_docsWithJCite" depends="_docsStyleSheet, _setLintV8, _setLintPreV8" if="jcite.libs"> >- <echo message="JCite library path: ${jcite.libs}"/> >- <echo message="JCite additional source path: ${jcite.addl.src}"/> >- <echo message="Custom stylesheet: ${docs.style.sheet}"/> >- <javadoc >- destdir="${doc.dir}" >- nodeprecatedlist="true" >- windowtitle="${icu4j.api.doc.window.title}" >- doctitle="${icu4j.api.doc.title}" >- header="${icu4j.api.doc.header}" >- encoding="${java.src.encoding}" >- docencoding="UTF-8" >- charset="UTF-8" >- bottom="<font size=-1>Copyright (c) ${current.year} IBM Corporation and others.</font>" >- additionalparam="${lintParam} -breakiterator -use -tagletpath ${icu4j.build-tools.jar}${path.separator}${jcite.libs} -taglet com.ibm.icu.dev.tool.docs.ICUTaglet -taglet ch.arrenbrecht.jcite.JCiteTaglet -J-Djcitesourcepath=${jcite.addl.src} -J-Dfile.encoding=UTF-8" >- link="${icu4j.api.doc.jdk.link}" >- source="1.5" >- stylesheetfile="${docs.style.sheet}"> >- <packageset dir="${icu4j.core.dir}/src"> >- <include name="com/ibm/icu/lang/**"/> >- <include name="com/ibm/icu/math/**"/> >- <include name="com/ibm/icu/text/**"/> >- <include name="com/ibm/icu/util/**"/> >+ >+ <target name="_setLintV8" unless="is.pre.java8" > >+ <property name="lintParam" value="-Xdoclint:-html" ></property> >+ </target> >+ <target name="_setLintPreV8" if="is.pre.java8" > >+ <property name="lintParam" value="" ></property> >+ </target> >+ >+ <target name="_docsWithJCite" depends="_docsStyleSheet, _setLintV8, _setLintPreV8" if="jcite.libs" > >+ <echo message="JCite library path: ${jcite.libs}" ></echo> >+ <echo message="JCite additional source path: ${jcite.addl.src}" ></echo> >+ <echo message="Custom stylesheet: ${docs.style.sheet}" ></echo> >+ <javadoc destdir="${doc.dir}" nodeprecatedlist="true" windowtitle="${icu4j.api.doc.window.title}" doctitle="${icu4j.api.doc.title}" header="${icu4j.api.doc.header}" encoding="${java.src.encoding}" docencoding="UTF-8" charset="UTF-8" bottom="<font size=-1>Copyright (c) ${current.year} IBM Corporation and others.</font>" additionalparam="${lintParam} -breakiterator -use -tagletpath ${icu4j.build-tools.jar}${path.separator}${jcite.libs} -taglet com.ibm.icu.dev.tool.docs.ICUTaglet -taglet ch.arrenbrecht.jcite.JCiteTaglet -J-Djcitesourcepath=${jcite.addl.src} -J-Dfile.encoding=UTF-8" link="${icu4j.api.doc.jdk.link}" stylesheetfile="${docs.style.sheet}" source="1.6" > >+ <packageset dir="${icu4j.core.dir}/src" > >+ <include name="com/ibm/icu/lang/**" ></include> >+ <include name="com/ibm/icu/math/**" ></include> >+ <include name="com/ibm/icu/text/**" ></include> >+ <include name="com/ibm/icu/util/**" ></include> > </packageset> >- <packageset dir="${icu4j.collate.dir}/src"> >- <include name="com/ibm/icu/text/**"/> >+ <packageset dir="${icu4j.collate.dir}/src" > >+ <include name="com/ibm/icu/text/**" ></include> > </packageset> >- <packageset dir="${icu4j.translit.dir}/src"> >- <include name="com/ibm/icu/text/**"/> >+ <packageset dir="${icu4j.translit.dir}/src" > >+ <include name="com/ibm/icu/text/**" ></include> > </packageset> >- <packageset dir="${icu4j.charset.dir}/src"> >- <include name="com/ibm/icu/charset/**"/> >+ <packageset dir="${icu4j.charset.dir}/src" > >+ <include name="com/ibm/icu/charset/**" ></include> > </packageset> > </javadoc> > </target> > >- <target name="_docsWithoutJCite" unless="jcite.libs"> >- <javadoc >- destdir="${doc.dir}" >- nodeprecatedlist="true" >- windowtitle="${icu4j.api.doc.window.title}" >- doctitle="${icu4j.api.doc.title}" >- header="${icu4j.api.doc.header}" >- encoding="${java.src.encoding}" >- docencoding="UTF-8" >- charset="UTF-8" >- bottom="<font size=-1>Copyright (c) ${current.year} IBM Corporation and others.</font>" >- additionalparam="-breakiterator -use -tagletpath ${icu4j.build-tools.jar} -taglet com.ibm.icu.dev.tool.docs.ICUTaglet" >- link="${icu4j.api.doc.jdk.link}" >- source="1.5"> >- <packageset dir="${icu4j.core.dir}/src"> >- <include name="com/ibm/icu/lang/**"/> >- <include name="com/ibm/icu/math/**"/> >- <include name="com/ibm/icu/text/**"/> >- <include name="com/ibm/icu/util/**"/> >+ <target name="_docsWithoutJCite" unless="jcite.libs" > >+ <javadoc destdir="${doc.dir}" nodeprecatedlist="true" windowtitle="${icu4j.api.doc.window.title}" doctitle="${icu4j.api.doc.title}" header="${icu4j.api.doc.header}" encoding="${java.src.encoding}" docencoding="UTF-8" charset="UTF-8" bottom="<font size=-1>Copyright (c) ${current.year} IBM Corporation and others.</font>" additionalparam="-breakiterator -use -tagletpath ${icu4j.build-tools.jar} -taglet com.ibm.icu.dev.tool.docs.ICUTaglet" link="${icu4j.api.doc.jdk.link}" source="1.6" > >+ <packageset dir="${icu4j.core.dir}/src" > >+ <include name="com/ibm/icu/lang/**" ></include> >+ <include name="com/ibm/icu/math/**" ></include> >+ <include name="com/ibm/icu/text/**" ></include> >+ <include name="com/ibm/icu/util/**" ></include> > </packageset> >- <packageset dir="${icu4j.collate.dir}/src"> >- <include name="com/ibm/icu/text/**"/> >+ <packageset dir="${icu4j.collate.dir}/src" > >+ <include name="com/ibm/icu/text/**" ></include> > </packageset> >- <packageset dir="${icu4j.translit.dir}/src"> >- <include name="com/ibm/icu/text/**"/> >+ <packageset dir="${icu4j.translit.dir}/src" > >+ <include name="com/ibm/icu/text/**" ></include> > </packageset> >- <packageset dir="${icu4j.charset.dir}/src"> >- <include name="com/ibm/icu/charset/**"/> >+ <packageset dir="${icu4j.charset.dir}/src" > >+ <include name="com/ibm/icu/charset/**" ></include> > </packageset> > </javadoc> > </target> > >- <!-- JaCoCo code coverage target --> >- <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml" onerror="ignore"> >- <classpath path="${env.JACOCO_DIR}/lib/jacocoant.jar"/> >+ >+ <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml" onerror="ignore" > >+ <classpath path="${env.JACOCO_DIR}/lib/jacocoant.jar" ></classpath> > </taskdef> > >- <target name="coverageJaCoCo" depends="jar, tests" description="Run the ICU4J unit tests and generate code coverage report"> >- <property name="jacoco.out.dir" value="${out.dir}/jacoco"/> >- <property name="jacoco.exec.data.file" value="${jacoco.out.dir}/jacoco.exec"/> >- <property name="jacoco.report.html.zip" value="${jacoco.out.dir}/report_html.zip"/> >- <property name="jacoco.report.xml" value="${jacoco.out.dir}/report.xml"/> >- <property name="jacoco.report.csv" value="${jacoco.out.dir}/report.csv"/> >- >- <delete dir="${jacoco.out.dir}"/> >- <mkdir dir="${jacoco.out.dir}"/> >- >- <jacoco:coverage destfile="${jacoco.exec.data.file}"> >- <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true"> >- <jvmarg line="${jvm_options} -ea -Djava.awt.headless=true"/> >- <classpath> >- <pathelement location="${icu4j.jar.file}"/> >- <pathelement location="${icu4j-charset.jar.file}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.core-tests.jar}"/> >- <pathelement location="${icu4j.collate-tests.jar}"/> >- <pathelement location="${icu4j.charset-tests.jar}"/> >- <pathelement location="${icu4j.translit-tests.jar}"/> >- <pathelement location="${icu4j.testall.jar}"/> >+ <target name="coverageJaCoCo" depends="jar, tests" description="Run the ICU4J unit tests and generate code coverage report" > >+ <property name="jacoco.out.dir" value="${out.dir}/jacoco" ></property> >+ <property name="jacoco.exec.data.file" value="${jacoco.out.dir}/jacoco.exec" ></property> >+ <property name="jacoco.report.html.zip" value="${jacoco.out.dir}/report_html.zip" ></property> >+ <property name="jacoco.report.xml" value="${jacoco.out.dir}/report.xml" ></property> >+ <property name="jacoco.report.csv" value="${jacoco.out.dir}/report.csv" ></property> >+ >+ <delete dir="${jacoco.out.dir}" ></delete> >+ <mkdir dir="${jacoco.out.dir}" ></mkdir> >+ >+ <jacoco:coverage destfile="${jacoco.exec.data.file}" > >+ <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true" > >+ <jvmarg line="${jvm_options} -ea -Djava.awt.headless=true" ></jvmarg> >+ <classpath > >+ <pathelement location="${icu4j.jar.file}" ></pathelement> >+ <pathelement location="${icu4j-charset.jar.file}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.core-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.testall.jar}" ></pathelement> > </classpath> > </java> > </jacoco:coverage> > >- <jacoco:report> >- <executiondata> >- <file file="${jacoco.exec.data.file}"/> >+ <jacoco:report > >+ <executiondata > >+ <file file="${jacoco.exec.data.file}" ></file> > </executiondata> > >- <structure name="ICU4J Project"> >- <classfiles> >- <fileset dir="."> >- <include name="${icu4j.jar.file}"/> >- <include name="${icu4j-charset.jar.file}"/> >+ <structure name="ICU4J Project" > >+ <classfiles > >+ <fileset dir="." > >+ <include name="${icu4j.jar.file}" ></include> >+ <include name="${icu4j-charset.jar.file}" ></include> > </fileset> > </classfiles> >- <sourcefiles encoding="UTF-8"> >- <fileset dir="${icu4j.core.dir}/src"/> >- <fileset dir="${icu4j.collate.dir}/src"/> >- <fileset dir="${icu4j.currdata.dir}/src"/> >- <fileset dir="${icu4j.langdata.dir}/src"/> >- <fileset dir="${icu4j.regiondata.dir}/src"/> >- <fileset dir="${icu4j.translit.dir}/src"/> >+ <sourcefiles encoding="UTF-8" > >+ <fileset dir="${icu4j.core.dir}/src" ></fileset> >+ <fileset dir="${icu4j.collate.dir}/src" ></fileset> >+ <fileset dir="${icu4j.currdata.dir}/src" ></fileset> >+ <fileset dir="${icu4j.langdata.dir}/src" ></fileset> >+ <fileset dir="${icu4j.regiondata.dir}/src" ></fileset> >+ <fileset dir="${icu4j.translit.dir}/src" ></fileset> > >- <fileset dir="${icu4j.charset.dir}/src"/> >+ <fileset dir="${icu4j.charset.dir}/src" ></fileset> > </sourcefiles> > </structure> > >- <html destfile="${jacoco.report.html.zip}"/> >- <xml destfile="${jacoco.report.xml}"/> >- <csv destfile="${jacoco.report.csv}"/> >+ <html destfile="${jacoco.report.html.zip}" ></html> >+ <xml destfile="${jacoco.report.xml}" ></xml> >+ <csv destfile="${jacoco.report.csv}" ></csv> > </jacoco:report> > </target> > >- <!-- Clover code coverage target --> >- <property name="clover.out.dir" value="${out.dir}/clover"/> >- <property name="clover.jar" location="${env.CLOVER_DIR}/clover.jar"/> >- <taskdef resource="cloverlib.xml" classpath="${clover.jar}" onerror="ignore"/> >- >- <target name="codeCoverage" depends="clean" description="Generate code coverage report with clover"> >- <!-- Set up clover --> >- <mkdir dir="${clover.out.dir}"/> >- <clover-setup initstring="${clover.out.dir}/clover.db"> >- <files> >- <exclude name="**/dev/**/*.java"/> >+ >+ <property name="clover.out.dir" value="${out.dir}/clover" ></property> >+ <property name="clover.jar" location="${env.CLOVER_DIR}/clover.jar" ></property> >+ <taskdef resource="cloverlib.xml" classpath="${clover.jar}" onerror="ignore" ></taskdef> >+ >+ <target name="codeCoverage" depends="clean" description="Generate code coverage report with clover" > >+ >+ <mkdir dir="${clover.out.dir}" ></mkdir> >+ <clover-setup initstring="${clover.out.dir}/clover.db" > >+ <files > >+ <exclude name="**/dev/**/*.java" ></exclude> > </files> >- <methodContext name="API" regexp="(.* )?public .*"/> >+ <methodContext name="API" regexp="(.* )?public .*" ></methodContext> > </clover-setup> > >- <!-- Build components with clover instrumentation --> >- <ant dir="${icu4j.core.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ >+ <ant dir="${icu4j.core.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.collate.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.collate.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.charset.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.charset.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.currdata.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.currdata.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.langdata.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.langdata.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.regiondata.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.regiondata.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.translit.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.translit.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.test-framework.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.test-framework.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.core-tests.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.core-tests.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.collate-tests.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.collate-tests.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.charset-tests.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.charset-tests.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.translit-tests.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.translit-tests.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> >- <ant dir="${icu4j.testall.dir}" inheritAll="false" inheritRefs="true"> >- <property name="build.compiler" value="${build.compiler}"/> >+ <ant dir="${icu4j.testall.dir}" inheritAll="false" inheritRefs="true" > >+ <property name="build.compiler" value="${build.compiler}" ></property> > </ant> > >- <!-- Run the test suites --> >- <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true"> >- <classpath> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >- <pathelement location="${icu4j.currdata.jar}"/> >- <pathelement location="${icu4j.langdata.jar}"/> >- <pathelement location="${icu4j.regiondata.jar}"/> >- <pathelement location="${icu4j.translit.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.core-tests.jar}"/> >- <pathelement location="${icu4j.collate-tests.jar}"/> >- <pathelement location="${icu4j.charset-tests.jar}"/> >- <pathelement location="${icu4j.translit-tests.jar}"/> >- <pathelement location="${icu4j.testall.jar}"/> >- <pathelement location="${clover.jar}"/> >+ >+ <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true" > >+ <classpath > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> >+ <pathelement location="${icu4j.currdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.langdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.regiondata.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.core-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.testall.jar}" ></pathelement> >+ <pathelement location="${clover.jar}" ></pathelement> > </classpath> > </java> > >- <!-- Generate HTML coverage report --> >- <!-- <clover-html-report outdir="${clover.out.dir}/html" title="ICU4J Code Coverage"/> --> >- <clover-report> >- <current outfile="${clover.out.dir}/html" title="ICU4J Code Coverage"> >- <format type="html" filter="assert" /> >+ >+ >+ <clover-report > >+ <current outfile="${clover.out.dir}/html" title="ICU4J Code Coverage" > >+ <format type="html" filter="assert" ></format> > </current> > </clover-report> > </target> > >- <!-- Release management targets --> >- <target name="checktags" depends="info, build-tools" description="Check API tags before release"> >- <javadoc source="1.5" >- encoding="${java.src.encoding}"> >- <packageset dir="${icu4j.core.dir}/src"> >- <include name="com/ibm/icu/lang/**"/> >- <include name="com/ibm/icu/math/**"/> >- <include name="com/ibm/icu/text/**"/> >- <include name="com/ibm/icu/util/**"/> >+ >+ <target name="checktags" depends="info, build-tools" description="Check API tags before release" > >+ <javadoc encoding="${java.src.encoding}" source="1.6" > >+ <packageset dir="${icu4j.core.dir}/src" > >+ <include name="com/ibm/icu/lang/**" ></include> >+ <include name="com/ibm/icu/math/**" ></include> >+ <include name="com/ibm/icu/text/**" ></include> >+ <include name="com/ibm/icu/util/**" ></include> > </packageset> >- <packageset dir="${icu4j.collate.dir}/src"> >- <include name="com/ibm/icu/**"/> >+ <packageset dir="${icu4j.collate.dir}/src" > >+ <include name="com/ibm/icu/**" ></include> > </packageset> >- <packageset dir="${icu4j.charset.dir}/src"> >- <include name="com/ibm/icu/charset/**"/> >+ <packageset dir="${icu4j.charset.dir}/src" > >+ <include name="com/ibm/icu/charset/**" ></include> > </packageset> >- <doclet name="com.ibm.icu.dev.tool.docs.CheckTags" path="${icu4j.build-tools.jar}"/> >+ <doclet name="com.ibm.icu.dev.tool.docs.CheckTags" path="${icu4j.build-tools.jar}" ></doclet> > </javadoc> > </target> > >- <target name="gatherapi" depends="info, build-tools" description="Run API database generator tool"> >- <mkdir dir="${out.dir}"/> >- <javadoc source="1.5" >- encoding="${java.src.encoding}"> >- <packageset dir="${icu4j.core.dir}/src"> >- <include name="com/ibm/icu/lang/**"/> >- <include name="com/ibm/icu/math/**"/> >- <include name="com/ibm/icu/text/**"/> >- <include name="com/ibm/icu/util/**"/> >+ <target name="gatherapi" depends="info, build-tools" description="Run API database generator tool" > >+ <mkdir dir="${out.dir}" ></mkdir> >+ <javadoc encoding="${java.src.encoding}" source="1.6" > >+ <packageset dir="${icu4j.core.dir}/src" > >+ <include name="com/ibm/icu/lang/**" ></include> >+ <include name="com/ibm/icu/math/**" ></include> >+ <include name="com/ibm/icu/text/**" ></include> >+ <include name="com/ibm/icu/util/**" ></include> > </packageset> >- <packageset dir="${icu4j.collate.dir}/src"> >- <include name="com/ibm/icu/text/**"/> >- <include name="com/ibm/icu/util/**"/> >+ <packageset dir="${icu4j.collate.dir}/src" > >+ <include name="com/ibm/icu/text/**" ></include> >+ <include name="com/ibm/icu/util/**" ></include> > </packageset> >- <packageset dir="${icu4j.charset.dir}/src"> >- <include name="com/ibm/icu/charset/**"/> >+ <packageset dir="${icu4j.charset.dir}/src" > >+ <include name="com/ibm/icu/charset/**" ></include> > </packageset> >- <packageset dir="${icu4j.translit.dir}/src"> >- <include name="com/ibm/icu/text/**"/> >+ <packageset dir="${icu4j.translit.dir}/src" > >+ <include name="com/ibm/icu/text/**" ></include> > </packageset> >- <doclet name="com.ibm.icu.dev.tool.docs.GatherAPIData" path="${icu4j.build-tools.jar}"> >- <param name="-name" value="ICU4J ${icu4j.impl.version}"/> >- <param name="-output" value="${out.dir}/icu4j${api.report.version}.api3"/> >- <param name="-internal"/> >- <param name="-version"/> >- <param name="-gzip"/> >+ <doclet name="com.ibm.icu.dev.tool.docs.GatherAPIData" path="${icu4j.build-tools.jar}" > >+ <param name="-name" value="ICU4J ${icu4j.impl.version}" ></param> >+ <param name="-output" value="${out.dir}/icu4j${api.report.version}.api3" ></param> >+ <param name="-internal" ></param> >+ <param name="-version" ></param> >+ <param name="-gzip" ></param> > </doclet> > </javadoc> > </target> > >- <target name="apireport" depends="info, gatherapi" description="Run API report generator tool"> >- <java classname="com.ibm.icu.dev.tool.docs.ReportAPI" >- classpath="${icu4j.build-tools.jar}" >- failonerror="true"> >- <arg value="-old:" /> >- <arg value="${icu4j.build-tools.dir}/icu4j${api.report.prev.version}.api3.gz" /> >- <arg value="-new:" /> >- <arg value="${out.dir}/icu4j${api.report.version}.api3.gz" /> >- <arg value="-html" /> >- <arg value="-out:" /> >- <arg value="${out.dir}/icu4j_compare_${api.report.prev.version}_${api.report.version}.html" /> >+ <target name="apireport" depends="info, gatherapi" description="Run API report generator tool" > >+ <java classname="com.ibm.icu.dev.tool.docs.ReportAPI" classpath="${icu4j.build-tools.jar}" failonerror="true" > >+ <arg value="-old:" ></arg> >+ <arg value="${icu4j.build-tools.dir}/icu4j${api.report.prev.version}.api3.gz" ></arg> >+ <arg value="-new:" ></arg> >+ <arg value="${out.dir}/icu4j${api.report.version}.api3.gz" ></arg> >+ <arg value="-html" ></arg> >+ <arg value="-out:" ></arg> >+ <arg value="${out.dir}/icu4j_compare_${api.report.prev.version}_${api.report.version}.html" ></arg> > </java> > </target> > >- <target name="gatherapiOld" depends="info, build-tools" description="Run API database generator tool (Pre Java 5 style)"> >- <mkdir dir="${out.dir}"/> >- <javadoc source="1.5" >- encoding="${java.src.encoding}"> >- <packageset dir="${icu4j.core.dir}/src"> >- <include name="com/ibm/icu/lang/**"/> >- <include name="com/ibm/icu/math/**"/> >- <include name="com/ibm/icu/text/**"/> >- <include name="com/ibm/icu/util/**"/> >+ <target name="gatherapiOld" depends="info, build-tools" description="Run API database generator tool (Pre Java 5 style)" > >+ <mkdir dir="${out.dir}" ></mkdir> >+ <javadoc encoding="${java.src.encoding}" source="1.6" > >+ <packageset dir="${icu4j.core.dir}/src" > >+ <include name="com/ibm/icu/lang/**" ></include> >+ <include name="com/ibm/icu/math/**" ></include> >+ <include name="com/ibm/icu/text/**" ></include> >+ <include name="com/ibm/icu/util/**" ></include> > </packageset> >- <packageset dir="${icu4j.collate.dir}/src"> >- <include name="com/ibm/icu/text/**"/> >- <include name="com/ibm/icu/util/**"/> >+ <packageset dir="${icu4j.collate.dir}/src" > >+ <include name="com/ibm/icu/text/**" ></include> >+ <include name="com/ibm/icu/util/**" ></include> > </packageset> >- <packageset dir="${icu4j.charset.dir}/src"> >- <include name="com/ibm/icu/charset/**"/> >+ <packageset dir="${icu4j.charset.dir}/src" > >+ <include name="com/ibm/icu/charset/**" ></include> > </packageset> >- <packageset dir="${icu4j.translit.dir}/src"> >- <include name="com/ibm/icu/text/**"/> >+ <packageset dir="${icu4j.translit.dir}/src" > >+ <include name="com/ibm/icu/text/**" ></include> > </packageset> >- <doclet name="com.ibm.icu.dev.tool.docs.GatherAPIDataOld" path="${icu4j.build-tools.jar}"> >- <param name="-name" value="ICU4J ${icu4j.impl.version}"/> >- <param name="-output" value="${out.dir}/icu4j${api.report.version}.api"/> >- <param name="-internal"/> >- <param name="-gzip"/> >+ <doclet name="com.ibm.icu.dev.tool.docs.GatherAPIDataOld" path="${icu4j.build-tools.jar}" > >+ <param name="-name" value="ICU4J ${icu4j.impl.version}" ></param> >+ <param name="-output" value="${out.dir}/icu4j${api.report.version}.api" ></param> >+ <param name="-internal" ></param> >+ <param name="-gzip" ></param> > </doclet> > </javadoc> > </target> > >- <target name="apireportOld" depends="info, gatherapiOld" description="Run API report generator tool (Pre Java 5 Style)"> >- <java classname="com.ibm.icu.dev.tool.docs.ReportAPI" >- classpath="${icu4j.build-tools.jar}" >- failonerror="true"> >- <arg value="-old:" /> >- <arg value="${icu4j.build-tools.dir}/icu4j${api.report.prev.version}.api.gz" /> >- <arg value="-new:" /> >- <arg value="${out.dir}/icu4j${api.report.version}.api.gz" /> >- <arg value="-html" /> >- <arg value="-internal" /> >- <arg value="-out:" /> >- <arg value="${out.dir}/icu4j_compare_${api.report.prev.version}_${api.report.version}.html" /> >+ <target name="apireportOld" depends="info, gatherapiOld" description="Run API report generator tool (Pre Java 5 Style)" > >+ <java classname="com.ibm.icu.dev.tool.docs.ReportAPI" classpath="${icu4j.build-tools.jar}" failonerror="true" > >+ <arg value="-old:" ></arg> >+ <arg value="${icu4j.build-tools.dir}/icu4j${api.report.prev.version}.api.gz" ></arg> >+ <arg value="-new:" ></arg> >+ <arg value="${out.dir}/icu4j${api.report.version}.api.gz" ></arg> >+ <arg value="-html" ></arg> >+ <arg value="-internal" ></arg> >+ <arg value="-out:" ></arg> >+ <arg value="${out.dir}/icu4j_compare_${api.report.prev.version}_${api.report.version}.html" ></arg> > </java> > </target> > >- <target name="checkDeprecated" depends="info, build-tools, gatherapi, main" >- description="Check consistency between javadoc @deprecated and @Deprecated annotation"> >- <java classname="com.ibm.icu.dev.tool.docs.DeprecatedAPIChecker" >- failonerror="true"> >- <arg value="${out.dir}/icu4j${api.report.version}.api3.gz" /> >- <classpath> >- <pathelement location="${icu4j.build-tools.jar}"/> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >- <pathelement location="${icu4j.currdata.jar}"/> >- <pathelement location="${icu4j.langdata.jar}"/> >- <pathelement location="${icu4j.regiondata.jar}"/> >- <pathelement location="${icu4j.translit.jar}"/> >+ <target name="checkDeprecated" depends="info, build-tools, gatherapi, main" description="Check consistency between javadoc @deprecated and @Deprecated annotation" > >+ <java classname="com.ibm.icu.dev.tool.docs.DeprecatedAPIChecker" failonerror="true" > >+ <arg value="${out.dir}/icu4j${api.report.version}.api3.gz" ></arg> >+ <classpath > >+ <pathelement location="${icu4j.build-tools.jar}" ></pathelement> >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> >+ <pathelement location="${icu4j.currdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.langdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.regiondata.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit.jar}" ></pathelement> > </classpath> > </java> > </target> > >- <target name="draftAPIs" depends="info, gatherapi" description="Run API collector tool and generate draft API report"> >- <java classname="com.ibm.icu.dev.tool.docs.CollectAPI" >- classpath="${icu4j.build-tools.jar}" >- failonerror="true"> >- <arg value="-f"/> >- <arg value="Draft"/> >- <arg value="-o"/> >- <arg value="${out.dir}/draftAPIs.html"/> >- <arg value="${out.dir}/icu4j${api.report.version}.api3.gz" /> >+ <target name="draftAPIs" depends="info, gatherapi" description="Run API collector tool and generate draft API report" > >+ <java classname="com.ibm.icu.dev.tool.docs.CollectAPI" classpath="${icu4j.build-tools.jar}" failonerror="true" > >+ <arg value="-f" ></arg> >+ <arg value="Draft" ></arg> >+ <arg value="-o" ></arg> >+ <arg value="${out.dir}/draftAPIs.html" ></arg> >+ <arg value="${out.dir}/icu4j${api.report.version}.api3.gz" ></arg> > </java> > </target> > >- <target name="swatDeprecated" depends="build-tools" description="Convert @deprecated @draft tags to @provisional"> >- <antcall target="_runSwatDeprecated"> >- <param name="swat.deprecated.opt" value="-dep"/> >+ <target name="swatDeprecated" depends="build-tools" description="Convert @deprecated @draft tags to @provisional" > >+ <antcall target="_runSwatDeprecated" > >+ <param name="swat.deprecated.opt" value="-dep" ></param> > </antcall> > </target> > >- <target name="swatProvisional" depends="build-tools" description="Convert @provisional tags to @deprecated @draft"> >- <antcall target="_runSwatDeprecated"> >- <param name="swat.deprecated.opt" value="-prov"/> >+ <target name="swatProvisional" depends="build-tools" description="Convert @provisional tags to @deprecated @draft" > >+ <antcall target="_runSwatDeprecated" > >+ <param name="swat.deprecated.opt" value="-prov" ></param> > </antcall> > </target> > >- <target name="_runSwatDeprecated"> >- <java classname="com.ibm.icu.dev.tool.docs.SwatDeprecated" >- classpath="${icu4j.build-tools.jar}" >- failonerror="true"> >- <arg value="${swat.deprecated.opt}"/> >- <arg value="-src"/> >- <arg value="${icu4j.core.dir}/src"/> >- <arg value="-dst"/> >- <arg value="${icu4j.core.dir}/src"/> >- <arg value="-overwrite"/> >- <arg value="-verbose"/> >+ <target name="_runSwatDeprecated" > >+ <java classname="com.ibm.icu.dev.tool.docs.SwatDeprecated" classpath="${icu4j.build-tools.jar}" failonerror="true" > >+ <arg value="${swat.deprecated.opt}" ></arg> >+ <arg value="-src" ></arg> >+ <arg value="${icu4j.core.dir}/src" ></arg> >+ <arg value="-dst" ></arg> >+ <arg value="${icu4j.core.dir}/src" ></arg> >+ <arg value="-overwrite" ></arg> >+ <arg value="-verbose" ></arg> > </java> >- <java classname="com.ibm.icu.dev.tool.docs.SwatDeprecated" >- classpath="${icu4j.build-tools.jar}" >- failonerror="true"> >- <arg value="${swat.deprecated.opt}"/> >- <arg value="-src"/> >- <arg value="${icu4j.charset.dir}/src"/> >- <arg value="-dst"/> >- <arg value="${icu4j.charset.dir}/src"/> >- <arg value="-overwrite"/> >- <arg value="-verbose"/> >+ <java classname="com.ibm.icu.dev.tool.docs.SwatDeprecated" classpath="${icu4j.build-tools.jar}" failonerror="true" > >+ <arg value="${swat.deprecated.opt}" ></arg> >+ <arg value="-src" ></arg> >+ <arg value="${icu4j.charset.dir}/src" ></arg> >+ <arg value="-dst" ></arg> >+ <arg value="${icu4j.charset.dir}/src" ></arg> >+ <arg value="-overwrite" ></arg> >+ <arg value="-verbose" ></arg> > </java> > </target> > >- <target name="serialTestData" depends="main, tests"> >- <property name="serial.test.data.dir" value="${out.dir}/serialTestData"/> >- <delete dir="${serial.test.data.dir}"/> >- <mkdir dir="${serial.test.data.dir}"/> >- <java classname="com.ibm.icu.dev.test.serializable.SerializableWriter" fork="yes" failonerror="true"> >- <arg line="${serial.test.data.dir}"/> >- <classpath> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >- <pathelement location="${icu4j.currdata.jar}"/> >- <pathelement location="${icu4j.langdata.jar}"/> >- <pathelement location="${icu4j.regiondata.jar}"/> >- <pathelement location="${icu4j.translit.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.core-tests.jar}"/> >+ <target name="serialTestData" depends="main, tests" > >+ <property name="serial.test.data.dir" value="${out.dir}/serialTestData" ></property> >+ <delete dir="${serial.test.data.dir}" ></delete> >+ <mkdir dir="${serial.test.data.dir}" ></mkdir> >+ <java classname="com.ibm.icu.dev.test.serializable.SerializableWriter" fork="yes" failonerror="true" > >+ <arg line="${serial.test.data.dir}" ></arg> >+ <classpath > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> >+ <pathelement location="${icu4j.currdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.langdata.jar}" ></pathelement> >+ <pathelement location="${icu4j.regiondata.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.core-tests.jar}" ></pathelement> > </classpath> > </java> >- <echo message="Note: The serialization compatibility test data files were"/> >- <echo message="created in ${serial.test.data.dir}. Once you confirm"/> >- <echo message="the test runs clean, you should copy the data file directory to"/> >- <echo message="main/tests/core/src/com/ibm/icu/dev/test/serializable/data."/> >- </target> >- >- <!-- Special packaging targets --> >- <target name="translitIMEJar" depends="info" description="Build transliterator IME 'icutransime.jar' jar file"> >- <property name="translit.ime.out.dir" value="${out.dir}/translit_ime"/> >- >- <mkdir dir="${translit.ime.out.dir}/bin"/> >- <javac destdir="${translit.ime.out.dir}/bin" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.translit.dir}/src"/> >- <src path="${icu4j.tools.dir}/src"/> >- <include name="com/ibm/icu/dev/tool/ime/translit/*.java"/> >- </javac> >- >- <copy file="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/translit/Transliterator.properties" >- todir="${translit.ime.out.dir}/bin/com/ibm/icu/dev/tool/ime/translit"/> >- >- <mkdir dir="${translit.ime.out.dir}/lib"/> >- <jar jarfile="${translit.ime.out.dir}/lib/icutransime.jar" >- compress="true" >- basedir="${translit.ime.out.dir}/bin" >- includes="com/ibm/icu/dev/tool/ime/translit/**/*" >- manifest="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/translit/manifest.stub"> >- <metainf dir="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/translit" includes="services/*" /> >+ <echo message="Note: The serialization compatibility test data files were" ></echo> >+ <echo message="created in ${serial.test.data.dir}. Once you confirm" ></echo> >+ <echo message="the test runs clean, you should copy the data file directory to" ></echo> >+ <echo message="main/tests/core/src/com/ibm/icu/dev/test/serializable/data." ></echo> >+ </target> >+ >+ >+ <target name="translitIMEJar" depends="info" description="Build transliterator IME 'icutransime.jar' jar file" > >+ <property name="translit.ime.out.dir" value="${out.dir}/translit_ime" ></property> >+ >+ <mkdir dir="${translit.ime.out.dir}/bin" ></mkdir> >+ <javac destdir="${translit.ime.out.dir}/bin" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.translit.dir}/src" ></src> >+ <src path="${icu4j.tools.dir}/src" ></src> >+ <include name="com/ibm/icu/dev/tool/ime/translit/*.java" ></include> >+ </javac> >+ >+ <copy file="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/translit/Transliterator.properties" todir="${translit.ime.out.dir}/bin/com/ibm/icu/dev/tool/ime/translit" ></copy> >+ >+ <mkdir dir="${translit.ime.out.dir}/lib" ></mkdir> >+ <jar jarfile="${translit.ime.out.dir}/lib/icutransime.jar" compress="true" basedir="${translit.ime.out.dir}/bin" includes="com/ibm/icu/dev/tool/ime/translit/**/*" manifest="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/translit/manifest.stub" > >+ <metainf dir="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/translit" includes="services/*" ></metainf> > </jar> > </target> > >- <target name="indicIMEJar" depends="info" description="Build indic IME 'icuindicime.jar' jar file"> >- <property name="indic.ime.out.dir" value="${out.dir}/indic_ime"/> >+ <target name="indicIMEJar" depends="info" description="Build indic IME 'icuindicime.jar' jar file" > >+ <property name="indic.ime.out.dir" value="${out.dir}/indic_ime" ></property> >+ >+ <mkdir dir="${indic.ime.out.dir}/bin" ></mkdir> >+ <javac destdir="${indic.ime.out.dir}/bin" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.tools.dir}/src" ></src> >+ <include name="com/ibm/icu/dev/tool/ime/indic/*.java" ></include> >+ </javac> >+ >+ <copy file="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/indic/DisplayNames.properties" todir="${indic.ime.out.dir}/bin/com/ibm/icu/dev/tool/ime/indic" ></copy> > >- <mkdir dir="${indic.ime.out.dir}/bin"/> >- <javac destdir="${indic.ime.out.dir}/bin" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.tools.dir}/src"/> >- <include name="com/ibm/icu/dev/tool/ime/indic/*.java"/> >- </javac> >- >- <copy file="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/indic/DisplayNames.properties" >- todir="${indic.ime.out.dir}/bin/com/ibm/icu/dev/tool/ime/indic"/> >- >- <mkdir dir="${indic.ime.out.dir}/lib"/> >- <jar jarfile="${indic.ime.out.dir}/lib/icuindicime.jar" >- compress="true" >- basedir="${indic.ime.out.dir}/bin" >- includes="com/ibm/icu/dev/tool/ime/indic/**/*" >- manifest="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/indic/manifest.stub"> >- <metainf dir="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/indic" includes="services/*" /> >+ <mkdir dir="${indic.ime.out.dir}/lib" ></mkdir> >+ <jar jarfile="${indic.ime.out.dir}/lib/icuindicime.jar" compress="true" basedir="${indic.ime.out.dir}/bin" includes="com/ibm/icu/dev/tool/ime/indic/**/*" manifest="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/indic/manifest.stub" > >+ <metainf dir="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/ime/indic" includes="services/*" ></metainf> > </jar> > </target> > >- <target name="cldrUtil" depends="icu4jJar" description="Build Utilities for CLDR tooling"> >- <mkdir dir="${cldr.util.out.dir}/bin"/> >- <javac destdir="${cldr.util.out.dir}/bin" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off" >- classpath="${icu4j.jar.file}"> >- >- <src path="${icu4j.tools.dir}/src"/> >- <src path="${icu4j.translit-tests.dir}/src"/> >- <src path="${icu4j.test-framework.dir}/src"/> >- >- <include name="com/ibm/icu/dev/test/TestFmwk.java" /> >- <include name="com/ibm/icu/dev/util/*.java" /> >- <include name="com/ibm/icu/dev/tool/UOption.java" /> >- </javac> >- >- <mkdir dir="${cldr.util.out.dir}/lib"/> >- <jar jarfile="${cldr.util.out.dir}/lib/utilities.jar" >- compress="true" >- basedir="${cldr.util.out.dir}/bin"> >- <include name="com/ibm/icu/dev/test/*.class"/> >- <include name="com/ibm/icu/dev/util/*.class"/> >- <include name="com/ibm/icu/dev/tool/UOption*.class"/> >+ <target name="cldrUtil" depends="icu4jJar" description="Build Utilities for CLDR tooling" > >+ <mkdir dir="${cldr.util.out.dir}/bin" ></mkdir> >+ <javac destdir="${cldr.util.out.dir}/bin" encoding="${java.src.encoding}" debug="on" deprecation="off" classpath="${icu4j.jar.file}" source="1.6" target="1.6" nowarn="yes" > >+ >+ <src path="${icu4j.tools.dir}/src" ></src> >+ <src path="${icu4j.translit-tests.dir}/src" ></src> >+ <src path="${icu4j.test-framework.dir}/src" ></src> >+ >+ <include name="com/ibm/icu/dev/test/TestFmwk.java" ></include> >+ <include name="com/ibm/icu/dev/util/*.java" ></include> >+ <include name="com/ibm/icu/dev/tool/UOption.java" ></include> >+ </javac> >+ >+ <mkdir dir="${cldr.util.out.dir}/lib" ></mkdir> >+ <jar jarfile="${cldr.util.out.dir}/lib/utilities.jar" compress="true" basedir="${cldr.util.out.dir}/bin" > >+ <include name="com/ibm/icu/dev/test/*.class" ></include> >+ <include name="com/ibm/icu/dev/util/*.class" ></include> >+ <include name="com/ibm/icu/dev/tool/UOption*.class" ></include> > </jar> > </target> > >- <target name="releaseCLDR" depends="icu4jJar,icu4jSrcJar,cldrUtil" description="Build release files for CLDR tooling"> >- <mkdir dir="${cldr.release.dir}"/> >- <!-- icu4j.jar --> >- <copy file="${icu4j.jar.file}" todir="${cldr.release.dir}"/> >- <!-- icu4j-src.jar --> >- <copy file="${icu4j-src.jar.file}" todir="${cldr.release.dir}"/> >- <!-- utilities.jar --> >- <copy file="${cldr.util.out.dir}/lib/utilities.jar" todir="${cldr.release.dir}"/> >- <!-- utilities-src.jar --> >- <jar jarfile="${cldr.release.dir}/utilities-src.jar" compress="true"> >- <fileset dir="${icu4j.test-framework.dir}/${src.dir}"> >- <include name="com/ibm/icu/dev/test/TestFmwk.java"/> >- <include name="com/ibm/icu/dev/test/*Log*.java"/> >- <include name="com/ibm/icu/dev/test/TestUtil.java"/> >- <include name="com/ibm/icu/dev/test/UTF16Util.java"/> >+ <target name="releaseCLDR" depends="icu4jJar,icu4jSrcJar,cldrUtil" description="Build release files for CLDR tooling" > >+ <mkdir dir="${cldr.release.dir}" ></mkdir> >+ >+ <copy file="${icu4j.jar.file}" todir="${cldr.release.dir}" ></copy> >+ >+ <copy file="${icu4j-src.jar.file}" todir="${cldr.release.dir}" ></copy> >+ >+ <copy file="${cldr.util.out.dir}/lib/utilities.jar" todir="${cldr.release.dir}" ></copy> >+ >+ <jar jarfile="${cldr.release.dir}/utilities-src.jar" compress="true" > >+ <fileset dir="${icu4j.test-framework.dir}/${src.dir}" > >+ <include name="com/ibm/icu/dev/test/TestFmwk.java" ></include> >+ <include name="com/ibm/icu/dev/test/*Log*.java" ></include> >+ <include name="com/ibm/icu/dev/test/TestUtil.java" ></include> >+ <include name="com/ibm/icu/dev/test/UTF16Util.java" ></include> > </fileset> >- <fileset dir="${icu4j.test-framework.dir}/${src.dir}" includes="com/ibm/icu/dev/util/*.java"/> >- <fileset dir="${icu4j.translit-tests.dir}/${src.dir}" includes="com/ibm/icu/dev/util/*.java"/> >- <fileset dir="${icu4j.tools.dir}/${src.dir}" includes="com/ibm/icu/dev/tool/UOption.java"/> >+ <fileset dir="${icu4j.test-framework.dir}/${src.dir}" includes="com/ibm/icu/dev/util/*.java" ></fileset> >+ <fileset dir="${icu4j.translit-tests.dir}/${src.dir}" includes="com/ibm/icu/dev/util/*.java" ></fileset> >+ <fileset dir="${icu4j.tools.dir}/${src.dir}" includes="com/ibm/icu/dev/tool/UOption.java" ></fileset> > </jar> > </target> > >- <target name="xliff" description="Build xliff converter tool"> >- <property name="xliff.out.dir" value="${out.dir}/xliff"/> >+ <target name="xliff" description="Build xliff converter tool" > >+ <property name="xliff.out.dir" value="${out.dir}/xliff" ></property> > >- <mkdir dir="${xliff.out.dir}/bin"/> >- <javac destdir="${xliff.out.dir}/bin" >- source="1.3" >- target="1.3" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <src path="${icu4j.tools.dir}/src"/> >- <include name="com/ibm/icu/dev/tool/localeconverter/CalculateCRC32.java"/> >- <include name="com/ibm/icu/dev/tool/localeconverter/XLIFF2ICUConverter.java"/> >- <include name="com/ibm/icu/dev/tool/UOption.java"/> >- </javac> >- >- <mkdir dir="${xliff.out.dir}/lib"/> >- >- <jar jarfile="${xliff.out.dir}/lib/xliff-src.jar" >- compress="true" >- basedir="${icu4j.tools.dir}/src"> >- <include name="com/ibm/icu/dev/tool/localeconverter/CalculateCRC32.java"/> >- <include name="com/ibm/icu/dev/tool/localeconverter/XLIFF2ICUConverter.java"/> >- <include name="com/ibm/icu/dev/tool/UOption.java"/> >+ <mkdir dir="${xliff.out.dir}/bin" ></mkdir> >+ <javac destdir="${xliff.out.dir}/bin" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.tools.dir}/src" ></src> >+ <include name="com/ibm/icu/dev/tool/localeconverter/CalculateCRC32.java" ></include> >+ <include name="com/ibm/icu/dev/tool/localeconverter/XLIFF2ICUConverter.java" ></include> >+ <include name="com/ibm/icu/dev/tool/UOption.java" ></include> >+ </javac> >+ >+ <mkdir dir="${xliff.out.dir}/lib" ></mkdir> >+ >+ <jar jarfile="${xliff.out.dir}/lib/xliff-src.jar" compress="true" basedir="${icu4j.tools.dir}/src" > >+ <include name="com/ibm/icu/dev/tool/localeconverter/CalculateCRC32.java" ></include> >+ <include name="com/ibm/icu/dev/tool/localeconverter/XLIFF2ICUConverter.java" ></include> >+ <include name="com/ibm/icu/dev/tool/UOption.java" ></include> > </jar> > >- <jar jarfile="${xliff.out.dir}/lib/xliff.jar" >- compress="true" >- basedir="${xliff.out.dir}/bin" >- manifest="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/localeconverter/manifest.stub"/> >+ <jar jarfile="${xliff.out.dir}/lib/xliff.jar" compress="true" basedir="${xliff.out.dir}/bin" manifest="${icu4j.tools.dir}/src/com/ibm/icu/dev/tool/localeconverter/manifest.stub" ></jar> > </target> > > >- <!-- ICU4J modularization targets --> >- <property name="module.dir" value="${out.dir}/module"/> >- <property name="module.bin.dir" value="${module.dir}/bin"/> >- <property name="module.tests.dir" value="${module.dir}/tests"/> >- <property name="module.jar.dir" value="${module.dir}/lib"/> >- <property name="module.jar" value="${module.jar.dir}/icu4j-module.jar"/> >- >- <target name="moduleJar" description="Create a ICU4J module jar file"> >- <mkdir dir="${module.jar.dir}"/> >- <jar jarfile="${module.jar}" >- compress="true" >- basedir="${module.bin.dir}"> >- <manifest> >- <attribute name="Built-By" value="${corp}" /> >- <section name="com/ibm/icu"> >- <attribute name="Specification-Title" value="ICU4J Modularized Build" /> >- <attribute name="Specification-Version" value="${jar.spec.version}" /> >- <attribute name="Specification-Vendor" value="ICU" /> >- <attribute name="Implementation-Title" value=" ICU for Java Module" /> >- <attribute name="Implementation-Version" value="${jar.impl.version}" /> >- <attribute name="Implementation-Vendor" value="${corp}" /> >- <attribute name="Implementation-Vendor-Id" value="com.ibm" /> >- <attribute name="Copyright-Info" value="${jar.copyright.info}" /> >- <attribute name="Sealed" value="false" /> >+ >+ <property name="module.dir" value="${out.dir}/module" ></property> >+ <property name="module.bin.dir" value="${module.dir}/bin" ></property> >+ <property name="module.tests.dir" value="${module.dir}/tests" ></property> >+ <property name="module.jar.dir" value="${module.dir}/lib" ></property> >+ <property name="module.jar" value="${module.jar.dir}/icu4j-module.jar" ></property> >+ >+ <target name="moduleJar" description="Create a ICU4J module jar file" > >+ <mkdir dir="${module.jar.dir}" ></mkdir> >+ <jar jarfile="${module.jar}" compress="true" basedir="${module.bin.dir}" > >+ <manifest > >+ <attribute name="Built-By" value="${corp}" ></attribute> >+ <section name="com/ibm/icu" > >+ <attribute name="Specification-Title" value="ICU4J Modularized Build" ></attribute> >+ <attribute name="Specification-Version" value="${jar.spec.version}" ></attribute> >+ <attribute name="Specification-Vendor" value="ICU" ></attribute> >+ <attribute name="Implementation-Title" value=" ICU for Java Module" ></attribute> >+ <attribute name="Implementation-Version" value="${jar.impl.version}" ></attribute> >+ <attribute name="Implementation-Vendor" value="${corp}" ></attribute> >+ <attribute name="Implementation-Vendor-Id" value="com.ibm" ></attribute> >+ <attribute name="Copyright-Info" value="${jar.copyright.info}" ></attribute> >+ <attribute name="Sealed" value="false" ></attribute> > </section> > </manifest> > </jar> >- <copy file="${module.jar}" tofile="icu4j.jar"/> >+ <copy file="${module.jar}" tofile="icu4j.jar" ></copy> > </target> > >- <target name="moduleCheck" description="Run tests for a ICU4J module jar"> >- <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true"> >- <arg value="-nodata"/> >- <classpath> >- <pathelement location="${module.jar}"/> >- <pathelement location="${module.tests.dir}"/> >+ <target name="moduleCheck" description="Run tests for a ICU4J module jar" > >+ <java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true" > >+ <arg value="-nodata" ></arg> >+ <classpath > >+ <pathelement location="${module.jar}" ></pathelement> >+ <pathelement location="${module.tests.dir}" ></pathelement> > </classpath> > </java> > </target> > >- <patternset id="common.test.sources"> >- <include name="com/ibm/icu/dev/test/TestFmwk.java"/> >- <include name="com/ibm/icu/dev/test/TestLog.java"/> >- <include name="com/ibm/icu/dev/test/TestUtil.java"/> >- <include name="com/ibm/icu/dev/test/UTF16Util.java"/> >- <include name="com/ibm/icu/dev/test/TestAll.java"/> >- <include name="com/ibm/icu/dev/test/TestAllCore.java"/> >+ <patternset id="common.test.sources" > >+ <include name="com/ibm/icu/dev/test/TestFmwk.java" ></include> >+ <include name="com/ibm/icu/dev/test/TestLog.java" ></include> >+ <include name="com/ibm/icu/dev/test/TestUtil.java" ></include> >+ <include name="com/ibm/icu/dev/test/UTF16Util.java" ></include> >+ <include name="com/ibm/icu/dev/test/TestAll.java" ></include> >+ <include name="com/ibm/icu/dev/test/TestAllCore.java" ></include> > </patternset> > >- <!-- Break Iterator --> >- <target name="breakIterator" depends="_copyFullPropsData" description="Modular build of break iterator services"> >- <mkdir dir="${module.bin.dir}"/> >- <javac srcdir="${icu4j.core.dir}/src" >- destdir="${module.bin.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <include name="com/ibm/icu/impl/UCharacterName.java"/> >- <include name="com/ibm/icu/impl/data/*Break*.java"/> >- <include name="com/ibm/icu/lang/**/*.java"/> >- <include name="com/ibm/icu/text/*BreakIterator*.java"/> >- <include name="com/ibm/icu/text/UnicodeSetIterator.java"/> >- </javac> >- </target> >- >- <target name="breakIteratorTests" depends="breakIterator" description="Modular build of break iterator test suite"> >- <mkdir dir="${module.tests.dir}"/> >- <javac destdir="${module.tests.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- classpath="${module.bin.dir}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.test-framework.dir}/src"/> >- <src path="${icu4j.core-tests.dir}/src"/> >- <src path="${icu4j.testall.dir}/src"/> >- >- <patternset refid="common.test.sources"/> >- <include name="com/ibm/icu/dev/test/rbbi/**/*.java"/> >- </javac> >- >- <copy file="${icu4j.core-tests.dir}/src/com/ibm/icu/dev/test/rbbi/rbbitst.txt" >- todir="${module.tests.dir}/com/ibm/icu/dev/test/rbbi"/> >- </target> >- >- <!-- Calendar --> >- <target name="calendar" description="Modular build of calendar services"> >- <mkdir dir="${module.bin.dir}"/> >- <javac srcdir="${icu4j.core.dir}/src" >- destdir="${module.bin.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <include name="com/ibm/icu/impl/data/*Holiday*.java"/> >- <include name="com/ibm/icu/impl/TimeZoneNames*.java"/> >- <include name="com/ibm/icu/lang/UCharacter.java"/> >- <include name="com/ibm/icu/text/UnicodeSetIterator.java"/> >- <include name="com/ibm/icu/text/NumberFormatServiceShim.java"/> >- <include name="com/ibm/icu/util/*Calendar*.java"/> >- </javac> >- >- <!-- Calendar does not require Collation data, BreakIterator data --> >- <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}"> >- <patternset> >- <include name="**/pnames.icu" /> >- <include name="**/ucase.icu" /> >- <include name="**/unorm.icu" /> >- <include name="**/uprops.icu" /> >- <include name="**/unames.icu" /> >- <include name="**/*.res" /> >- <exclude name="**/coll/*.res" /> >- <exclude name="**/translit/*.res" /> >+ >+ <target name="breakIterator" depends="_copyFullPropsData" description="Modular build of break iterator services" > >+ <mkdir dir="${module.bin.dir}" ></mkdir> >+ <javac srcdir="${icu4j.core.dir}/src" destdir="${module.bin.dir}" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <include name="com/ibm/icu/impl/UCharacterName.java" ></include> >+ <include name="com/ibm/icu/impl/data/*Break*.java" ></include> >+ <include name="com/ibm/icu/lang/**/*.java" ></include> >+ <include name="com/ibm/icu/text/*BreakIterator*.java" ></include> >+ <include name="com/ibm/icu/text/UnicodeSetIterator.java" ></include> >+ </javac> >+ </target> >+ >+ <target name="breakIteratorTests" depends="breakIterator" description="Modular build of break iterator test suite" > >+ <mkdir dir="${module.tests.dir}" ></mkdir> >+ <javac destdir="${module.tests.dir}" encoding="${java.src.encoding}" classpath="${module.bin.dir}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.test-framework.dir}/src" ></src> >+ <src path="${icu4j.core-tests.dir}/src" ></src> >+ <src path="${icu4j.testall.dir}/src" ></src> >+ >+ <patternset refid="common.test.sources" ></patternset> >+ <include name="com/ibm/icu/dev/test/rbbi/**/*.java" ></include> >+ </javac> >+ >+ <copy file="${icu4j.core-tests.dir}/src/com/ibm/icu/dev/test/rbbi/rbbitst.txt" todir="${module.tests.dir}/com/ibm/icu/dev/test/rbbi" ></copy> >+ </target> >+ >+ >+ <target name="calendar" description="Modular build of calendar services" > >+ <mkdir dir="${module.bin.dir}" ></mkdir> >+ <javac srcdir="${icu4j.core.dir}/src" destdir="${module.bin.dir}" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <include name="com/ibm/icu/impl/data/*Holiday*.java" ></include> >+ <include name="com/ibm/icu/impl/TimeZoneNames*.java" ></include> >+ <include name="com/ibm/icu/lang/UCharacter.java" ></include> >+ <include name="com/ibm/icu/text/UnicodeSetIterator.java" ></include> >+ <include name="com/ibm/icu/text/NumberFormatServiceShim.java" ></include> >+ <include name="com/ibm/icu/util/*Calendar*.java" ></include> >+ </javac> >+ >+ >+ <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}" > >+ <patternset > >+ <include name="**/pnames.icu" ></include> >+ <include name="**/ucase.icu" ></include> >+ <include name="**/unorm.icu" ></include> >+ <include name="**/uprops.icu" ></include> >+ <include name="**/unames.icu" ></include> >+ <include name="**/*.res" ></include> >+ <exclude name="**/coll/*.res" ></exclude> >+ <exclude name="**/translit/*.res" ></exclude> > </patternset> > </unjar> >- <unjar src="${icu4j.tzdata.jar}" dest="${module.bin.dir}"> >- <patternset> >- <include name="**/*.res" /> >+ <unjar src="${icu4j.tzdata.jar}" dest="${module.bin.dir}" > >+ <patternset > >+ <include name="**/*.res" ></include> > </patternset> > </unjar> > </target> > >- <target name="calendarTests" depends="calendar" description="Modular build of calendar test suite"> >- <mkdir dir="${module.tests.dir}"/> >- <javac destdir="${module.tests.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- classpath="${module.bin.dir}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.test-framework.dir}/src"/> >- <src path="${icu4j.core-tests.dir}/src"/> >- <src path="${icu4j.testall.dir}/src"/> >- >- <patternset refid="common.test.sources"/> >- <include name="com/ibm/icu/dev/test/calendar/**/*.java" /> >- </javac> >- >- <unjar src="${icu4j.testdata.jar}" dest="${module.tests.dir}"> >- <patternset> >- <include name="**/calendar.res"/> >+ <target name="calendarTests" depends="calendar" description="Modular build of calendar test suite" > >+ <mkdir dir="${module.tests.dir}" ></mkdir> >+ <javac destdir="${module.tests.dir}" encoding="${java.src.encoding}" classpath="${module.bin.dir}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.test-framework.dir}/src" ></src> >+ <src path="${icu4j.core-tests.dir}/src" ></src> >+ <src path="${icu4j.testall.dir}/src" ></src> >+ >+ <patternset refid="common.test.sources" ></patternset> >+ <include name="com/ibm/icu/dev/test/calendar/**/*.java" ></include> >+ </javac> >+ >+ <unjar src="${icu4j.testdata.jar}" dest="${module.tests.dir}" > >+ <patternset > >+ <include name="**/calendar.res" ></include> > </patternset> > </unjar> > </target> > >- <!-- Collator --> >- <!-- this module will soon be obsolete, use the collate jar --> >- <target name="collator" description="Modular build of collator services"> >- <mkdir dir="${module.bin.dir}"/> >- <javac destdir="${module.bin.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.collate.dir}/src"/> >- >- <include name="com/ibm/icu/impl/coll/*.java"/> >- <include name="com/ibm/icu/impl/data/*Break*.java"/> >- <include name="com/ibm/icu/text/*BreakIterator*.java"/> >- <include name="com/ibm/icu/text/*Collation*.java"/> >- <include name="com/ibm/icu/text/*Collator*.java"/> >- <include name="com/ibm/icu/text/Normalizer.java"/> >- <include name="com/ibm/icu/text/Replaceable.java"/> >- <include name="com/ibm/icu/text/ReplaceableString.java"/> >- <include name="com/ibm/icu/text/UnicodeFilter.java"/> >- <include name="com/ibm/icu/text/UnicodeSetIterator.java"/> >- <include name="com/ibm/icu/text/UTF16.java"/> >- </javac> >- >- <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}"> >- <patternset> >- <include name="**/*.icu"/> >- <include name="**/coll/*.res"/> >- <include name="**/*.brk"/> >- <include name="**/*.nrm"/> >- <include name="**/icudt${icu4j.data.version}b/res_index.res"/> >- <include name="**/keyTypeData.res"/> >+ >+ >+ <target name="collator" description="Modular build of collator services" > >+ <mkdir dir="${module.bin.dir}" ></mkdir> >+ <javac destdir="${module.bin.dir}" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.collate.dir}/src" ></src> >+ >+ <include name="com/ibm/icu/impl/coll/*.java" ></include> >+ <include name="com/ibm/icu/impl/data/*Break*.java" ></include> >+ <include name="com/ibm/icu/text/*BreakIterator*.java" ></include> >+ <include name="com/ibm/icu/text/*Collation*.java" ></include> >+ <include name="com/ibm/icu/text/*Collator*.java" ></include> >+ <include name="com/ibm/icu/text/Normalizer.java" ></include> >+ <include name="com/ibm/icu/text/Replaceable.java" ></include> >+ <include name="com/ibm/icu/text/ReplaceableString.java" ></include> >+ <include name="com/ibm/icu/text/UnicodeFilter.java" ></include> >+ <include name="com/ibm/icu/text/UnicodeSetIterator.java" ></include> >+ <include name="com/ibm/icu/text/UTF16.java" ></include> >+ </javac> >+ >+ <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}" > >+ <patternset > >+ <include name="**/*.icu" ></include> >+ <include name="**/coll/*.res" ></include> >+ <include name="**/*.brk" ></include> >+ <include name="**/*.nrm" ></include> >+ <include name="**/icudt${icu4j.data.version}b/res_index.res" ></include> >+ <include name="**/keyTypeData.res" ></include> > </patternset> > </unjar> > </target> > >- <target name="collatorTests" depends="collator" description="Modular build of collator test suite"> >- <mkdir dir="${module.tests.dir}"/> >- <javac destdir="${module.tests.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- classpath="${module.bin.dir}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.test-framework.dir}/src"/> >- <src path="${icu4j.collate-tests.dir}/src"/> >- <src path="${icu4j.testall.dir}/src"/> >- >- <patternset refid="common.test.sources"/> >- <include name="com/ibm/icu/dev/test/TestAllCollate.java"/> >- <include name="com/ibm/icu/dev/test/collator/**/*.java"/> >- <include name="java,com/ibm/icu/dev/test/search/**/*.java"/> >- <exclude name="com/ibm/icu/dev/test/collator/AlphabeticIndexTest.java"/> >- <exclude name="com/ibm/icu/dev/test/collator/RandomCollator.java"/> >- <exclude name="com/ibm/icu/dev/test/collator/IndexCharactersTest.java"/> >- </javac> >- >- <copy todir="${module.tests.dir}"> >- <fileset dir="${icu4j.collate-tests.dir}/src"> >- <include name="com/ibm/icu/dev/data/*.txt"/> >+ <target name="collatorTests" depends="collator" description="Modular build of collator test suite" > >+ <mkdir dir="${module.tests.dir}" ></mkdir> >+ <javac destdir="${module.tests.dir}" encoding="${java.src.encoding}" classpath="${module.bin.dir}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.test-framework.dir}/src" ></src> >+ <src path="${icu4j.collate-tests.dir}/src" ></src> >+ <src path="${icu4j.testall.dir}/src" ></src> >+ >+ <patternset refid="common.test.sources" ></patternset> >+ <include name="com/ibm/icu/dev/test/TestAllCollate.java" ></include> >+ <include name="com/ibm/icu/dev/test/collator/**/*.java" ></include> >+ <include name="java,com/ibm/icu/dev/test/search/**/*.java" ></include> >+ <exclude name="com/ibm/icu/dev/test/collator/AlphabeticIndexTest.java" ></exclude> >+ <exclude name="com/ibm/icu/dev/test/collator/RandomCollator.java" ></exclude> >+ <exclude name="com/ibm/icu/dev/test/collator/IndexCharactersTest.java" ></exclude> >+ </javac> >+ >+ <copy todir="${module.tests.dir}" > >+ <fileset dir="${icu4j.collate-tests.dir}/src" > >+ <include name="com/ibm/icu/dev/data/*.txt" ></include> > </fileset> > </copy> > </target> > >- <!-- Compression --> >- <target name="compression" description="Modular build of compression services"> >- <mkdir dir="${module.bin.dir}"/> >- <javac srcdir="${icu4j.core.dir}/src" >- destdir="${module.bin.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <include name="com/ibm/icu/text/SCSU.java"/> >- <include name="com/ibm/icu/text/UnicodeCompressor.java"/> >- <include name="com/ibm/icu/text/UnicodeDecompressor.java"/> >- </javac> >- </target> >- >- <target name="compressionTests" depends="compression" description="Modular build of compression test suite"> >- <mkdir dir="${module.tests.dir}"/> >- <javac destdir="${module.tests.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- classpath="${module.bin.dir}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.test-framework.dir}/src"/> >- <src path="${icu4j.core-tests.dir}/src"/> >- <src path="${icu4j.testall.dir}/src"/> >- >- <patternset refid="common.test.sources"/> >- <include name="com/ibm/icu/dev/test/compression/**/*.java"/> >- </javac> >- </target> >- >- <!-- Format --> >- <target name="format" description="Modular build of format services"> >- <mkdir dir="${module.bin.dir}"/> >- <javac srcdir="${icu4j.core.dir}/src" >- destdir="${module.bin.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <include name="com/ibm/icu/impl/LocaleDisplayNamesImpl.java"/> >- <include name="com/ibm/icu/impl/TimeZoneNames*.java"/> >- <include name="com/ibm/icu/lang/UCharacter.java"/> >- <include name="com/ibm/icu/text/BreakIteratorFactory.java"/> >- <include name="com/ibm/icu/text/*Collator*.java"/> >- <include name="com/ibm/icu/text/*Format*.java"/> >- <include name="com/ibm/icu/text/UnicodeSetIterator.java"/> >- <include name="com/ibm/icu/util/CalendarServiceShim.java"/> >- </javac> >- >- <javac srcdir="${icu4j.regiondata.dir}/src" >- destdir="${module.bin.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"/> >- >- <javac srcdir="${icu4j.currdata.dir}/src" >- destdir="${module.bin.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"/> >- >- <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}"> >- <patternset> >- <include name="**/*.icu"/> >- <include name="**/*.brk"/> >- <include name="**/*.res"/> >- <exclude name="**/translit/*.res"/> >+ >+ <target name="compression" description="Modular build of compression services" > >+ <mkdir dir="${module.bin.dir}" ></mkdir> >+ <javac srcdir="${icu4j.core.dir}/src" destdir="${module.bin.dir}" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <include name="com/ibm/icu/text/SCSU.java" ></include> >+ <include name="com/ibm/icu/text/UnicodeCompressor.java" ></include> >+ <include name="com/ibm/icu/text/UnicodeDecompressor.java" ></include> >+ </javac> >+ </target> >+ >+ <target name="compressionTests" depends="compression" description="Modular build of compression test suite" > >+ <mkdir dir="${module.tests.dir}" ></mkdir> >+ <javac destdir="${module.tests.dir}" encoding="${java.src.encoding}" classpath="${module.bin.dir}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.test-framework.dir}/src" ></src> >+ <src path="${icu4j.core-tests.dir}/src" ></src> >+ <src path="${icu4j.testall.dir}/src" ></src> >+ >+ <patternset refid="common.test.sources" ></patternset> >+ <include name="com/ibm/icu/dev/test/compression/**/*.java" ></include> >+ </javac> >+ </target> >+ >+ >+ <target name="format" description="Modular build of format services" > >+ <mkdir dir="${module.bin.dir}" ></mkdir> >+ <javac srcdir="${icu4j.core.dir}/src" destdir="${module.bin.dir}" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <include name="com/ibm/icu/impl/LocaleDisplayNamesImpl.java" ></include> >+ <include name="com/ibm/icu/impl/TimeZoneNames*.java" ></include> >+ <include name="com/ibm/icu/lang/UCharacter.java" ></include> >+ <include name="com/ibm/icu/text/BreakIteratorFactory.java" ></include> >+ <include name="com/ibm/icu/text/*Collator*.java" ></include> >+ <include name="com/ibm/icu/text/*Format*.java" ></include> >+ <include name="com/ibm/icu/text/UnicodeSetIterator.java" ></include> >+ <include name="com/ibm/icu/util/CalendarServiceShim.java" ></include> >+ </javac> >+ >+ <javac srcdir="${icu4j.regiondata.dir}/src" destdir="${module.bin.dir}" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" ></javac> >+ >+ <javac srcdir="${icu4j.currdata.dir}/src" destdir="${module.bin.dir}" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" ></javac> >+ >+ <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}" > >+ <patternset > >+ <include name="**/*.icu" ></include> >+ <include name="**/*.brk" ></include> >+ <include name="**/*.res" ></include> >+ <exclude name="**/translit/*.res" ></exclude> > </patternset> > </unjar> >- <unjar src="${icu4j.tzdata.jar}" dest="${module.bin.dir}"> >- <patternset> >- <include name="**/*.res" /> >+ <unjar src="${icu4j.tzdata.jar}" dest="${module.bin.dir}" > >+ <patternset > >+ <include name="**/*.res" ></include> > </patternset> > </unjar> > </target> > >- <target name="formatTests" depends="format" description="Modular build of format test suite"> >- <mkdir dir="${module.tests.dir}"/> >- <javac destdir="${module.tests.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- classpath="${module.bin.dir}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.test-framework.dir}/src"/> >- <src path="${icu4j.core-tests.dir}/src"/> >- <src path="${icu4j.testall.dir}/src"/> >- >- <patternset refid="common.test.sources"/> >- <include name="com/ibm/icu/dev/test/format/**/*.java"/> >- <exclude name="com/ibm/icu/dev/test/format/GlobalizationPreferencesTest.java"/> >- </javac> >- >- <unjar src="${icu4j.testdata.jar}" dest="${module.tests.dir}"> >- <patternset> >- <include name="**/format.res"/> >+ <target name="formatTests" depends="format" description="Modular build of format test suite" > >+ <mkdir dir="${module.tests.dir}" ></mkdir> >+ <javac destdir="${module.tests.dir}" encoding="${java.src.encoding}" classpath="${module.bin.dir}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.test-framework.dir}/src" ></src> >+ <src path="${icu4j.core-tests.dir}/src" ></src> >+ <src path="${icu4j.testall.dir}/src" ></src> >+ >+ <patternset refid="common.test.sources" ></patternset> >+ <include name="com/ibm/icu/dev/test/format/**/*.java" ></include> >+ <exclude name="com/ibm/icu/dev/test/format/GlobalizationPreferencesTest.java" ></exclude> >+ </javac> >+ >+ <unjar src="${icu4j.testdata.jar}" dest="${module.tests.dir}" > >+ <patternset > >+ <include name="**/format.res" ></include> > </patternset> > </unjar> > >- <copy file="${icu4j.core-tests.dir}/src/com/ibm/icu/dev/test/format/NumberFormatTestCases.txt" >- todir="${module.tests.dir}/com/ibm/icu/dev/test/format"/> >+ <copy file="${icu4j.core-tests.dir}/src/com/ibm/icu/dev/test/format/NumberFormatTestCases.txt" todir="${module.tests.dir}/com/ibm/icu/dev/test/format" ></copy> > >- <copy file="${icu4j.core-tests.dir}/src/com/ibm/icu/dev/data/numberformattestspecification.txt" >- todir="${module.tests.dir}/com/ibm/icu/dev/data"/> >+ <copy file="${icu4j.core-tests.dir}/src/com/ibm/icu/dev/data/numberformattestspecification.txt" todir="${module.tests.dir}/com/ibm/icu/dev/data" ></copy> > > </target> > >- <!-- Normalizer --> >- <target name="normalizer" description="Modular build of normalizer services"> >- <mkdir dir="${module.bin.dir}"/> >- <javac srcdir="${icu4j.core.dir}/src" >- destdir="${module.bin.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <include name="com/ibm/icu/lang/**/*"/> >- <include name="com/ibm/icu/text/CanonicalIterator.java"/> >- <include name="com/ibm/icu/text/Normalizer.java"/> >- <include name="com/ibm/icu/text/Replaceable.java"/> >- <include name="com/ibm/icu/text/ReplaceableString.java"/> >- <include name="com/ibm/icu/text/UCharacterIterator.java"/> >- <include name="com/ibm/icu/text/UForwardCharacterIterator.java"/> >- <include name="com/ibm/icu/text/UnicodeFilter.java"/> >- <include name="com/ibm/icu/text/UnicodeSetIterator.java"/> >- <include name="com/ibm/icu/text/UTF16.java"/> >- </javac> >- >- <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}"> >- <patternset> >- <include name="**/ubidi.icu"/> >- <include name="**/ucase.icu"/> >- <include name="**/unorm.icu"/> >- <include name="**/uprops.icu"/> >- <include name="**/pnames.icu"/> >- <include name="**/unames.icu"/> >- <include name="**/*.nrm"/> >+ >+ <target name="normalizer" description="Modular build of normalizer services" > >+ <mkdir dir="${module.bin.dir}" ></mkdir> >+ <javac srcdir="${icu4j.core.dir}/src" destdir="${module.bin.dir}" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <include name="com/ibm/icu/lang/**/*" ></include> >+ <include name="com/ibm/icu/text/CanonicalIterator.java" ></include> >+ <include name="com/ibm/icu/text/Normalizer.java" ></include> >+ <include name="com/ibm/icu/text/Replaceable.java" ></include> >+ <include name="com/ibm/icu/text/ReplaceableString.java" ></include> >+ <include name="com/ibm/icu/text/UCharacterIterator.java" ></include> >+ <include name="com/ibm/icu/text/UForwardCharacterIterator.java" ></include> >+ <include name="com/ibm/icu/text/UnicodeFilter.java" ></include> >+ <include name="com/ibm/icu/text/UnicodeSetIterator.java" ></include> >+ <include name="com/ibm/icu/text/UTF16.java" ></include> >+ </javac> >+ >+ <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}" > >+ <patternset > >+ <include name="**/ubidi.icu" ></include> >+ <include name="**/ucase.icu" ></include> >+ <include name="**/unorm.icu" ></include> >+ <include name="**/uprops.icu" ></include> >+ <include name="**/pnames.icu" ></include> >+ <include name="**/unames.icu" ></include> >+ <include name="**/*.nrm" ></include> > </patternset> > </unjar> > </target> > >- <target name="normalizerTests" depends="normalizer" description="Modular build of normalizer test suite"> >- <mkdir dir="${module.tests.dir}"/> >- <javac destdir="${module.tests.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- classpath="${module.bin.dir}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.test-framework.dir}/src"/> >- <src path="${icu4j.core-tests.dir}/src"/> >- <src path="${icu4j.testall.dir}/src"/> >- >- <patternset refid="common.test.sources"/> >- <include name="com/ibm/icu/dev/test/normalizer/**/*.java"/> >- <exclude name="com/ibm/icu/dev/test/normalizer/TestDeprecatedNormalizerAPI.java"/> >- </javac> >- >- <copy todir="${module.tests.dir}"> >- <fileset dir="${icu4j.core-tests.dir}/src"> >- <include name="com/ibm/icu/dev/data/unicode/*.txt"/> >+ <target name="normalizerTests" depends="normalizer" description="Modular build of normalizer test suite" > >+ <mkdir dir="${module.tests.dir}" ></mkdir> >+ <javac destdir="${module.tests.dir}" encoding="${java.src.encoding}" classpath="${module.bin.dir}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.test-framework.dir}/src" ></src> >+ <src path="${icu4j.core-tests.dir}/src" ></src> >+ <src path="${icu4j.testall.dir}/src" ></src> >+ >+ <patternset refid="common.test.sources" ></patternset> >+ <include name="com/ibm/icu/dev/test/normalizer/**/*.java" ></include> >+ <exclude name="com/ibm/icu/dev/test/normalizer/TestDeprecatedNormalizerAPI.java" ></exclude> >+ </javac> >+ >+ <copy todir="${module.tests.dir}" > >+ <fileset dir="${icu4j.core-tests.dir}/src" > >+ <include name="com/ibm/icu/dev/data/unicode/*.txt" ></include> > </fileset> > </copy> > >- <unjar src="${icu4j.testdata.jar}" dest="${module.tests.dir}"> >- <patternset> >- <include name="**/testnorm.nrm"/> >+ <unjar src="${icu4j.testdata.jar}" dest="${module.tests.dir}" > >+ <patternset > >+ <include name="**/testnorm.nrm" ></include> > </patternset> > </unjar> > > </target> > >- <!-- Character Properties --> >- <target name="_copyBasicPropsData"> >- <mkdir dir="${module.bin.dir}"/> >- <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}"> >- <patternset> >- <include name="**/unorm.icu"/> >- <include name="**/uprops.icu"/> >- <include name="**/ubidi.icu"/> >- <include name="**/ucase.icu"/> >- <include name="**/pnames.icu"/> >- <include name="**/unames.icu"/> >- <include name="**/*.nrm"/> >+ >+ <target name="_copyBasicPropsData" > >+ <mkdir dir="${module.bin.dir}" ></mkdir> >+ <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}" > >+ <patternset > >+ <include name="**/unorm.icu" ></include> >+ <include name="**/uprops.icu" ></include> >+ <include name="**/ubidi.icu" ></include> >+ <include name="**/ucase.icu" ></include> >+ <include name="**/pnames.icu" ></include> >+ <include name="**/unames.icu" ></include> >+ <include name="**/*.nrm" ></include> > </patternset> > </unjar> > </target> > >- <target name="_copyFullPropsData"> >- <mkdir dir="${module.bin.dir}"/> >- <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}"> >- <patternset> >- <include name="**/unorm.icu"/> >- <include name="**/uprops.icu"/> >- <include name="**/ubidi.icu"/> >- <include name="**/ucase.icu"/> >- <include name="**/unames.icu"/> >- <include name="**/pnames.icu"/> >- <include name="**/*.res"/> >- <include name="**/*.brk"/> >- <include name="**/*.dict"/> >- <include name="**/*.nrm"/> >- <exclude name="**/coll/*.res"/> >- <exclude name="**/translit/*.res"/> >- <exclude name="**/rbnf/*.res"/> >+ <target name="_copyFullPropsData" > >+ <mkdir dir="${module.bin.dir}" ></mkdir> >+ <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}" > >+ <patternset > >+ <include name="**/unorm.icu" ></include> >+ <include name="**/uprops.icu" ></include> >+ <include name="**/ubidi.icu" ></include> >+ <include name="**/ucase.icu" ></include> >+ <include name="**/unames.icu" ></include> >+ <include name="**/pnames.icu" ></include> >+ <include name="**/*.res" ></include> >+ <include name="**/*.brk" ></include> >+ <include name="**/*.dict" ></include> >+ <include name="**/*.nrm" ></include> >+ <exclude name="**/coll/*.res" ></exclude> >+ <exclude name="**/translit/*.res" ></exclude> >+ <exclude name="**/rbnf/*.res" ></exclude> > </patternset> > </unjar> >- <unjar src="${icu4j.tzdata.jar}" dest="${module.bin.dir}"> >- <patternset> >- <include name="**/*.res" /> >+ <unjar src="${icu4j.tzdata.jar}" dest="${module.bin.dir}" > >+ <patternset > >+ <include name="**/*.res" ></include> > </patternset> > </unjar> > </target> > >- <target name="_propertiesClasses"> >- <mkdir dir="${module.bin.dir}"/> >- <javac srcdir="${icu4j.core.dir}/src" >- destdir="${module.bin.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <include name="com/ibm/icu/impl/data/*Break*.java"/> >- <include name="com/ibm/icu/lang/**/*"/> >- <include name="com/ibm/icu/text/*BreakDictionary*.java"/> >- <include name="com/ibm/icu/text/*BreakIterator*.java"/> >- <include name="com/ibm/icu/text/UnicodeSetIterator.java"/> >+ <target name="_propertiesClasses" > >+ <mkdir dir="${module.bin.dir}" ></mkdir> >+ <javac srcdir="${icu4j.core.dir}/src" destdir="${module.bin.dir}" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <include name="com/ibm/icu/impl/data/*Break*.java" ></include> >+ <include name="com/ibm/icu/lang/**/*" ></include> >+ <include name="com/ibm/icu/text/*BreakDictionary*.java" ></include> >+ <include name="com/ibm/icu/text/*BreakIterator*.java" ></include> >+ <include name="com/ibm/icu/text/UnicodeSetIterator.java" ></include> > </javac> > </target> > >- <target name="_propertiesTests"> >- <mkdir dir="${module.tests.dir}"/> >- <javac destdir="${module.tests.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- classpath="${module.bin.dir}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.test-framework.dir}/src"/> >- <src path="${icu4j.core-tests.dir}/src"/> >- <src path="${icu4j.testall.dir}/src"/> >- >- <patternset refid="common.test.sources"/> >- <include name="com/ibm/icu/dev/test/lang/**/*.java"/> >- <exclude name="com/ibm/icu/dev/test/lang/TestUScriptRun.java"/> >- </javac> >- >- <copy todir="${module.tests.dir}"> >- <fileset dir="${icu4j.core-tests.dir}/src"> >- <include name="com/ibm/icu/dev/data/unicode/SpecialCasing.txt"/> >- <include name="com/ibm/icu/dev/data/unicode/UnicodeData.txt"/> >+ <target name="_propertiesTests" > >+ <mkdir dir="${module.tests.dir}" ></mkdir> >+ <javac destdir="${module.tests.dir}" encoding="${java.src.encoding}" classpath="${module.bin.dir}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.test-framework.dir}/src" ></src> >+ <src path="${icu4j.core-tests.dir}/src" ></src> >+ <src path="${icu4j.testall.dir}/src" ></src> >+ >+ <patternset refid="common.test.sources" ></patternset> >+ <include name="com/ibm/icu/dev/test/lang/**/*.java" ></include> >+ <exclude name="com/ibm/icu/dev/test/lang/TestUScriptRun.java" ></exclude> >+ </javac> >+ >+ <copy todir="${module.tests.dir}" > >+ <fileset dir="${icu4j.core-tests.dir}/src" > >+ <include name="com/ibm/icu/dev/data/unicode/SpecialCasing.txt" ></include> >+ <include name="com/ibm/icu/dev/data/unicode/UnicodeData.txt" ></include> > </fileset> > </copy> > </target> > >- <target name="propertiesBasic" depends="_propertiesClasses, _copyBasicPropsData" description="Modular build of basic character properties"/> >+ <target name="propertiesBasic" depends="_propertiesClasses, _copyBasicPropsData" description="Modular build of basic character properties" ></target> >+ >+ <target name="propertiesBasicTests" depends="propertiesBasic, _propertiesTests" description="Modular build of basic character properties test suite" ></target> > >- <target name="propertiesBasicTests" depends="propertiesBasic, _propertiesTests" description="Modular build of basic character properties test suite"/> >+ <target name="propertiesFull" depends="_propertiesClasses, _copyFullPropsData" description="Modular build of full character properties" ></target> > >- <target name="propertiesFull" depends="_propertiesClasses, _copyFullPropsData" description="Modular build of full character properties"/> >+ <target name="propertiesFullTests" depends="propertiesFull, _propertiesTests" description="Modular build of full character properties test suite" ></target> > >- <target name="propertiesFullTests" depends="propertiesFull, _propertiesTests" description="Modular build of full character properties test suite"/> > >- <!-- Transliterator --> >- <!-- this module will soon be obsolete, use the translit jar --> >- <target name="transliterator" depends="_propertiesClasses" description="Modular build of transliterator services"> >- <mkdir dir="${module.bin.dir}"/> >- <javac destdir="${module.bin.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.translit.dir}/src"/> >- >- <include name="com/ibm/icu/impl/*Iterator*.java"/> >- <include name="com/ibm/icu/impl/*Property*.java"/> >- <include name="com/ibm/icu/impl/data/ResourceReader.java"/> >- <include name="com/ibm/icu/impl/UtilityExtensions.java"/> >- <include name="com/ibm/icu/text/*Transliterator*.java"/> >- <include name="com/ibm/icu/text/UnicodeSetIterator.java"/> >- <include name="com/ibm/icu/text/BreakIteratorFactory.java"/> >- </javac> >- >- <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}"> >- <patternset> >- <include name="**/unorm.icu"/> >- <include name="**/uprops.icu"/> >- <include name="**/ubidi.icu"/> >- <include name="**/ucase.icu"/> >- <include name="**/unames.icu"/> >- <include name="**/pnames.icu"/> >- <include name="**/*.brk"/> >- <include name="**/*.dict"/> >- <include name="**/*.nrm"/> >- <include name="**/brkitr/*.res"/> >- <include name="**/translit/*.res"/> >- <include name="**/likelySubtags.res"/> >+ >+ <target name="transliterator" depends="_propertiesClasses" description="Modular build of transliterator services" > >+ <mkdir dir="${module.bin.dir}" ></mkdir> >+ <javac destdir="${module.bin.dir}" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.translit.dir}/src" ></src> >+ >+ <include name="com/ibm/icu/impl/*Iterator*.java" ></include> >+ <include name="com/ibm/icu/impl/*Property*.java" ></include> >+ <include name="com/ibm/icu/impl/data/ResourceReader.java" ></include> >+ <include name="com/ibm/icu/impl/UtilityExtensions.java" ></include> >+ <include name="com/ibm/icu/text/*Transliterator*.java" ></include> >+ <include name="com/ibm/icu/text/UnicodeSetIterator.java" ></include> >+ <include name="com/ibm/icu/text/BreakIteratorFactory.java" ></include> >+ </javac> >+ >+ <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}" > >+ <patternset > >+ <include name="**/unorm.icu" ></include> >+ <include name="**/uprops.icu" ></include> >+ <include name="**/ubidi.icu" ></include> >+ <include name="**/ucase.icu" ></include> >+ <include name="**/unames.icu" ></include> >+ <include name="**/pnames.icu" ></include> >+ <include name="**/*.brk" ></include> >+ <include name="**/*.dict" ></include> >+ <include name="**/*.nrm" ></include> >+ <include name="**/brkitr/*.res" ></include> >+ <include name="**/translit/*.res" ></include> >+ <include name="**/likelySubtags.res" ></include> > </patternset> > </unjar> > </target> > >- <target name="transliteratorTests" depends="transliterator" description="Modular build of transliterator test suite"> >- <mkdir dir="${module.tests.dir}"/> >- <javac destdir="${module.tests.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- classpath="${module.bin.dir}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.test-framework.dir}/src"/> >- <src path="${icu4j.translit-tests.dir}/src"/> >- <src path="${icu4j.testall.dir}/src"/> >- >- <patternset refid="common.test.sources"/> >- <include name="com/ibm/icu/dev/test/TestAllTranslit.java"/> >- <include name="com/ibm/icu/dev/test/translit/**/*.java"/> >- <exclude name="com/ibm/icu/dev/test/translit/UnicodeFilterLogic*.java"/> >- </javac> >- >- <copy file="${icu4j.translit-tests.dir}/src/com/ibm/icu/dev/test/translit/langtagRegex.txt" >- todir="${module.tests.dir}/com/ibm/icu/dev/test/translit"/> >- </target> >- >- <!-- StringPrep --> >- <target name="stringPrep" depends="normalizer" description="Modular build of stringprep services"> >- <mkdir dir="${module.bin.dir}"/> >- <javac srcdir="${icu4j.core.dir}/src" >- destdir="${module.bin.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- debug="on" deprecation="off"> >- <include name="com/ibm/icu/impl/*StringPrep*.java"/> >- <include name="com/ibm/icu/text/*IDNA*.java"/> >- <include name="com/ibm/icu/text/*StringPrep*.java"/> >- </javac> >- >- <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}"> >- <patternset> >- <include name="**/*.spp"/> >- <include name="**/ubidi.icu"/> >- <include name="**/ucase.icu"/> >- <include name="**/unorm.icu"/> >- <include name="**/uprops.icu"/> >- <include name="**/pnames.icu"/> >- <include name="**/unames.icu"/> >+ <target name="transliteratorTests" depends="transliterator" description="Modular build of transliterator test suite" > >+ <mkdir dir="${module.tests.dir}" ></mkdir> >+ <javac destdir="${module.tests.dir}" encoding="${java.src.encoding}" classpath="${module.bin.dir}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.test-framework.dir}/src" ></src> >+ <src path="${icu4j.translit-tests.dir}/src" ></src> >+ <src path="${icu4j.testall.dir}/src" ></src> >+ >+ <patternset refid="common.test.sources" ></patternset> >+ <include name="com/ibm/icu/dev/test/TestAllTranslit.java" ></include> >+ <include name="com/ibm/icu/dev/test/translit/**/*.java" ></include> >+ <exclude name="com/ibm/icu/dev/test/translit/UnicodeFilterLogic*.java" ></exclude> >+ </javac> >+ >+ <copy file="${icu4j.translit-tests.dir}/src/com/ibm/icu/dev/test/translit/langtagRegex.txt" todir="${module.tests.dir}/com/ibm/icu/dev/test/translit" ></copy> >+ </target> >+ >+ >+ <target name="stringPrep" depends="normalizer" description="Modular build of stringprep services" > >+ <mkdir dir="${module.bin.dir}" ></mkdir> >+ <javac srcdir="${icu4j.core.dir}/src" destdir="${module.bin.dir}" encoding="${java.src.encoding}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <include name="com/ibm/icu/impl/*StringPrep*.java" ></include> >+ <include name="com/ibm/icu/text/*IDNA*.java" ></include> >+ <include name="com/ibm/icu/text/*StringPrep*.java" ></include> >+ </javac> >+ >+ <unjar src="${icu4j.data.jar}" dest="${module.bin.dir}" > >+ <patternset > >+ <include name="**/*.spp" ></include> >+ <include name="**/ubidi.icu" ></include> >+ <include name="**/ucase.icu" ></include> >+ <include name="**/unorm.icu" ></include> >+ <include name="**/uprops.icu" ></include> >+ <include name="**/pnames.icu" ></include> >+ <include name="**/unames.icu" ></include> > </patternset> > </unjar> > </target> > >- <target name="stringPrepTests" depends="stringPrep" description="Modular build of stringprep test suite"> >- <mkdir dir="${module.tests.dir}"/> >- <javac destdir="${module.tests.dir}" >- source="${javac.source}" >- target="${javac.target}" >- encoding="${java.src.encoding}" >- classpath="${module.bin.dir}" >- debug="on" deprecation="off"> >- <src path="${icu4j.core.dir}/src"/> >- <src path="${icu4j.test-framework.dir}/src"/> >- <src path="${icu4j.core-tests.dir}/src"/> >- <src path="${icu4j.testall.dir}/src"/> >- >- <patternset refid="common.test.sources"/> >- <include name="com/ibm/icu/dev/test/stringprep/**/*.java"/> >- </javac> >- >- <unjar src="${icu4j.testdata.jar}" dest="${module.tests.dir}"> >- <patternset> >- <include name="**/*.spp"/> >- <include name="**/idna_rules.res"/> >+ <target name="stringPrepTests" depends="stringPrep" description="Modular build of stringprep test suite" > >+ <mkdir dir="${module.tests.dir}" ></mkdir> >+ <javac destdir="${module.tests.dir}" encoding="${java.src.encoding}" classpath="${module.bin.dir}" debug="on" deprecation="off" source="1.6" target="1.6" nowarn="yes" > >+ <src path="${icu4j.core.dir}/src" ></src> >+ <src path="${icu4j.test-framework.dir}/src" ></src> >+ <src path="${icu4j.core-tests.dir}/src" ></src> >+ <src path="${icu4j.testall.dir}/src" ></src> >+ >+ <patternset refid="common.test.sources" ></patternset> >+ <include name="com/ibm/icu/dev/test/stringprep/**/*.java" ></include> >+ </javac> >+ >+ <unjar src="${icu4j.testdata.jar}" dest="${module.tests.dir}" > >+ <patternset > >+ <include name="**/*.spp" ></include> >+ <include name="**/idna_rules.res" ></include> > </patternset> > </unjar> > >- <copy file="${icu4j.core-tests.dir}/src/com/ibm/icu/dev/data/IDNATestInput.txt" >- todir="${module.tests.dir}/com/ibm/icu/dev/data"/> >+ <copy file="${icu4j.core-tests.dir}/src/com/ibm/icu/dev/data/IDNATestInput.txt" todir="${module.tests.dir}/com/ibm/icu/dev/data" ></copy> > </target> > >- <target name="publishToMavenRepo" depends="releaseVer"> >- <!-- >- Publish libraries to Maven repositories, snapshot or release depending on current >- version in pom.xml. >- >- Prerequisites >- >- 1) Apache Maven Ant tasks - http://maven.apache.org/ant-tasks >- 2) GnuPG >- 3) Put build-local.properties to specify followings >- >- maven-ant-tasks.jar = [location of maven ant tasks jar file] >- gpg.user = ICU Project >- gpg.passphrase = [passprase for ICU Project's PGP key] >- >- 4) Maven configuration file ~/.m2/settings.xml >- <settings> >- <servers> >- <server> >- <id>icu4j-releases</id> >- <username>[your JIRA/Nexus ID]</username> >- <password>[your JIRA/Nexus password]</password> >- </server> >- <server> >- <id>icu4j-snapshots</id> >- <username>[your JIRA/Nexus ID]</username> >- <password>[your JIRA/Nexus password]</password> >- </server> >- </servers> >- </settings> >- >- Note: For now, charset.jar and localespi.jar are excluded. >- --> >- <fail message="Maven Ant Tasks are required to publish libraries. Set maven-ant-tasks.jar property. Maven Ant Tasks URL: http://maven.apache.org/ant-tasks/" unless="maven-ant-tasks.jar"/> >- <condition property="no_maven-ant-tasks"> >- <available file="${maven-ant-tasks.jar}"/> >+ <target name="publishToMavenRepo" depends="releaseVer" > >+ >+ <fail message="Maven Ant Tasks are required to publish libraries. Set maven-ant-tasks.jar property. Maven Ant Tasks URL: http://maven.apache.org/ant-tasks/" unless="maven-ant-tasks.jar" ></fail> >+ <condition property="no_maven-ant-tasks" > >+ <available file="${maven-ant-tasks.jar}" ></available> > </condition> >- <fail message="Maven Ant Tasks not found at ${maven-ant-tasks.jar}" unless="no_maven-ant-tasks"/> >+ <fail message="Maven Ant Tasks not found at ${maven-ant-tasks.jar}" unless="no_maven-ant-tasks" ></fail> >+ >+ <path id="maven-ant-tasks.classpath" path="${maven-ant-tasks.jar}" ></path> >+ <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant" classpathref="maven-ant-tasks.classpath" ></typedef> >+ >+ <xmlproperty file="pom.xml" prefix="pom.xml" ></xmlproperty> >+ >+ >+ <property name="maven.release.dir" value="${release.dir}/maven" ></property> >+ >+ <property name="maven.icu4j.jar.versioned.file" value="icu4j-${pom.xml.project.version}.jar" ></property> >+ <property name="maven.icu4j-src.jar.versioned.file" value="icu4j-${pom.xml.project.version}-src.jar" ></property> >+ <property name="maven.icu4jdocs.jar.file" value="icu4j-${pom.xml.project.version}-javadoc.jar" ></property> >+ >+ <mkdir dir="${maven.release.dir}" ></mkdir> >+ >+ <copy file="${release.dir}/${icu4j.jar.versioned.file}" tofile="${maven.release.dir}/${maven.icu4j.jar.versioned.file}" ></copy> >+ <copy file="${release.dir}/${icu4j-src.jar.versioned.file}" tofile="${maven.release.dir}/${maven.icu4j-src.jar.versioned.file}" ></copy> >+ <copy file="${release.dir}/${icu4jdocs.jar.versioned.file}" tofile="${maven.release.dir}/${maven.icu4jdocs.jar.file}" ></copy> >+ >+ <copy file="pom.xml" todir="${maven.release.dir}" ></copy> >+ > >- <path id="maven-ant-tasks.classpath" path="${maven-ant-tasks.jar}"/> >- <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant" >- classpathref="maven-ant-tasks.classpath"/> >- >- <xmlproperty file="pom.xml" prefix="pom.xml"/> >- >- <!-- copy release files --> >- <property name="maven.release.dir" value="${release.dir}/maven"/> >- >- <property name="maven.icu4j.jar.versioned.file" value="icu4j-${pom.xml.project.version}.jar"/> >- <property name="maven.icu4j-src.jar.versioned.file" value="icu4j-${pom.xml.project.version}-src.jar"/> >- <property name="maven.icu4jdocs.jar.file" value="icu4j-${pom.xml.project.version}-javadoc.jar"/> >- >- <mkdir dir="${maven.release.dir}"/> >- >- <copy file="${release.dir}/${icu4j.jar.versioned.file}" tofile="${maven.release.dir}/${maven.icu4j.jar.versioned.file}"/> >- <copy file="${release.dir}/${icu4j-src.jar.versioned.file}" tofile="${maven.release.dir}/${maven.icu4j-src.jar.versioned.file}"/> >- <copy file="${release.dir}/${icu4jdocs.jar.versioned.file}" tofile="${maven.release.dir}/${maven.icu4jdocs.jar.file}"/> >- >- <copy file="pom.xml" todir="${maven.release.dir}"/> >- >- <!-- sign release files--> >- <macrodef name="gpg"> >- <attribute name="file"/> >- <sequential> >- <delete file="@{file}.asc" failonerror="false"/> >- <exec executable="gpg"> >- <arg value="-u"/> >- <arg value="${gpg.user}"/> >- <arg value="-ab"/> >- <arg value="--passphrase"/> >- <arg value="${gpg.passphrase}"/> >- <arg value="-o"/> >- <arg value="@{file}.asc"/> >- <arg value="@{file}"/> >+ <macrodef name="gpg" > >+ <attribute name="file" ></attribute> >+ <sequential > >+ <delete file="@{file}.asc" failonerror="false" ></delete> >+ <exec executable="gpg" > >+ <arg value="-u" ></arg> >+ <arg value="${gpg.user}" ></arg> >+ <arg value="-ab" ></arg> >+ <arg value="--passphrase" ></arg> >+ <arg value="${gpg.passphrase}" ></arg> >+ <arg value="-o" ></arg> >+ <arg value="@{file}.asc" ></arg> >+ <arg value="@{file}" ></arg> > </exec> > </sequential> > </macrodef> > >- <gpg file="${maven.release.dir}/${maven.icu4j.jar.versioned.file}"/> >- <gpg file="${maven.release.dir}/${maven.icu4j-src.jar.versioned.file}"/> >- <gpg file="${maven.release.dir}/${maven.icu4jdocs.jar.file}"/> >- >- <gpg file="${maven.release.dir}/pom.xml"/> >- >- <!-- deploy files to the repository --> >- <deploy xmlns="urn:maven-artifact-ant" file="${maven.release.dir}/${maven.icu4j.jar.versioned.file}"> >- <pom file="${maven.release.dir}/pom.xml"/> >- <attach file="${maven.release.dir}/pom.xml.asc" type="pom.asc"/> >- >- <attach file="${maven.release.dir}/${maven.icu4j.jar.versioned.file}.asc" type="jar.asc"/> >- <attach file="${maven.release.dir}/${maven.icu4j-src.jar.versioned.file}" classifier="sources"/> >- <attach file="${maven.release.dir}/${maven.icu4j-src.jar.versioned.file}.asc" classifier="sources" type="jar.asc"/> >- <attach file="${maven.release.dir}/${maven.icu4jdocs.jar.file}" classifier="javadoc"/> >- <attach file="${maven.release.dir}/${maven.icu4jdocs.jar.file}.asc" classifier="javadoc" type="jar.asc"/> >+ <gpg file="${maven.release.dir}/${maven.icu4j.jar.versioned.file}" ></gpg> >+ <gpg file="${maven.release.dir}/${maven.icu4j-src.jar.versioned.file}" ></gpg> >+ <gpg file="${maven.release.dir}/${maven.icu4jdocs.jar.file}" ></gpg> >+ >+ <gpg file="${maven.release.dir}/pom.xml" ></gpg> >+ >+ >+ <deploy xmlns="urn:maven-artifact-ant" file="${maven.release.dir}/${maven.icu4j.jar.versioned.file}" > >+ <pom file="${maven.release.dir}/pom.xml" ></pom> >+ <attach file="${maven.release.dir}/pom.xml.asc" type="pom.asc" ></attach> >+ >+ <attach file="${maven.release.dir}/${maven.icu4j.jar.versioned.file}.asc" type="jar.asc" ></attach> >+ <attach file="${maven.release.dir}/${maven.icu4j-src.jar.versioned.file}" classifier="sources" ></attach> >+ <attach file="${maven.release.dir}/${maven.icu4j-src.jar.versioned.file}.asc" classifier="sources" type="jar.asc" ></attach> >+ <attach file="${maven.release.dir}/${maven.icu4jdocs.jar.file}" classifier="javadoc" ></attach> >+ <attach file="${maven.release.dir}/${maven.icu4jdocs.jar.file}.asc" classifier="javadoc" type="jar.asc" ></attach> > </deploy> > >- <antcall target="_verify_config_for_release"/> >+ <antcall target="_verify_config_for_release" ></antcall> > </target> > > </project> >--- ./tools/misc/build.xml.orig 2021-05-02 22:54:49.011935189 +0200 >+++ ./tools/misc/build.xml 2021-05-02 22:54:49.341927856 +0200 >@@ -1,31 +1,26 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2011, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="tools" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="tools" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > </project> >--- ./tools/build/build.xml.orig 2021-05-02 22:54:49.018935033 +0200 >+++ ./tools/build/build.xml 2021-05-02 22:54:49.342927834 +0200 >@@ -1,55 +1,50 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2015, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="build-tools" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- >- <!-- before importing common-targets.xml --> >- <condition property="alt.src.dir" value="out/tmp-src8"> >- <equals arg1="${ant.java.version}" arg2="1.8"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="build-tools" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ >+ >+ <condition property="alt.src.dir" value="out/tmp-src8" > >+ <equals arg1="${ant.java.version}" arg2="1.8" ></equals> > </condition> > >- <condition property="src.dir" value="${alt.src.dir}"> >- <isset property="alt.src.dir"/> >+ <condition property="src.dir" value="${alt.src.dir}" > >+ <isset property="alt.src.dir" ></isset> > </condition> > >- <import file="${shared.dir}/build/common-targets.xml"/> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> >+ >+ <target name="build" depends="compile, copy, jar" description="Build the project" ></target> > >- <target name="build" depends="compile, copy, jar" description="Build the project"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="compile" depends="copy-src-jdk8, @compile" description="Compile java source files" ></target> > >- <target name="compile" depends="copy-src-jdk8, @compile" description="Compile java source files"/> >+ <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="src-jar" depends="copy-src-jdk8, @src-jar" description="Create the project's source jar file" ></target> > >- <target name="src-jar" depends="copy-src-jdk8, @src-jar" description="Create the project's source jar file"/> > >- <!-- Override a source file for supporting JDK 8 JavaDoc --> >- <target name="copy-src-jdk8" if="alt.src.dir"> >- <echo message="Building ICU4J build tools with JDK8 tools..."/> >- <mkdir dir="${alt.src.dir}"/> >- <!-- copy all files under 'src' --> >- <copy todir="${alt.src.dir}"> >- <fileset dir="src"/> >+ <target name="copy-src-jdk8" if="alt.src.dir" > >+ <echo message="Building ICU4J build tools with JDK8 tools..." ></echo> >+ <mkdir dir="${alt.src.dir}" ></mkdir> >+ >+ <copy todir="${alt.src.dir}" > >+ <fileset dir="src" ></fileset> > </copy> >- <!-- overwrite jdk8 specific source file --> >- <copy todir="${alt.src.dir}" overwrite="yes"> >- <fileset dir="src8"/> >+ >+ <copy todir="${alt.src.dir}" overwrite="yes" > >+ <fileset dir="src8" ></fileset> > </copy> > </target> > </project> >--- ./samples/build.xml.orig 2021-05-02 22:54:49.026934855 +0200 >+++ ./samples/build.xml 2021-05-02 22:54:49.343927812 +0200 >@@ -1,86 +1,81 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2011-2014, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="samples" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="samples" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >- >- <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory"/> >- >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >- >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >- >- <target name="rebuild-iuc-data" description="Rebuild IUC sample data"> >- <!-- package to build into --> >- <property name="iuc.package" value="com/ibm/icu/samples/iuc" /> >- <!-- output location --> >- <property name="iuc.dataoutdir" value="src/${iuc.package}/data" /> >- <!-- tmp location --> >- <property name="iuc.tmp" value="out/tmp" /> >- <property name="iuc.res.src" value="c" /> >- <!-- property for the root dir of our messages. --> >- <fail unless="iuc.res.src" message="Please set -Diuc.res.src=/path/ where /path/ is a checkout of http://source.icu-project.org/repos/icu/icuapps/trunk/icufacts/c" /> >- <!-- properties for the two packages we will be building. --> >- <property name="iuc.res.reshello" value="reshello" /> >- <property name="iuc.res.popmsg" value="popmsg" /> >- <!-- paths for these two packages --> >- <property name="iuc.res.reshello.path" value="${iuc.res.src}/s30_reshello/${iuc.res.reshello}" /> >- <property name="iuc.res.popmsg.path" value="${iuc.res.src}/s40_popmsg/${iuc.res.popmsg}" /> >- <property name="iuc.bldicures" value="${iuc.res.src}/bldicures.py" /> >- <!-- <available file="${iuc.bldicures}" type="file" property="iuc.bldicures.present" /> --> >- <fail unless="iuc.bldicures" message="Please set -Diuc.bldicures=/path/bldicures.py - which you can get from <http://source.icu-project.org/repos/icu/tools/trunk/scripts/bldicures.py>" /> >- <mkdir dir="${iuc.tmp}" /> >- <!-- make reshello --> >- <delete dir="${iuc.tmp}/${iuc.res.reshello}" /> <!-- clean up --> >- <exec executable="${iuc.bldicures}"> >- <arg value="-v" /> >- <arg value="--endian" /> >- <arg value="big" /> >- <arg value="--mode" /> >- <arg value="files" /> >- <arg value="--from" /> >- <arg value="${iuc.res.reshello.path}" /> >- <arg value="--dest" /> >- <arg value="${iuc.tmp}/${iuc.res.reshello}" /> >- <arg value="--name" /> >- <arg value="${iuc.res.reshello}" /> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> >+ >+ <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory" ></target> >+ >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> >+ >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> >+ >+ <target name="rebuild-iuc-data" description="Rebuild IUC sample data" > >+ >+ <property name="iuc.package" value="com/ibm/icu/samples/iuc" ></property> >+ >+ <property name="iuc.dataoutdir" value="src/${iuc.package}/data" ></property> >+ >+ <property name="iuc.tmp" value="out/tmp" ></property> >+ <property name="iuc.res.src" value="c" ></property> >+ >+ <fail unless="iuc.res.src" message="Please set -Diuc.res.src=/path/ where /path/ is a checkout of http://source.icu-project.org/repos/icu/icuapps/trunk/icufacts/c" ></fail> >+ >+ <property name="iuc.res.reshello" value="reshello" ></property> >+ <property name="iuc.res.popmsg" value="popmsg" ></property> >+ >+ <property name="iuc.res.reshello.path" value="${iuc.res.src}/s30_reshello/${iuc.res.reshello}" ></property> >+ <property name="iuc.res.popmsg.path" value="${iuc.res.src}/s40_popmsg/${iuc.res.popmsg}" ></property> >+ <property name="iuc.bldicures" value="${iuc.res.src}/bldicures.py" ></property> >+ >+ <fail unless="iuc.bldicures" message="Please set -Diuc.bldicures=/path/bldicures.py - which you can get from <http://source.icu-project.org/repos/icu/tools/trunk/scripts/bldicures.py>" ></fail> >+ <mkdir dir="${iuc.tmp}" ></mkdir> >+ >+ <delete dir="${iuc.tmp}/${iuc.res.reshello}" ></delete> >+ <exec executable="${iuc.bldicures}" > >+ <arg value="-v" ></arg> >+ <arg value="--endian" ></arg> >+ <arg value="big" ></arg> >+ <arg value="--mode" ></arg> >+ <arg value="files" ></arg> >+ <arg value="--from" ></arg> >+ <arg value="${iuc.res.reshello.path}" ></arg> >+ <arg value="--dest" ></arg> >+ <arg value="${iuc.tmp}/${iuc.res.reshello}" ></arg> >+ <arg value="--name" ></arg> >+ <arg value="${iuc.res.reshello}" ></arg> > </exec> >- <move file="${iuc.tmp}/${iuc.res.reshello}/${iuc.res.reshello}" todir="${iuc.dataoutdir}/" /> >- <!-- make popmsg --> >- <delete dir="${iuc.tmp}/${iuc.res.popmsg}" /> <!-- clean up --> >- <exec executable="${iuc.bldicures}"> >- <arg value="-v" /> >- <arg value="--endian" /> >- <arg value="big" /> >- <arg value="--mode" /> >- <arg value="files" /> >- <arg value="--from" /> >- <arg value="${iuc.res.popmsg.path}" /> >- <arg value="--dest" /> >- <arg value="${iuc.tmp}/${iuc.res.popmsg}" /> >- <arg value="--name" /> >- <arg value="${iuc.res.popmsg}" /> >+ <move file="${iuc.tmp}/${iuc.res.reshello}/${iuc.res.reshello}" todir="${iuc.dataoutdir}/" ></move> >+ >+ <delete dir="${iuc.tmp}/${iuc.res.popmsg}" ></delete> >+ <exec executable="${iuc.bldicures}" > >+ <arg value="-v" ></arg> >+ <arg value="--endian" ></arg> >+ <arg value="big" ></arg> >+ <arg value="--mode" ></arg> >+ <arg value="files" ></arg> >+ <arg value="--from" ></arg> >+ <arg value="${iuc.res.popmsg.path}" ></arg> >+ <arg value="--dest" ></arg> >+ <arg value="${iuc.tmp}/${iuc.res.popmsg}" ></arg> >+ <arg value="--name" ></arg> >+ <arg value="${iuc.res.popmsg}" ></arg> > </exec> >- <move file="${iuc.tmp}/${iuc.res.popmsg}/${iuc.res.popmsg}" todir="${iuc.dataoutdir}/" /> >- <delete dir="${iuc.tmp}" /> <!-- clean up --> >+ <move file="${iuc.tmp}/${iuc.res.popmsg}/${iuc.res.popmsg}" todir="${iuc.dataoutdir}/" ></move> >+ <delete dir="${iuc.tmp}" ></delete> > </target> > </project> >--- ./perf-tests/build.xml.orig 2021-05-02 22:54:49.034934678 +0200 >+++ ./perf-tests/build.xml 2021-05-02 22:54:49.344927790 +0200 >@@ -1,38 +1,33 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2012-2014, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="perf-tests" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="perf-tests" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, src-jar, jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, src-jar, jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="continuous-build" description="Run performance tests for continuous build"> >- <property name="perl" value="perl"/> >- <exec executable="${perl}"> >- <arg value="perftests.pl"/> >+ <target name="continuous-build" description="Run performance tests for continuous build" > >+ <property name="perl" value="perl" ></property> >+ <exec executable="${perl}" > >+ <arg value="perftests.pl" ></arg> > </exec> > </target> > </project> >--- ./main/tests/translit/build.xml.orig 2021-05-02 22:54:49.042934500 +0200 >+++ ./main/tests/translit/build.xml 2021-05-02 22:54:49.345927767 +0200 >@@ -1,38 +1,33 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2011, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="translit-tests" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="translit-tests" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy, copy-translit-test-data" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy, copy-translit-test-data" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="copy-translit-test-data" description="Extract pre-built ICU collation test data files and copy them to the project's binary directory"> >- <copy todir="${bin.dir}"> >- <fileset dir="${icu4j.translit-tests.dir}/src"> >- <include name="com/ibm/icu/dev/test/translit/langtagRegex.txt"/> >+ <target name="copy-translit-test-data" description="Extract pre-built ICU collation test data files and copy them to the project's binary directory" > >+ <copy todir="${bin.dir}" > >+ <fileset dir="${icu4j.translit-tests.dir}/src" > >+ <include name="com/ibm/icu/dev/test/translit/langtagRegex.txt" ></include> > </fileset> > </copy> > </target> >--- ./main/tests/testall/build.xml.orig 2021-05-02 22:54:49.050934322 +0200 >+++ ./main/tests/testall/build.xml 2021-05-02 22:54:49.345927767 +0200 >@@ -1,31 +1,26 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2013, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="testall" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="testall" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > </project> >--- ./main/tests/packaging/build.xml.orig 2021-05-02 22:54:49.061934078 +0200 >+++ ./main/tests/packaging/build.xml 2021-05-02 22:54:49.346927745 +0200 >@@ -1,31 +1,26 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2011, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="packaging-tests" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="packaging-tests" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > </project> >--- ./main/tests/localespi/build.xml.orig 2021-05-02 22:54:49.075933767 +0200 >+++ ./main/tests/localespi/build.xml 2021-05-02 22:54:49.346927745 +0200 >@@ -1,31 +1,26 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2011, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="localespi-tests" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="localespi-tests" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > </project> >--- ./main/tests/framework/build.xml.orig 2021-05-02 22:54:49.085933544 +0200 >+++ ./main/tests/framework/build.xml 2021-05-02 22:54:49.347927723 +0200 >@@ -1,31 +1,26 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2011, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="test-framework" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="test-framework" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > </project> >--- ./main/tests/core/build.xml.orig 2021-05-02 22:54:49.094933344 +0200 >+++ ./main/tests/core/build.xml 2021-05-02 22:54:49.347927723 +0200 >@@ -1,39 +1,34 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2011, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="core-tests" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="core-tests" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy, copy-test-data" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy, copy-test-data" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="copy-test-data" description="Extract pre-built ICU core test data files and copy them to the project's binary directory"> >- <unjar src="${icu4j.testdata.jar}" dest="${bin.dir}"> >- <patternset> >- <exclude name="**/*.cnv"/> >- <exclude name="**/conversion.res"/> >+ <target name="copy-test-data" description="Extract pre-built ICU core test data files and copy them to the project's binary directory" > >+ <unjar src="${icu4j.testdata.jar}" dest="${bin.dir}" > >+ <patternset > >+ <exclude name="**/*.cnv" ></exclude> >+ <exclude name="**/conversion.res" ></exclude> > </patternset> > </unjar> > </target> >--- ./main/tests/collate/build.xml.orig 2021-05-02 22:54:49.105933100 +0200 >+++ ./main/tests/collate/build.xml 2021-05-02 22:54:49.348927701 +0200 >@@ -1,45 +1,40 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2014, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="collate-tests" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="collate-tests" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy, copy-collate-test-data" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy, copy-collate-test-data" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="copy-collate-test-data" description="Extract pre-built ICU collation test data files and copy them to the project's binary directory"> >- <unjar src="${icu4j.testdata.jar}" dest="${bin.dir}"> >- <patternset> >- <include name="**/DataDrivenCollationTest.res"/> >+ <target name="copy-collate-test-data" description="Extract pre-built ICU collation test data files and copy them to the project's binary directory" > >+ <unjar src="${icu4j.testdata.jar}" dest="${bin.dir}" > >+ <patternset > >+ <include name="**/DataDrivenCollationTest.res" ></include> > </patternset> > </unjar> >- <copy todir="${bin.dir}"> >- <fileset dir="${icu4j.collate-tests.dir}/src"> >- <include name="com/ibm/icu/dev/data/collationtest.txt"/> >- <include name="com/ibm/icu/dev/data/CollationTest_*.txt"/> >- <include name="com/ibm/icu/dev/data/riwords.txt"/> >+ <copy todir="${bin.dir}" > >+ <fileset dir="${icu4j.collate-tests.dir}/src" > >+ <include name="com/ibm/icu/dev/data/collationtest.txt" ></include> >+ <include name="com/ibm/icu/dev/data/CollationTest_*.txt" ></include> >+ <include name="com/ibm/icu/dev/data/riwords.txt" ></include> > </fileset> > </copy> > </target> >--- ./main/tests/charset/build.xml.orig 2021-05-02 22:54:49.117932833 +0200 >+++ ./main/tests/charset/build.xml 2021-05-02 22:54:49.349927679 +0200 >@@ -1,39 +1,34 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2011, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="charset-tests" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="charset-tests" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy, copy-charset-test-data" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy, copy-charset-test-data" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="copy-charset-test-data" description="Extract pre-built ICU charset test data files and copy them to the project's binary directory"> >- <unjar src="${icu4j.testdata.jar}" dest="${bin.dir}"> >- <patternset> >- <include name="**/*.cnv"/> >- <include name="**/conversion.res"/> >+ <target name="copy-charset-test-data" description="Extract pre-built ICU charset test data files and copy them to the project's binary directory" > >+ <unjar src="${icu4j.testdata.jar}" dest="${bin.dir}" > >+ <patternset > >+ <include name="**/*.cnv" ></include> >+ <include name="**/conversion.res" ></include> > </patternset> > </unjar> > </target> >--- ./main/shared/build/common-targets.xml.orig 2021-05-02 22:54:49.126932634 +0200 >+++ ./main/shared/build/common-targets.xml 2021-05-02 22:54:49.352927612 +0200 >@@ -1,398 +1,375 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2014, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="common-targets" basedir="."> >- <dirname property="common-targets.dir" file="${ant.file.common-targets}"/> >- <property file="${common-targets.dir}/locations.properties"/> >- >- <!-- global (top-level) propeties - need locations.properties loaded first --> >- <property file="${global.build-local.properties}"/> >- <property file="${global.build.properties}"/> >- >- <property file="${common-targets.dir}/common.properties"/> >- <property environment="env"/> >- >- <!-- common targets --> >- >- <target name="@clean"> >- <delete dir="${out.dir}"/> >- </target> >- >- <target name="@compile"> >- <echo message="build-local: ${global.build-local.properties}"/> >- <echo message="${java5.bootclasspath}"/> >- <!-- set java5/6 bootclasspath to empty if not set --> >- <property name="java5.bootclasspath" value=""/> >- <property name="java6.bootclasspath" value=""/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="common-targets" basedir="." > >+ <dirname property="common-targets.dir" file="${ant.file.common-targets}" ></dirname> >+ <property file="${common-targets.dir}/locations.properties" ></property> > >- <condition property="javac.bootclasspath" value="${java5.bootclasspath}"> >- <equals arg1="${javac.target}" arg2="1.5"/> >+ >+ <property file="${global.build-local.properties}" ></property> >+ <property file="${global.build.properties}" ></property> >+ >+ <property file="${common-targets.dir}/common.properties" ></property> >+ <property environment="env" ></property> >+ >+ >+ >+ <target name="@clean" > >+ <delete dir="${out.dir}" ></delete> >+ </target> >+ >+ <target name="@compile" > >+ <echo message="build-local: ${global.build-local.properties}" ></echo> >+ <echo message="${java5.bootclasspath}" ></echo> >+ >+ <property name="java5.bootclasspath" value="" ></property> >+ <property name="java6.bootclasspath" value="" ></property> >+ >+ <condition property="javac.bootclasspath" value="${java5.bootclasspath}" > >+ <equals arg1="${javac.target}" arg2="1.5" ></equals> > </condition> >- <condition property="javac.bootclasspath" value="${java6.bootclasspath}" else=""> >- <equals arg1="${javac.target}" arg2="1.6"/> >+ <condition property="javac.bootclasspath" value="${java6.bootclasspath}" else="" > >+ <equals arg1="${javac.target}" arg2="1.6" ></equals> > </condition> > >- <echo message="--- java compiler arguments ------------------------"/> >- <echo message="source dir: ${basedir}/${src.dir}"/> >- <echo message="output dir: ${basedir}/${bin.dir}"/> >- <echo message="bootclasspath: ${javac.bootclasspath}"/> >- <echo message="classpath: ${toString:javac.classpathref}"/> >- <echo message="source: ${javac.source}"/> >- <echo message="target: ${javac.target}"/> >- <echo message="debug: ${javac.debug}"/> >- <echo message="encoding: ${java.src.encoding}"/> >- <echo message="compiler arg: ${javac.compilerarg}"/> >- <echo message="----------------------------------------------------"/> >- >- <mkdir dir="${bin.dir}"/> >- <javac >- srcdir="${src.dir}" >- destdir="${bin.dir}" >- bootclasspath="${javac.bootclasspath}" >- classpathref="javac.classpathref" >- source="${javac.source}" >- target="${javac.target}" >- debug="${javac.debug}" >- encoding="${java.src.encoding}" >- includeAntRuntime="no"> >- <compilerarg value="${javac.compilerarg}"/> >+ <echo message="--- java compiler arguments ------------------------" ></echo> >+ <echo message="source dir: ${basedir}/${src.dir}" ></echo> >+ <echo message="output dir: ${basedir}/${bin.dir}" ></echo> >+ <echo message="bootclasspath: ${javac.bootclasspath}" ></echo> >+ <echo message="classpath: ${toString:javac.classpathref}" ></echo> >+ <echo message="source: ${javac.source}" ></echo> >+ <echo message="target: ${javac.target}" ></echo> >+ <echo message="debug: ${javac.debug}" ></echo> >+ <echo message="encoding: ${java.src.encoding}" ></echo> >+ <echo message="compiler arg: ${javac.compilerarg}" ></echo> >+ <echo message="----------------------------------------------------" ></echo> >+ >+ <mkdir dir="${bin.dir}" ></mkdir> >+ <javac srcdir="${src.dir}" destdir="${bin.dir}" bootclasspath="${javac.bootclasspath}" classpathref="javac.classpathref" debug="${javac.debug}" encoding="${java.src.encoding}" includeAntRuntime="no" source="1.6" target="1.6" nowarn="yes" > >+ <compilerarg value="${javac.compilerarg}" ></compilerarg> > </javac> > </target> > >- <target name="@copy"> >- <mkdir dir="${bin.dir}"/> >- <copy todir="${bin.dir}"> >- <fileset dir="${src.dir}" defaultexcludes="yes"> >- <exclude name="**/*.java"/> >+ <target name="@copy" > >+ <mkdir dir="${bin.dir}" ></mkdir> >+ <copy todir="${bin.dir}" > >+ <fileset dir="${src.dir}" defaultexcludes="yes" > >+ <exclude name="**/*.java" ></exclude> > </fileset> > </copy> > </target> > >- <target name="@jar"> >- <mkdir dir="${jar.dir}"/> >+ <target name="@jar" > >+ <mkdir dir="${jar.dir}" ></mkdir> > >- <copy file="manifest.stub" todir="${out.dir}"> >- <filterset> >- <filter token="SPECVERSION" value="${jar.spec.version}"/> >- <filter token="IMPLVERSION" value="${jar.impl.version}"/> >- <filter token="COPYRIGHT" value="${jar.copyright.info}"/> >- <filter token="EXECENV" value="${jar.exec.env}"/> >+ <copy file="manifest.stub" todir="${out.dir}" > >+ <filterset > >+ <filter token="SPECVERSION" value="${jar.spec.version}" ></filter> >+ <filter token="IMPLVERSION" value="${jar.impl.version}" ></filter> >+ <filter token="COPYRIGHT" value="${jar.copyright.info}" ></filter> >+ <filter token="EXECENV" value="${jar.exec.env}" ></filter> > </filterset> > </copy> > >- <jar jarfile="${jar.dir}/${jar.name}" manifest="${out.dir}/manifest.stub" compress="true"> >- <fileset dir="${bin.dir}" includes="**/*"/> >- <fileset dir="${shared.dir}/licenses"> >- <include name="license.html"/> >+ <jar jarfile="${jar.dir}/${jar.name}" manifest="${out.dir}/manifest.stub" compress="true" > >+ <fileset dir="${bin.dir}" includes="**/*" ></fileset> >+ <fileset dir="${shared.dir}/licenses" > >+ <include name="license.html" ></include> > </fileset> > </jar> > </target> > >- <target name="@src-jar"> >- <mkdir dir="${jar.dir}"/> >- <jar jarfile="${jar.dir}/${src.jar.name}" compress="true"> >- <fileset dir="${src.dir}" includes="**/*.java"/> >- <fileset dir="${shared.dir}/licenses"> >- <include name="license.html"/> >+ <target name="@src-jar" > >+ <mkdir dir="${jar.dir}" ></mkdir> >+ <jar jarfile="${jar.dir}/${src.jar.name}" compress="true" > >+ <fileset dir="${src.dir}" includes="**/*.java" ></fileset> >+ <fileset dir="${shared.dir}/licenses" > >+ <include name="license.html" ></include> > </fileset> > </jar> > </target> > >- <target name="@build-all"> >- <antcall target="_all.${ant.project.name}"/> >+ <target name="@build-all" > >+ <antcall target="_all.${ant.project.name}" ></antcall> > </target> > >- <target name="@full-locale-names"> >- <echo message="Generating ${res.dir}/fullLocaleNames.lst"/> >- <pathconvert pathsep="${line.separator}" property="full.locale.names"> >- <fileset dir="${res.dir}"> >- <include name="??.res"/> >- <include name="??_*.res"/> >- <include name="???.res"/> >- <include name="???_*.res"/> >- <include name="root.res"/> >- <exclude name="res_index.res"/> >+ <target name="@full-locale-names" > >+ <echo message="Generating ${res.dir}/fullLocaleNames.lst" ></echo> >+ <pathconvert pathsep="${line.separator}" property="full.locale.names" > >+ <fileset dir="${res.dir}" > >+ <include name="??.res" ></include> >+ <include name="??_*.res" ></include> >+ <include name="???.res" ></include> >+ <include name="???_*.res" ></include> >+ <include name="root.res" ></include> >+ <exclude name="res_index.res" ></exclude> > </fileset> >- <chainedmapper> >- <flattenmapper/> >- <globmapper from="*.res" to="*"/> >+ <chainedmapper > >+ <flattenmapper ></flattenmapper> >+ <globmapper from="*.res" to="*" ></globmapper> > </chainedmapper> > </pathconvert> >- <echo message="${full.locale.names}" file="${res.dir}/fullLocaleNames.lst"/> >+ <echo message="${full.locale.names}" file="${res.dir}/fullLocaleNames.lst" ></echo> > </target> > >- <!-- FindBugs targets --> >- <target name="_findbugs_init"> >- <property name="findbugs.home" value="${env.FINDBUGS_HOME}"/> >- <echo message="----------------------------------------------------"/> >- <echo message="findbugs.home: ${findbugs.home}"/> >- <echo message="----------------------------------------------------"/> >- >- <fail message="FindBugs task not found. Set environment variable FINDBUGS_HOME properly."> >- <condition> >- <not> >- <or> >- <available classname="edu.umd.cs.findbugs.anttask.FindBugsTask" property="_findbugs.task.available" /> >- <available file="${findbugs.home}/lib/findbugs-ant.jar" /> >+ >+ <target name="_findbugs_init" > >+ <property name="findbugs.home" value="${env.FINDBUGS_HOME}" ></property> >+ <echo message="----------------------------------------------------" ></echo> >+ <echo message="findbugs.home: ${findbugs.home}" ></echo> >+ <echo message="----------------------------------------------------" ></echo> >+ >+ <fail message="FindBugs task not found. Set environment variable FINDBUGS_HOME properly." > >+ <condition > >+ <not > >+ <or > >+ <available classname="edu.umd.cs.findbugs.anttask.FindBugsTask" property="_findbugs.task.available" ></available> >+ <available file="${findbugs.home}/lib/findbugs-ant.jar" ></available> > </or> > </not> > </condition> > </fail> >- <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" >- classpath="${findbugs.home}/lib/findbugs-ant.jar"/> >+ <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${findbugs.home}/lib/findbugs-ant.jar" ></taskdef> > >- <property name="aux.classpath" value="${toString:javac.classpathref}"/> >- <condition property="empty.aux.classpath"> >- <length string="${aux.classpath}" when="eq" length="0"/> >+ <property name="aux.classpath" value="${toString:javac.classpathref}" ></property> >+ <condition property="empty.aux.classpath" > >+ <length string="${aux.classpath}" when="eq" length="0" ></length> > </condition> > </target> > >- <target name="_findbugs_empty_aux_classpath" if="empty.aux.classpath"> >- <findbugs >- home="${findbugs.home}" >- output="html" >- outputFile="${out.dir}/fb-${ant.project.name}.html" >- excludeFilter="findbugs-exclude.xml"> >+ <target name="_findbugs_empty_aux_classpath" if="empty.aux.classpath" > >+ <findbugs home="${findbugs.home}" output="html" outputFile="${out.dir}/fb-${ant.project.name}.html" excludeFilter="findbugs-exclude.xml" > > >- <sourcePath path="${src.dir}"/> >- <class location="${jar.dir}/${jar.name}"/> >+ <sourcePath path="${src.dir}" ></sourcePath> >+ <class location="${jar.dir}/${jar.name}" ></class> > </findbugs> > </target> > >- <target name="_findbugs_non_empty_aux_classpath" unless="empty.aux.classpath"> >- <findbugs >- home="${findbugs.home}" >- output="html" >- outputFile="${out.dir}/fb-${ant.project.name}.html" >- excludeFilter="findbugs-exclude.xml"> >- >- <sourcePath path="${src.dir}"/> >- <class location="${jar.dir}/${jar.name}"/> >- <auxClasspath path="${aux.classpath}"/> >+ <target name="_findbugs_non_empty_aux_classpath" unless="empty.aux.classpath" > >+ <findbugs home="${findbugs.home}" output="html" outputFile="${out.dir}/fb-${ant.project.name}.html" excludeFilter="findbugs-exclude.xml" > >+ >+ <sourcePath path="${src.dir}" ></sourcePath> >+ <class location="${jar.dir}/${jar.name}" ></class> >+ <auxClasspath path="${aux.classpath}" ></auxClasspath> > </findbugs> > </target> > >- <target name="@findbugs" depends="_findbugs_init, @build-all, _findbugs_empty_aux_classpath, _findbugs_non_empty_aux_classpath"/> >+ <target name="@findbugs" depends="_findbugs_init, @build-all, _findbugs_empty_aux_classpath, _findbugs_non_empty_aux_classpath" ></target> >+ >+ > >- <!-- Dependencies --> > >- <!-- collate --> >- <path id="javac.classpathref.collate"> >- <pathelement location="${icu4j.core.jar}"/> >+ <path id="javac.classpathref.collate" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> > </path> > >- <target name="_all.collate" depends="_all.core"> >- <ant dir="${icu4j.collate.dir}" inheritAll="false"/> >+ <target name="_all.collate" depends="_all.core" > >+ <ant dir="${icu4j.collate.dir}" inheritAll="false" ></ant> > </target> > >- <!-- core --> >- <path id="javac.classpathref.core"/> > >- <target name="_all.core"> >- <ant dir="${icu4j.core.dir}" inheritAll="false"/> >+ <path id="javac.classpathref.core" ></path> >+ >+ <target name="_all.core" > >+ <ant dir="${icu4j.core.dir}" inheritAll="false" ></ant> > </target> > >- <!-- charset --> >- <path id="javac.classpathref.charset"> >- <pathelement location="${icu4j.core.jar}"/> >+ >+ <path id="javac.classpathref.charset" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> > </path> > >- <target name="_all.charset" depends="_all.core"> >- <ant dir="${icu4j.charset.dir}" inheritAll="false"/> >+ <target name="_all.charset" depends="_all.core" > >+ <ant dir="${icu4j.charset.dir}" inheritAll="false" ></ant> > </target> > >- <!-- currdata --> >- <path id="javac.classpathref.currdata"> >- <pathelement location="${icu4j.core.jar}"/> >+ >+ <path id="javac.classpathref.currdata" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> > </path> > >- <target name="_all.currdata" depends="_all.core"> >- <ant dir="${icu4j.currdata.dir}" inheritAll="false"/> >+ <target name="_all.currdata" depends="_all.core" > >+ <ant dir="${icu4j.currdata.dir}" inheritAll="false" ></ant> > </target> > >- <!-- langdata --> >- <path id="javac.classpathref.langdata"> >- <pathelement location="${icu4j.core.jar}"/> >+ >+ <path id="javac.classpathref.langdata" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> > </path> > >- <target name="_all.langdata" depends="_all.core"> >- <ant dir="${icu4j.langdata.dir}" inheritAll="false"/> >+ <target name="_all.langdata" depends="_all.core" > >+ <ant dir="${icu4j.langdata.dir}" inheritAll="false" ></ant> > </target> > >- <!-- localespi --> >- <path id="javac.classpathref.localespi"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >+ >+ <path id="javac.classpathref.localespi" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> > </path> > >- <target name="_all.localespi" depends="_all.core, _all.collate"> >- <ant dir="${icu4j.localespi.dir}" inheritAll="false"/> >+ <target name="_all.localespi" depends="_all.core, _all.collate" > >+ <ant dir="${icu4j.localespi.dir}" inheritAll="false" ></ant> > </target> > >- <!-- regiondata --> >- <path id="javac.classpathref.regiondata"> >- <pathelement location="${icu4j.core.jar}"/> >+ >+ <path id="javac.classpathref.regiondata" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> > </path> > >- <target name="_all.regiondata" depends="_all.core"> >- <ant dir="${icu4j.regiondata.dir}" inheritAll="false"/> >+ <target name="_all.regiondata" depends="_all.core" > >+ <ant dir="${icu4j.regiondata.dir}" inheritAll="false" ></ant> > </target> > >- <!-- translit --> >- <path id="javac.classpathref.translit"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.translit.jar}"/> >+ >+ <path id="javac.classpathref.translit" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit.jar}" ></pathelement> > </path> > >- <target name="_all.translit" depends="_all.core"> >- <ant dir="${icu4j.translit.dir}" inheritAll="false"/> >+ <target name="_all.translit" depends="_all.core" > >+ <ant dir="${icu4j.translit.dir}" inheritAll="false" ></ant> > </target> > >- <!-- test-framework --> >- <path id="javac.classpathref.test-framework"> >- <pathelement location="${icu4j.core.jar}"/> >+ >+ <path id="javac.classpathref.test-framework" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> > </path> > >- <target name="_all.test-framework" depends="_all.core"> >- <ant dir="${icu4j.test-framework.dir}" inheritAll = "false"/> >+ <target name="_all.test-framework" depends="_all.core" > >+ <ant dir="${icu4j.test-framework.dir}" inheritAll="false" ></ant> > </target> > >- <!-- core-tests --> >- <path id="javac.classpathref.core-tests"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >+ >+ <path id="javac.classpathref.core-tests" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> > </path> > >- <target name="_all.core-tests" depends="_all.core, _all.test-framework"> >- <ant dir="${icu4j.core-tests.dir}" inheritAll="false"/> >+ <target name="_all.core-tests" depends="_all.core, _all.test-framework" > >+ <ant dir="${icu4j.core-tests.dir}" inheritAll="false" ></ant> > </target> > >- <!-- collate-tests --> >- <path id="javac.classpathref.collate-tests"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >+ >+ <path id="javac.classpathref.collate-tests" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> > </path> > >- <target name="_all.collate-tests" depends="_all.core, _all.collate, _all.test-framework"> >- <ant dir="${icu4j.collate-tests.dir}" inheritAll="false"/> >+ <target name="_all.collate-tests" depends="_all.core, _all.collate, _all.test-framework" > >+ <ant dir="${icu4j.collate-tests.dir}" inheritAll="false" ></ant> > </target> > >- <!-- charset-tests --> >- <path id="javac.classpathref.charset-tests"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >+ >+ <path id="javac.classpathref.charset-tests" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> > </path> > >- <target name="_all.charset-tests" depends="_all.core, _all.charset, _all.test-framework"> >- <ant dir="${icu4j.charset-tests.dir}" inheritAll="false"/> >+ <target name="_all.charset-tests" depends="_all.core, _all.charset, _all.test-framework" > >+ <ant dir="${icu4j.charset-tests.dir}" inheritAll="false" ></ant> > </target> > >- <!-- localespi-tests --> >- <path id="javac.classpathref.localespi-tests"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >- <pathelement location="${icu4j.localespi.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >+ >+ <path id="javac.classpathref.localespi-tests" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> >+ <pathelement location="${icu4j.localespi.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> > </path> > >- <target name="_all.localespi-tests" depends="_all.core, _all.collate, _all.localespi, _all.test-framework"> >- <ant dir="${icu4j.localespi-tests.dir}" inheritAll="false"/> >+ <target name="_all.localespi-tests" depends="_all.core, _all.collate, _all.localespi, _all.test-framework" > >+ <ant dir="${icu4j.localespi-tests.dir}" inheritAll="false" ></ant> > </target> > >- <!-- packaging-tests --> >- <path id="javac.classpathref.packaging-tests"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >+ >+ <path id="javac.classpathref.packaging-tests" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> > </path> > >- <target name="_all.packaging-tests" depends="_all.core, _all.charset, _all.test-framework"> >- <ant dir="${icu4j.packaging-tests.dir}" inheritAll="false"/> >+ <target name="_all.packaging-tests" depends="_all.core, _all.charset, _all.test-framework" > >+ <ant dir="${icu4j.packaging-tests.dir}" inheritAll="false" ></ant> > </target> > >- <!-- translit-tests --> >- <path id="javac.classpathref.translit-tests"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.translit.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >+ >+ <path id="javac.classpathref.translit-tests" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> > </path> > >- <target name="_all.translit-tests" depends="_all.core, _all.translit, _all.test-framework"> >- <ant dir="${icu4j.translit-tests.dir}" inheritAll="false"/> >+ <target name="_all.translit-tests" depends="_all.core, _all.translit, _all.test-framework" > >+ <ant dir="${icu4j.translit-tests.dir}" inheritAll="false" ></ant> > </target> > >- <!-- testall --> >- <path id="javac.classpathref.testall"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >+ >+ <path id="javac.classpathref.testall" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> > </path> > >- <target name="_all.testall" depends="_all.core, _all.test-framework"> >- <ant dir="${icu4j.testall.dir}" inheritAll="false"/> >+ <target name="_all.testall" depends="_all.core, _all.test-framework" > >+ <ant dir="${icu4j.testall.dir}" inheritAll="false" ></ant> > </target> > > >- <!-- build-tools --> >- <path id="javac.classpathref.build-tools"> >- <pathelement location="${env.JAVA_HOME}/lib/tools.jar"/> >+ >+ <path id="javac.classpathref.build-tools" > >+ <pathelement location="${env.JAVA_HOME}/lib/tools.jar" ></pathelement> > </path> > >- <target name="_all.build-tools"> >- <ant dir="${icu4j.build-tools.dir}" inheritAll="false"/> >+ <target name="_all.build-tools" > >+ <ant dir="${icu4j.build-tools.dir}" inheritAll="false" ></ant> > </target> > >- <!-- tools --> >- <path id="javac.classpathref.tools"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >- <pathelement location="${icu4j.translit.jar}"/> >- <pathelement location="${icu4j.test-framework.jar}"/> >- <pathelement location="${icu4j.core-tests.jar}"/> >- <pathelement location="${icu4j.translit-tests.jar}"/> >+ >+ <path id="javac.classpathref.tools" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit.jar}" ></pathelement> >+ <pathelement location="${icu4j.test-framework.jar}" ></pathelement> >+ <pathelement location="${icu4j.core-tests.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit-tests.jar}" ></pathelement> > </path> > >- <target name="_all.tools" depends="_all.core, _all.collate, _all.translit, _all.test-framework, _all.core-tests, _all.translit-tests"> >- <ant dir="${icu4j.tools.dir}" inheritAll="false"/> >+ <target name="_all.tools" depends="_all.core, _all.collate, _all.translit, _all.test-framework, _all.core-tests, _all.translit-tests" > >+ <ant dir="${icu4j.tools.dir}" inheritAll="false" ></ant> > </target> > >- <!-- demos --> >- <path id="javac.classpathref.demos"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.translit.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >+ >+ <path id="javac.classpathref.demos" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> > </path> > >- <target name="_all.demos" depends="_all.core, _all.translit, _all.charset"> >- <ant dir="${icu4j.demos.dir}" inheritAll="false"/> >+ <target name="_all.demos" depends="_all.core, _all.translit, _all.charset" > >+ <ant dir="${icu4j.demos.dir}" inheritAll="false" ></ant> > </target> > >- <!-- samples --> >- <path id="javac.classpathref.samples"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >- <pathelement location="${icu4j.translit.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >+ >+ <path id="javac.classpathref.samples" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> >+ <pathelement location="${icu4j.translit.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> > </path> > >- <target name="_all.samples" depends="_all.core, _all.collate, _all.translit, _all.charset"> >- <ant dir="${icu4j.samples.dir}" inheritAll="false"/> >+ <target name="_all.samples" depends="_all.core, _all.collate, _all.translit, _all.charset" > >+ <ant dir="${icu4j.samples.dir}" inheritAll="false" ></ant> > </target> > >- <!-- perf --> >- <path id="javac.classpathref.perf-tests"> >- <pathelement location="${icu4j.core.jar}"/> >- <pathelement location="${icu4j.charset.jar}"/> >- <pathelement location="${icu4j.collate.jar}"/> >- <pathelement location="${icu4j.tools.jar}"/> >+ >+ <path id="javac.classpathref.perf-tests" > >+ <pathelement location="${icu4j.core.jar}" ></pathelement> >+ <pathelement location="${icu4j.charset.jar}" ></pathelement> >+ <pathelement location="${icu4j.collate.jar}" ></pathelement> >+ <pathelement location="${icu4j.tools.jar}" ></pathelement> > </path> > >- <target name="_all.perf-tests" depends="_all.core, _all.charset, _all.collate, _all.tools"> >- <ant dir="${icu4j.perf-tests.dir}" inheritAll="false"/> >+ <target name="_all.perf-tests" depends="_all.core, _all.charset, _all.collate, _all.tools" > >+ <ant dir="${icu4j.perf-tests.dir}" inheritAll="false" ></ant> > </target> > > </project> >--- ./main/classes/translit/build.xml.orig 2021-05-02 22:54:49.138932367 +0200 >+++ ./main/classes/translit/build.xml 2021-05-02 22:54:49.353927590 +0200 >@@ -1,43 +1,38 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2015, International Business Machines Corporation and >-* others. All Rights Reserved. >-******************************************************************************* >---> >-<project name="translit" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="translit" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." /> >+ <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." ></target> > >- <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU transliteration data files and copy them to the project's binary directory"> >- <unjar src="${icu4j.data.jar}" dest="${bin.dir}"> >- <patternset includes="${icu4j.data.path}/translit/**"/> >+ <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU transliteration data files and copy them to the project's binary directory" > >+ <unjar src="${icu4j.data.jar}" dest="${bin.dir}" > >+ <patternset includes="${icu4j.data.path}/translit/**" ></patternset> > </unjar> > >- <antcall target="@full-locale-names"> >- <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/translit"/> >+ <antcall target="@full-locale-names" > >+ <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/translit" ></param> > </antcall> > </target> > >--- ./main/classes/regiondata/build.xml.orig 2021-05-02 22:54:49.149932122 +0200 >+++ ./main/classes/regiondata/build.xml 2021-05-02 22:54:49.354927567 +0200 >@@ -1,43 +1,38 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2015, International Business Machines Corporation and >-* others. All Rights Reserved. >-******************************************************************************* >---> >-<project name="regiondata" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="regiondata" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." /> >+ <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." ></target> > >- <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU region data files and copy them to the project's binary directory"> >- <unjar src="${icu4j.data.jar}" dest="${bin.dir}"> >- <patternset includes="${icu4j.data.path}/region/**"/> >+ <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU region data files and copy them to the project's binary directory" > >+ <unjar src="${icu4j.data.jar}" dest="${bin.dir}" > >+ <patternset includes="${icu4j.data.path}/region/**" ></patternset> > </unjar> > >- <antcall target="@full-locale-names"> >- <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/region"/> >+ <antcall target="@full-locale-names" > >+ <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/region" ></param> > </antcall> > </target> > >--- ./main/classes/localespi/build.xml.orig 2021-05-02 22:54:49.161931856 +0200 >+++ ./main/classes/localespi/build.xml 2021-05-02 22:54:49.354927567 +0200 >@@ -1,33 +1,28 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2011, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="localespi" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="localespi" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." /> >+ <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." ></target> > </project> >--- ./main/classes/langdata/build.xml.orig 2021-05-02 22:54:49.173931589 +0200 >+++ ./main/classes/langdata/build.xml 2021-05-02 22:54:49.355927545 +0200 >@@ -1,44 +1,39 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2015, International Business Machines Corporation and >-* others. All Rights Reserved. >-******************************************************************************* >---> >-<project name="langdata" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="langdata" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.file" value="${icu4j.langdata.jar}"/> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.file" value="${icu4j.langdata.jar}" ></property> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." /> >+ <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." ></target> > >- <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU language data files and copy them to the project's binary directory"> >- <unjar src="${icu4j.data.jar}" dest="${bin.dir}"> >- <patternset includes="${icu4j.data.path}/lang/**"/> >+ <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU language data files and copy them to the project's binary directory" > >+ <unjar src="${icu4j.data.jar}" dest="${bin.dir}" > >+ <patternset includes="${icu4j.data.path}/lang/**" ></patternset> > </unjar> > >- <antcall target="@full-locale-names"> >- <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/lang"/> >+ <antcall target="@full-locale-names" > >+ <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/lang" ></param> > </antcall> > </target> > >--- ./main/classes/currdata/build.xml.orig 2021-05-02 22:54:49.185931322 +0200 >+++ ./main/classes/currdata/build.xml 2021-05-02 22:54:49.356927523 +0200 >@@ -1,43 +1,38 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2015, International Business Machines Corporation and >-* others. All Rights Reserved. >-******************************************************************************* >---> >-<project name="currdata" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="currdata" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." /> >+ <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." ></target> > >- <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU currency data files and copy them to the project's binary directory"> >- <unjar src="${icu4j.data.jar}" dest="${bin.dir}"> >- <patternset includes="${icu4j.data.path}/curr/**"/> >+ <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU currency data files and copy them to the project's binary directory" > >+ <unjar src="${icu4j.data.jar}" dest="${bin.dir}" > >+ <patternset includes="${icu4j.data.path}/curr/**" ></patternset> > </unjar> > >- <antcall target="@full-locale-names"> >- <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/curr"/> >+ <antcall target="@full-locale-names" > >+ <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/curr" ></param> > </antcall> > </target> > >--- ./main/classes/core/build.xml.orig 2021-05-02 22:54:49.195931100 +0200 >+++ ./main/classes/core/build.xml 2021-05-02 22:54:49.357927501 +0200 >@@ -1,79 +1,72 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2015, International Business Machines Corporation and >-* others. All Rights Reserved. >-******************************************************************************* >---> >-<project name="core" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="core" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." /> >+ <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." ></target> > >- <target name="copy-data" depends="set-icuconfig-datapath" unless="icu4c.data.path" description="Extract pre-built ICU core data files and copy them to the project's binary directory"> >- <unjar src="${icu4j.data.jar}" dest="${bin.dir}"> >- <patternset> >- <exclude name="META-INF"/> >- <exclude name="META-INF/**/*"/> >- <exclude name="${icu4j.data.path}/coll/**"/> >- <exclude name="${icu4j.data.path}/curr/**"/> >- <exclude name="${icu4j.data.path}/lang/**"/> >- <exclude name="${icu4j.data.path}/region/**"/> >- <exclude name="${icu4j.data.path}/translit/**"/> >- <exclude name="**/*.cnv"/> >- <exclude name="**/cnvalias.icu"/> >+ <target name="copy-data" depends="set-icuconfig-datapath" unless="icu4c.data.path" description="Extract pre-built ICU core data files and copy them to the project's binary directory" > >+ <unjar src="${icu4j.data.jar}" dest="${bin.dir}" > >+ <patternset > >+ <exclude name="META-INF" ></exclude> >+ <exclude name="META-INF/**/*" ></exclude> >+ <exclude name="${icu4j.data.path}/coll/**" ></exclude> >+ <exclude name="${icu4j.data.path}/curr/**" ></exclude> >+ <exclude name="${icu4j.data.path}/lang/**" ></exclude> >+ <exclude name="${icu4j.data.path}/region/**" ></exclude> >+ <exclude name="${icu4j.data.path}/translit/**" ></exclude> >+ <exclude name="**/*.cnv" ></exclude> >+ <exclude name="**/cnvalias.icu" ></exclude> > </patternset> > </unjar> >- <unjar src="${icu4j.tzdata.jar}" dest="${bin.dir}"> >- <patternset> >- <exclude name="META-INF"/> >- <exclude name="META-INF/**/*"/> >+ <unjar src="${icu4j.tzdata.jar}" dest="${bin.dir}" > >+ <patternset > >+ <exclude name="META-INF" ></exclude> >+ <exclude name="META-INF/**/*" ></exclude> > </patternset> > </unjar> > >- <antcall target="@full-locale-names"> >- <param name="res.dir" value="${bin.dir}/${icu4j.data.path}"/> >+ <antcall target="@full-locale-names" > >+ <param name="res.dir" value="${bin.dir}/${icu4j.data.path}" ></param> > </antcall> > >- <antcall target="@full-locale-names"> >- <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/brkitr"/> >+ <antcall target="@full-locale-names" > >+ <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/brkitr" ></param> > </antcall> > >- <antcall target="@full-locale-names"> >- <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/rbnf"/> >+ <antcall target="@full-locale-names" > >+ <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/rbnf" ></param> > </antcall> > >- <antcall target="@full-locale-names"> >- <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/zone"/> >+ <antcall target="@full-locale-names" > >+ <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/zone" ></param> > </antcall> > </target> > >- <target name="set-icuconfig-datapath" if="icu4c.data.path"> >- <propertyfile >- file="${bin.dir}/com/ibm/icu/ICUConfig.properties" >- comment="ICU runtime configuration generated by Ant"> >- <entry key="com.ibm.icu.impl.ICUBinary.dataPath" value="${icu4c.data.path}"/> >+ <target name="set-icuconfig-datapath" if="icu4c.data.path" > >+ <propertyfile file="${bin.dir}/com/ibm/icu/ICUConfig.properties" comment="ICU runtime configuration generated by Ant" > >+ <entry key="com.ibm.icu.impl.ICUBinary.dataPath" value="${icu4c.data.path}" ></entry> > </propertyfile> > </target> > </project> >--- ./main/classes/collate/build.xml.orig 2021-05-02 22:54:49.208930811 +0200 >+++ ./main/classes/collate/build.xml 2021-05-02 22:54:49.357927501 +0200 >@@ -1,43 +1,38 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2015, International Business Machines Corporation and >-* others. All Rights Reserved. >-******************************************************************************* >---> >-<project name="collate" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="collate" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." /> >+ <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." ></target> > >- <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU collation data files and copy them to the project's binary directory"> >- <unjar src="${icu4j.data.jar}" dest="${bin.dir}"> >- <patternset includes="${icu4j.data.path}/coll/**"/> >+ <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU collation data files and copy them to the project's binary directory" > >+ <unjar src="${icu4j.data.jar}" dest="${bin.dir}" > >+ <patternset includes="${icu4j.data.path}/coll/**" ></patternset> > </unjar> > >- <antcall target="@full-locale-names"> >- <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/coll"/> >+ <antcall target="@full-locale-names" > >+ <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/coll" ></param> > </antcall> > </target> > >--- ./main/classes/charset/build.xml.orig 2021-05-02 22:54:49.220930545 +0200 >+++ ./main/classes/charset/build.xml 2021-05-02 22:54:49.358927478 +0200 >@@ -1,41 +1,36 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2015, International Business Machines Corporation and >-* others. All Rights Reserved. >-******************************************************************************* >---> >-<project name="charset" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="charset" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > >- <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." /> >+ <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." ></target> > >- <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU core data files and copy them to the project's binary directory"> >- <unjar src="${icu4j.data.jar}" dest="${bin.dir}"> >- <patternset> >- <include name="**/*.cnv"/> >- <include name="**/cnvalias.icu"/> >+ <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU core data files and copy them to the project's binary directory" > >+ <unjar src="${icu4j.data.jar}" dest="${bin.dir}" > >+ <patternset > >+ <include name="**/*.cnv" ></include> >+ <include name="**/cnvalias.icu" ></include> > </patternset> > </unjar> > </target> >--- ./demos/build.xml.orig 2021-05-02 22:54:49.231930300 +0200 >+++ ./demos/build.xml 2021-05-02 22:54:49.359927456 +0200 >@@ -1,31 +1,26 @@ >-<!-- >-******************************************************************************* >-* Copyright (C) 2009-2011, International Business Machines Corporation and * >-* others. All Rights Reserved. * >-******************************************************************************* >---> >-<project name="demos" default="build" basedir="."> >- <property file="build-local.properties"/> >- <property file="build.properties"/> >- <import file="${shared.dir}/build/common-targets.xml"/> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="demos" default="build" basedir="." > >+ <property file="build-local.properties" ></property> >+ <property file="build.properties" ></property> >+ <import file="${shared.dir}/build/common-targets.xml" ></import> > >- <path id="javac.classpathref"> >- <path refid="javac.classpathref.${ant.project.name}"/> >+ <path id="javac.classpathref" > >+ <path refid="javac.classpathref.${ant.project.name}" ></path> > </path> >- <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> >- <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> >+ <property name="jar.name" value="icu4j-${ant.project.name}.jar" ></property> >+ <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar" ></property> > >- <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> >+ <target name="build" depends="compile, copy, jar, src-jar" description="Build the project" ></target> > >- <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> >+ <target name="build-all" depends="@build-all" description="Build the project including all dependencies" ></target> > >- <target name="clean" depends="@clean" description="Clean up the build outputs"/> >+ <target name="clean" depends="@clean" description="Clean up the build outputs" ></target> > >- <target name="compile" depends="@compile" description="Compile java source files"/> >+ <target name="compile" depends="@compile" description="Compile java source files" ></target> > >- <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory"/> >+ <target name="copy" depends="@copy" description="Copy non-java runtime files to the project's binary directory" ></target> > >- <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> >+ <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file" ></target> > >- <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> >+ <target name="src-jar" depends="@src-jar" description="Create the project's source jar file" ></target> > </project> >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-java/icu4j-56.1/work ... > [32;01m*[0m Disabling all optional ANT_TASKS >ant -Dnoget=true -Dmaven.mode.offline=true -Dbuild.sysclasspath=ignore --execdebug -debug -Dmaven.test.skip=true jar -f build.xml >arg : -debug >quoted_arg: "-debug" >arg : -Dmaven.test.skip=true >quoted_arg: "-Dmaven.test.skip=true" >arg : jar >quoted_arg: "jar" >arg : -f >quoted_arg: "-f" >arg : build.xml >quoted_arg: "build.xml" >Warning: Unable to determine tools.jar location. > If build fails because sun.* classes could not be found, > Make sure you are using a JDK, not JRE as your user/system VM. > and that you have java-config version 2.0.30 or above installed. >exec "/usr/lib64/openjdk-11/bin/java" -classpath "/usr/share/ant/lib/ant-launcher.jar" -Dant.home="/usr/share/ant" -Dant.library.dir="/usr/share/ant/lib" org.apache.tools.ant.launch.Launcher -cp "" "-Dnoget=true" "-Dmaven.mode.offline=true" "-Dbuild.sysclasspath=ignore" "-debug" "-Dmaven.test.skip=true" "jar" "-f" "build.xml" >Apache Ant(TM) version 1.10.9 compiled on April 7 2021 >Buildfile: /var/tmp/portage/dev-java/icu4j-56.1/work/build.xml >Adding reference: ant.PropertyHelper >Detected Java version: 11 in: /usr/lib64/openjdk-11 >Detected OS: Linux >Adding reference: ant.ComponentHelper >Setting ro project property: build.sysclasspath -> ignore >Setting ro project property: maven.test.skip -> true >Setting ro project property: noget -> true >Setting ro project property: maven.mode.offline -> true >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/icu4j-56.1/work/build.xml >Setting ro project property: ant.file.type -> file >Setting ro project property: ant.project.invoked-targets -> jar >Adding reference: ant.projectHelper >Adding reference: ant.parsing.context >Adding reference: ant.targets >parsing buildfile /var/tmp/portage/dev-java/icu4j-56.1/work/build.xml with URI = file:/var/tmp/portage/dev-java/icu4j-56.1/work/build.xml >Setting ro project property: ant.project.name -> icu4j >Adding reference: icu4j >Setting ro project property: ant.project.default-target -> jar >Setting ro project property: ant.file.icu4j -> /var/tmp/portage/dev-java/icu4j-56.1/work/build.xml >Setting ro project property: ant.file.type.icu4j -> file >Project base dir set to: /var/tmp/portage/dev-java/icu4j-56.1/work > +Target: > +Target: info > +Target: clean > +Target: _clean.eclipse-build > +Target: all > +Target: main > +Target: tests > +Target: secure > +Target: check > +Target: exhaustiveCheck > +Target: timeZoneCheck > +Target: jdktzCheck > +Target: _runCheck > +Target: _runTestArgCheck > +Target: runTest > +Target: packagingCheck > +Target: coreCheck > +Target: collateCheck > +Target: translitCheck > +Target: localespiCheck > +Target: _runLocalespiCheck > +Target: secureCheck > +Target: jar > +Target: icu4jJar > +Target: icu4jSrcJar > +Target: icu4jtestsJar > +Target: jarDemos > +Target: _check_config_for_release > +Target: _verify_config_for_release > +Target: releaseVer > +Target: release > +Target: releaseBinaries > +Target: releaseSrcJars > +Target: releaseDocs > +Target: releaseSourceArchiveZip > +Target: releaseSourceArchiveTgz > +Target: findbugs > +Target: core > +Target: collate > +Target: charset > +Target: currdata > +Target: langdata > +Target: localespi > +Target: _build-localespi > +Target: regiondata > +Target: translit > +Target: test-framework > +Target: core-tests > +Target: collate-tests > +Target: charset-tests > +Target: localespi-tests > +Target: _build-localespi-tests > +Target: packaging-tests > +Target: translit-tests > +Target: testall > +Target: demos > +Target: samples > +Target: build-tools > +Target: tools > +Target: perf-tests > +Target: docs > +Target: _checkJCite > +Target: _docsStyleSheet > +Target: _setLintV8 > +Target: _setLintPreV8 > +Target: _docsWithJCite > +Target: _docsWithoutJCite > +Target: coverageJaCoCo > +Target: codeCoverage > +Target: checktags > +Target: gatherapi > +Target: apireport > +Target: gatherapiOld > +Target: apireportOld > +Target: checkDeprecated > +Target: draftAPIs > +Target: swatDeprecated > +Target: swatProvisional > +Target: _runSwatDeprecated > +Target: serialTestData > +Target: translitIMEJar > +Target: indicIMEJar > +Target: cldrUtil > +Target: releaseCLDR > +Target: xliff > +Target: moduleJar > +Target: moduleCheck > +Target: breakIterator > +Target: breakIteratorTests > +Target: calendar > +Target: calendarTests > +Target: collator > +Target: collatorTests > +Target: compression > +Target: compressionTests > +Target: format > +Target: formatTests > +Target: normalizer > +Target: normalizerTests > +Target: _copyBasicPropsData > +Target: _copyFullPropsData > +Target: _propertiesClasses > +Target: _propertiesTests > +Target: propertiesBasic > +Target: propertiesBasicTests > +Target: propertiesFull > +Target: propertiesFullTests > +Target: transliterator > +Target: transliteratorTests > +Target: stringPrep > +Target: stringPrepTests > +Target: publishToMavenRepo >Adding reference: ant.LocalProperties >parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file > [property] Loading /var/tmp/portage/dev-java/icu4j-56.1/work/build-local.properties > [property] Unable to find property file: /var/tmp/portage/dev-java/icu4j-56.1/work/build-local.properties > [property] Loading /var/tmp/portage/dev-java/icu4j-56.1/work/build.properties >Setting project property: api.report.version -> 56 >Setting project property: api.report.prev.version -> 55 >Setting project property: release.file.ver -> 56_1 >Setting project property: api.doc.version -> 56.1 >Setting project property: shared.dir -> main/shared >Importing file /var/tmp/portage/dev-java/icu4j-56.1/work/main/shared/build/common-targets.xml from /var/tmp/portage/dev-java/icu4j-56.1/work/build.xml >Overriding previous definition of reference to ant.projectHelper >Adding reference: ant.projectHelper >parsing buildfile /var/tmp/portage/dev-java/icu4j-56.1/work/main/shared/build/common-targets.xml with URI = file:/var/tmp/portage/dev-java/icu4j-56.1/work/main/shared/build/common-targets.xml >Setting ro project property: ant.file.common-targets -> /var/tmp/portage/dev-java/icu4j-56.1/work/main/shared/build/common-targets.xml >Setting ro project property: ant.file.type.common-targets -> file > +Target: @clean > +Target: common-targets.@clean > +Target: @compile > +Target: common-targets.@compile > +Target: @copy > +Target: common-targets.@copy > +Target: @jar > +Target: common-targets.@jar > +Target: @src-jar > +Target: common-targets.@src-jar > +Target: @build-all > +Target: common-targets.@build-all > +Target: @full-locale-names > +Target: common-targets.@full-locale-names > +Target: _findbugs_init > +Target: common-targets._findbugs_init > +Target: _findbugs_empty_aux_classpath > +Target: common-targets._findbugs_empty_aux_classpath > +Target: _findbugs_non_empty_aux_classpath > +Target: common-targets._findbugs_non_empty_aux_classpath > +Target: @findbugs > +Target: common-targets.@findbugs > +Target: _all.collate > +Target: common-targets._all.collate > +Target: _all.core > +Target: common-targets._all.core > +Target: _all.charset > +Target: common-targets._all.charset > +Target: _all.currdata > +Target: common-targets._all.currdata > +Target: _all.langdata > +Target: common-targets._all.langdata > +Target: _all.localespi > +Target: common-targets._all.localespi > +Target: _all.regiondata > +Target: common-targets._all.regiondata > +Target: _all.translit > +Target: common-targets._all.translit > +Target: _all.test-framework > +Target: common-targets._all.test-framework > +Target: _all.core-tests > +Target: common-targets._all.core-tests > +Target: _all.collate-tests > +Target: common-targets._all.collate-tests > +Target: _all.charset-tests > +Target: common-targets._all.charset-tests > +Target: _all.localespi-tests > +Target: common-targets._all.localespi-tests > +Target: _all.packaging-tests > +Target: common-targets._all.packaging-tests > +Target: _all.translit-tests > +Target: common-targets._all.translit-tests > +Target: _all.testall > +Target: common-targets._all.testall > +Target: _all.build-tools > +Target: common-targets._all.build-tools > +Target: _all.tools > +Target: common-targets._all.tools > +Target: _all.demos > +Target: common-targets._all.demos > +Target: _all.samples > +Target: common-targets._all.samples > +Target: _all.perf-tests > +Target: common-targets._all.perf-tests >Setting project property: common-targets.dir -> /var/tmp/portage/dev-java/icu4j-56.1/work/main/shared/build > [property] Loading /var/tmp/portage/dev-java/icu4j-56.1/work/main/shared/build/locations.properties >Setting project property: icu4j.localespi.dir -> main/shared/../classes/localespi >Setting project property: icu4j.currdata.dir -> main/shared/../classes/currdata >Setting project property: icu4j.core.dir -> main/shared/../classes/core >Setting project property: icu4j.regiondata.dir -> main/shared/../classes/regiondata >Setting project property: icu4j.translit.dir -> main/shared/../classes/translit >Setting project property: icu4j.build-tools.dir -> main/shared/../../tools/build >Setting project property: icu4j.collate-tests.dir -> main/shared/../tests/collate >Setting project property: global.build-local.properties -> main/shared/../../build-local.properties >Setting project property: icu4j.test-framework.dir -> main/shared/../tests/framework >Setting project property: icu4j.charset-tests.dir -> main/shared/../tests/charset >Setting project property: icu4j.langdata.dir -> main/shared/../classes/langdata >Setting project property: icu4j.tools.dir -> main/shared/../../tools/misc >Setting project property: global.build.properties -> main/shared/../../build.properties >Setting project property: icu4j.core-tests.dir -> main/shared/../tests/core >Setting project property: icu4j.localespi-tests.dir -> main/shared/../tests/localespi >Setting project property: icu4j.testall.dir -> main/shared/../tests/testall >Setting project property: icu4j.collate.dir -> main/shared/../classes/collate >Setting project property: icu4j.samples.dir -> main/shared/../../samples >Setting project property: icu4j.perf-tests.dir -> main/shared/../../perf-tests >Setting project property: icu4j.packaging-tests.dir -> main/shared/../tests/packaging >Setting project property: icu4j.charset.dir -> main/shared/../classes/charset >Setting project property: icu4j.translit-tests.dir -> main/shared/../tests/translit >Setting project property: icu4j.demos.dir -> main/shared/../../demos > [property] Loading /var/tmp/portage/dev-java/icu4j-56.1/work/build-local.properties > [property] Unable to find property file: /var/tmp/portage/dev-java/icu4j-56.1/work/build-local.properties > [property] Loading /var/tmp/portage/dev-java/icu4j-56.1/work/build.properties >Override ignored for property "api.report.version" >Override ignored for property "api.report.prev.version" >Override ignored for property "release.file.ver" >Override ignored for property "api.doc.version" > [property] Loading /var/tmp/portage/dev-java/icu4j-56.1/work/main/shared/build/common.properties >Setting project property: java.src.encoding -> UTF-8 >Setting project property: icu4j.data.version -> 56 >Setting project property: copyright -> Copyright 2000-2015, International Business Machines Corporation and others. All Rights Reserved. >Setting project property: icu4j.test-framework.jar -> main/shared/../tests/framework/out/lib/icu4j-test-framework.jar >Setting project property: icu4j.packaging-tests.jar -> main/shared/../tests/packaging/out/lib/icu4j-packaging-tests.jar >Setting project property: corp -> IBM Corporation >Setting project property: icu4j.testdata.jar -> main/shared/data/testdata.jar >Setting project property: icu4j.localespi-tests.jar -> main/shared/../tests/localespi/out/lib/icu4j-localespi-tests.jar >Setting project property: icu4j.impl.version -> 56.1 >Setting project property: icu4j.charset.jar -> main/shared/../classes/charset/out/lib/icu4j-charset.jar >Setting project property: jar.dir -> out/lib >Setting project property: icu4j.translit-tests.jar -> main/shared/../tests/translit/out/lib/icu4j-translit-tests.jar >Setting project property: icu4j.demos.jar -> main/shared/../../demos/out/lib/icu4j-demos.jar >Setting project property: icu4j.data.path -> com/ibm/icu/impl/data/icudt56b >Setting project property: current.year -> 2015 >Setting project property: bin.dir -> out/bin >Setting project property: jar.spec.version -> 56 >Setting project property: icu4j.localespi.jar -> main/shared/../classes/localespi/out/lib/icu4j-localespi.jar >Setting project property: icu4j.testall.jar -> main/shared/../tests/testall/out/lib/icu4j-testall.jar >Setting project property: icu4j.data.jar -> main/shared/data/icudata.jar >Setting project property: icu4j.core.jar -> main/shared/../classes/core/out/lib/icu4j-core.jar >Setting project property: icu4j.regiondata.jar -> main/shared/../classes/regiondata/out/lib/icu4j-regiondata.jar >Setting project property: icu4j.build-tools.jar -> main/shared/../../tools/build/out/lib/icu4j-build-tools.jar >Setting project property: icu4j.collate-tests.jar -> main/shared/../tests/collate/out/lib/icu4j-collate-tests.jar >Setting project property: icu4j.currdata.jar -> main/shared/../classes/currdata/out/lib/icu4j-currdata.jar >Setting project property: out.dir -> out >Setting project property: icu4j.tzdata.jar -> main/shared/data/icutzdata.jar >Setting project property: jar.exec.env -> J2SE-1.5 >Setting project property: icu4j.charset-tests.jar -> main/shared/../tests/charset/out/lib/icu4j-charset-tests.jar >Setting project property: icu4j.tools.jar -> main/shared/../../tools/misc/out/lib/icu4j-tools.jar >Setting project property: javac.compilerarg -> -Xlint:none >Setting project property: icu4j.core-tests.jar -> main/shared/../tests/core/out/lib/icu4j-core-tests.jar >Setting project property: icu4j.collate.jar -> main/shared/../classes/collate/out/lib/icu4j-collate.jar >Setting project property: icu4j.langdata.jar -> main/shared/../classes/langdata/out/lib/icu4j-langdata.jar >Setting project property: default.exec.env -> J2SE-1.5 >Setting project property: javac.source -> 1.5 >Setting project property: icu4j.samples.jar -> main/shared/../../samples/out/lib/icu4j-samples.jar >Setting project property: javac.target -> 1.5 >Setting project property: jar.copyright.info -> Copyright 2000-2015, International Business Machines Corporation and others. All Rights Reserved. >Setting project property: icu4j.spec.version -> 56 >Setting project property: icu4j.translit.jar -> main/shared/../classes/translit/out/lib/icu4j-translit.jar >Setting project property: src.dir -> src >Setting project property: javac.debug -> on >Setting project property: jar.impl.version -> 56.1 > [property] Loading Environment env. >Property "2#ssh://" has not been set >Property "x%%/*" has not been set >Property "host##*:" has not been set >Property "host%:*" has not been set >Property "host" has not been set >Property "port" has not been set >Property "port:+-p\${port" has not been set >Property "3" has not been set >Property "host" has not been set >Property "x#*/" has not been set >Property "DISTDIR" has not been set >Property "FILE" has not been set >Property "URI" has not been set >Property "PORTAGE_SSH_OPTS" has not been set >Property "2#ssh://" has not been set >Property "x%%/*" has not been set >Property "host##*:" has not been set >Property "host%:*" has not been set >Property "host" has not been set >Property "port" has not been set >Property "port:+-p\${port" has not been set >Property "3" has not been set >Property "host" has not been set >Property "x#*/" has not been set >Property "DISTDIR" has not been set >Property "FILE" has not been set >Property "URI" has not been set >Property "PORTAGE_SSH_OPTS" has not been set >Setting project property: env.TERM -> xterm >Setting project property: env.PN -> icu4j >Setting project property: env.SYSROOT -> >Setting project property: env.UWSGI_PLUGINS -> >Setting project property: env.PF -> icu4j-56.1 >Setting project property: env.PKGUSE -> >Setting project property: env.ENLIGHTENMENT_MODULES -> >Setting project property: env.FFTOOLS -> >Setting project property: env.PORTAGE_ARCHLIST -> alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux arm64-macos hppa ia64 m68k mips ppc ppc-macos ppc64 ppc64-linux riscv s390 sparc sparc-solaris sparc64-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-linux x86-solaris x86-winnt >Setting project property: env.PORTAGE_INTERNAL_CALLER -> 1 >Setting project property: env.EBUILD_PHASE_FUNC -> src_compile >Setting project property: env.LLVM_TARGETS -> >Setting project property: env.PORTAGE_COMPRESS_EXCLUDE_SUFFIXES -> css gif htm[l]? jp[e]?g js pdf png >Setting project property: env.CHOST -> x86_64-pc-linux-gnu >Setting project property: env.PORTAGE_DOCOMPRESS_SIZE_LIMIT -> 128 >Setting project property: env.CHOST_x32 -> x86_64-pc-linux-gnux32 >Setting project property: env.DEFAULT_ABI -> amd64 >Setting project property: env.CHOST_amd64 -> x86_64-pc-linux-gnu >Setting project property: env.USE_EXPAND -> ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LIRC_DEVICES LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS >Setting project property: env.QEMU_USER_TARGETS -> >Setting project property: env.DIROPTIONS -> -m0755 >Setting project property: env.SANDBOX_WRITE -> :/dev/console:/dev/fd:/dev/full:/dev/null:/dev/ptmx:/dev/pts/:/dev/pty:/dev/shm:/dev/tts:/dev/tty:/dev/vc/:/dev/zero:/proc/self/fd:/tmp/:/usr/lib/cf:/usr/lib/conftest:/usr/lib32/cf:/usr/lib32/conftest:/usr/lib64/cf:/usr/lib64/conftest:/usr/tmp/:/usr/tmp/cf:/usr/tmp/conftest:/var/tmp/:/var/tmp/portage:/var/tmp/portage/dev-java/icu4j-56.1/homedir/.bash_history >Setting project property: env.ANT_TASKS -> >Setting project property: env.LIBDIR_x32 -> libx32 >Setting project property: env.EROOT -> / >Setting project property: env.ABI_S390 -> >Setting project property: env.PV -> 56.1 >Setting project property: env.USE_EXPAND_VALUES_USERLAND -> BSD GNU >Setting project property: env.MONKEYD_PLUGINS -> >Setting project property: env.CCACHE_DISABLE -> 1 >Setting project property: env.PR -> r0 >Setting project property: env.SANDBOX_BASHRC -> /usr/share/sandbox/sandbox.bashrc >Setting project property: env.D -> /var/tmp/portage/dev-java/icu4j-56.1/image/ >Setting project property: env.PM_EBUILD_HOOK_DIR -> /etc/portage/env >Setting project property: env.A -> icu4j-56_1.tgz >Setting project property: env.JAVA -> /usr/lib64/openjdk-11/bin/java >Setting project property: env.PATH -> /usr/lib64/openjdk-11/bin:/usr/lib/portage/python3.9/ebuild-helpers/xattr:/usr/lib/portage/python3.9/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/11/bin >Setting project property: env.P -> icu4j-56.1 >Setting project property: env.CALLIGRA_FEATURES -> >Setting project property: env.ELIBC -> glibc >Setting project property: env.T -> /var/tmp/portage/dev-java/icu4j-56.1/temp >Setting project property: env.PORTAGE_COLORMAP -> GOOD=$'[32;01m' >WARN=$'[33;01m' >BAD=$'[31;01m' >HILITE=$'[36m' >BRACKET=$'[34;01m' >NORMAL=$'[0m' >Setting project property: env.LS_COLORS -> rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: >Setting project property: env.S -> /var/tmp/portage/dev-java/icu4j-56.1/work >Setting project property: env.CFLAGS_amd64 -> -m64 >Setting project property: env.EBUILD -> /var/db/repos/gentoo/dev-java/icu4j/icu4j-56.1.ebuild >Setting project property: env.USERLAND -> GNU >Setting project property: env.PROFILE_ONLY_VARIABLES -> ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND >Setting project property: env.GENTOO_VM -> openjdk-11 >Setting project property: env.SHLVL -> 1 >Setting project property: env.NGINX_MODULES_MAIL -> >Setting project property: env.MULTILIB_STRICT_EXEMPT -> (perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm) >Setting project property: env.LCD_DEVICES -> >Setting project property: env.APACHE2_MPMS -> >Setting project property: env.L10N -> >Setting project property: env.ARCH -> amd64 >Setting project property: env.MAKEOPTS -> -j8 >Setting project property: env.SANDBOX_DENY -> >Setting project property: env.WINDOWPATH -> 7 >Setting project property: env.SANDBOX_MESSAGE_P@TH -> /proc/4/fd/2 >Setting project property: env.JAVACC_HOME -> /usr/share/javacc/ >Setting project property: env.RESUMECOMMAND_SSH -> bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}" >Setting project property: env.PYTHON_TARGETS -> >Setting project property: env.MICROCODE_SIGNATURES -> -S >Setting project property: env.LIBDIR_default -> lib >Setting project property: env.XAUTHORITY -> /home/volkmar/.Xauthority >Setting project property: env.GCC_SPECS -> >Setting project property: env.LANG -> en_US.utf8 >Setting project property: env.LIBDIR_amd64 -> lib64 >Setting project property: env.TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE -> 1 >Setting project property: env.PORTAGE_TMPDIR -> /var/tmp >Setting project property: env.MOZ_GMP_PATH -> /usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed >Setting project property: env.JAVACFLAGS -> -source 1.6 -target 1.6 >Setting project property: env.PORTAGE_RESTRICT -> test >Setting project property: env.RESTRICT -> test >Setting project property: env.CTARGET_default -> x86_64-pc-linux-gnu >Setting project property: env.PORTAGE_SIGPIPE_STATUS -> 141 >Setting project property: env.COLUMNS -> 156 >Setting project property: env.SLOT -> 56 >Setting project property: env.XDG_DATA_DIRS -> /usr/local/share:/usr/share >Setting project property: env.JAVA_PKG_STRICT -> true >Setting project property: env.CAMERAS -> >Setting project property: env.ECLASSDIR -> /var/db/repos/gentoo/eclass >Setting project property: env.DISPLAY -> :0.0 >Setting project property: env.OFFICE_IMPLEMENTATION -> >Setting project property: env.SANDBOX_LIB -> libsandbox.so >Setting project property: env.ENV_UNSET -> CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR >Setting project property: env.SANE_BACKENDS -> >Setting project property: env.EBUILD_MASTER_PID -> 21 >Setting project property: env.LICENSE -> icu >Setting project property: env.EDITOR -> /usr/bin/vi >Setting project property: env.GPG_TTY -> /dev/pts/2 >Setting project property: env.CPU_FLAGS_PPC -> >Setting project property: env.JAVAC -> /usr/lib64/openjdk-11/bin/javac >Setting project property: env.PORTAGE_BIN_PATH -> /usr/lib/portage/python3.9 >Setting project property: env.INSDESTTREE -> >Setting project property: env.CPU_FLAGS_ARM -> >Setting project property: env.NOCOLOR -> no >Setting project property: env.GENTOO_COMPILER -> javac >Setting project property: env.CFLAGS_x86 -> -m32 >Setting project property: env.PORTAGE_REPOSITORIES -> [DEFAULT] >auto-sync = yes >main-repo = gentoo >strict-misc-digests = true >sync-allow-hardlinks = true >sync-openpgp-key-refresh = true >sync-rcu = false > >[gentoo] >auto-sync = yes >location = /var/db/repos/gentoo >masters = >priority = -1000 >strict-misc-digests = true >sync-allow-hardlinks = true >sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc >sync-openpgp-key-refresh = true >sync-openpgp-key-refresh-retry-count = 40 >sync-openpgp-key-refresh-retry-delay-exp-base = 2 >sync-openpgp-key-refresh-retry-delay-max = 60 >sync-openpgp-key-refresh-retry-delay-mult = 4 >sync-openpgp-key-refresh-retry-overall-timeout = 1200 >sync-openpgp-keyserver = hkps://keys.gentoo.org >sync-rcu = false >sync-type = rsync >sync-uri = rsync://rsync.de.gentoo.org/gentoo-portage/ >sync-rsync-verify-jobs = 1 >sync-rsync-verify-metamanifest = yes >sync-rsync-verify-max-age = 24 >sync-rsync-extra-opts = > >[testing] >auto-sync = no >location = /var/db/repos/testing >masters = gentoo >strict-misc-digests = true >sync-allow-hardlinks = true >sync-openpgp-key-refresh = true >sync-rcu = false >Setting project property: env.OFED_DRIVERS -> >Setting project property: env.CHOST_x86 -> i686-pc-linux-gnu >Setting project property: env.ANT_HOME -> /usr/share/ant >Setting project property: env.PORTAGE_REPO_NAME -> gentoo >Setting project property: env.WORKDIR -> /var/tmp/portage/dev-java/icu4j-56.1/work >Setting project property: env.FILESDIR -> /var/tmp/portage/dev-java/icu4j-56.1/files >Setting project property: env.LADSPA_PATH -> /usr/lib64/ladspa >Setting project property: env.FEATURES -> preserve-libs parallel-fetch binpkg-docompress config-protect-if-modified assume-digests strict distlocks binpkg-dostrip news merge-sync unmerge-orphans pid-sandbox qa-unresolved-soname-deps unmerge-logs sandbox sfperms fixlafiles xattr usersync protect-owned usersandbox binpkg-logs ipc-sandbox userfetch unknown-features-warn multilib-strict ebuild-locks network-sandbox userpriv >Setting project property: env.PKG_TMPDIR -> /var/tmp/portage/._unmerge_ >Setting project property: env.MULTILIB_STRICT_DIRS -> /lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib >Setting project property: env.OPENMPI_OFED_FEATURES -> >Setting project property: env.FCFLAGS -> -O2 -pipe >Setting project property: env.ABI -> amd64 >Setting project property: env.EBUILD_PHASE -> compile >Setting project property: env.MANPAGER -> manpager >Setting project property: env.ABI_PPC -> >Setting project property: env.OPENGL_PROFILE -> xorg-x11 >Setting project property: env.SHELL -> /bin/bash >Setting project property: env.OPENMPI_FABRICS -> >Setting project property: env.KEYWORDS -> amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris >Setting project property: env.LDFLAGS_amd64 -> -m elf_x86_64 >Setting project property: env.PORTAGE_BUILDDIR -> /var/tmp/portage/dev-java/icu4j-56.1 >Setting project property: env.JAVA_PKG_DEBUG -> true >Setting project property: env.PORTAGE_BZIP2_COMMAND -> bzip2 >Setting project property: env.DESTTREE -> /usr >Setting project property: env.SANDBOX_DEBUG -> 0 >Setting project property: env.XTABLES_ADDONS -> >Setting project property: env.ABI_MIPS -> >Setting project property: env.XTERM_VERSION -> XTerm(367) >Setting project property: env.BOOTSTRAP_USE -> unicode internal-glib pkg-config split-usr python_targets_python3_8 multilib >Setting project property: env.EXEOPTIONS -> -m0755 >Setting project property: env.FETCHCOMMAND_SSH -> bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}" >Setting project property: env.LIBREOFFICE_EXTENSIONS -> >Setting project property: env.NGINX_MODULES_STREAM -> >Setting project property: env.USE_EXPAND_VALUES_ARCH -> alpha amd64 amd64-fbsd amd64-linux arm arm64 arm64-macos hppa ia64 m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-fbsd x86-linux x86-solaris x86-winnt >Setting project property: env.FFLAGS -> -O2 -pipe >Setting project property: env.JDK_HOME -> /usr/lib64/openjdk-11 >Setting project property: env.MOPREFIX -> icu4j >Setting project property: env.KERNEL_ABI -> amd64 >Setting project property: env.TEMP -> /var/tmp/portage/dev-java/icu4j-56.1/temp >Setting project property: env.BUILD_PREFIX -> /var/tmp/portage >Setting project property: env._E_DOCDESTTREE_ -> >Setting project property: env.PORTAGE_BUILD_GROUP -> portage >Setting project property: env.RUBY_TARGETS -> >Setting project property: env.CURL_SSL -> >Setting project property: env.NGINX_MODULES_HTTP -> >Setting project property: env.VIDEO_CARDS -> >Setting project property: env.CXXFLAGS -> -march=native -O2 -pipe >Setting project property: env.PORTAGE_OVERRIDE_EPREFIX -> >Setting project property: env.LIRC_DEVICES -> >Setting project property: env.INHERITED -> eapi7-ver desktop edos2unix estack epatch l10n toolchain-funcs multilib ltprune preserve-libs vcs-clean wrapper eutils versionator java-utils-2 java-pkg-2 java-ant-2 >Setting project property: env.PHP_TARGETS -> >Setting project property: env.USE_EXPAND_IMPLICIT -> ARCH ELIBC KERNEL USERLAND >Setting project property: env.LDFLAGS_x86 -> -m elf_i386 >Setting project property: env.KERNEL -> linux >Setting project property: env.IUSE_EFFECTIVE -> abi_x86_64 alpha amd64 amd64-fbsd amd64-linux arm arm64 arm64-macos doc elibc_AIX elibc_Cygwin elibc_Darwin elibc_DragonFly elibc_FreeBSD elibc_HPUX elibc_Interix elibc_NetBSD elibc_OpenBSD elibc_SunOS elibc_Winnt elibc_bionic elibc_glibc elibc_mingw elibc_mintlib elibc_musl elibc_uclibc examples hppa ia64 kernel_AIX kernel_Darwin kernel_FreeBSD kernel_HPUX kernel_NetBSD kernel_OpenBSD kernel_SunOS kernel_Winnt kernel_freemint kernel_linux m68k mips ppc ppc-macos ppc64 ppc64-linux prefix prefix-guest prefix-stack riscv s390 source sparc sparc-solaris sparc64-solaris test userland_BSD userland_GNU x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-fbsd x86-linux x86-solaris x86-winnt >Setting project property: env.INPUT_DEVICES -> >Setting project property: env.JAVA_HOME -> /usr/lib64/openjdk-11 >Setting project property: env.HZ -> 100 >Setting project property: env.LESS -> -R -M --shift 5 >Setting project property: env.PKGDIR -> /var/cache/binpkgs >Setting project property: env.PORTAGE_VERBOSE -> 1 >Setting project property: env.USE_EXPAND_UNPREFIXED -> ARCH >Setting project property: env.DISTDIR -> /var/tmp/portage/dev-java/icu4j-56.1/distdir >Setting project property: env.EAPI -> 6 >Setting project property: env.QEMU_SOFTMMU_TARGETS -> >Setting project property: env.WINDOWID -> 31457292 >Setting project property: env.CHOST_default -> x86_64-pc-linux-gnu >Setting project property: env.MULTILIB_STRICT_DENY -> 64-bit.*shared object >Setting project property: env.PORTAGE_FEATURES -> preserve-libs parallel-fetch binpkg-docompress config-protect-if-modified assume-digests strict distlocks binpkg-dostrip news merge-sync unmerge-orphans pid-sandbox qa-unresolved-soname-deps unmerge-logs sandbox sfperms fixlafiles xattr usersync protect-owned usersandbox binpkg-logs ipc-sandbox userfetch unknown-features-warn multilib-strict ebuild-locks network-sandbox userpriv >Setting project property: env.LOGNAME -> portage >Setting project property: env.PORTAGE_INST_UID -> 0 >Setting project property: env.XTERM_LOCALE -> en_US.utf8 >Setting project property: env.VOICEMAIL_STORAGE -> >Setting project property: env.SANDBOX_ACTIVE -> armedandready >Setting project property: env.CFLAGS_x32 -> -mx32 >Setting project property: env.SANDBOX_PREDICT -> /var/tmp/portage/dev-java/icu4j-56.1/homedir:/dev/crypto:/var/cache/man:/dev/random:/proc/self/coredump_filter:/dev/random:/proc/self/coredump_filter:/var/cache/fontconfig >Setting project property: env.ADA_TARGET -> >Setting project property: env.PORTAGE_COMPRESSION_COMMAND -> bzip2 >Setting project property: env.LC_MESSAGES -> C >Setting project property: env.PORTAGE_DEPCACHEDIR -> /var/cache/edb/dep >Setting project property: env.LIBOPTIONS -> -m0644 >Setting project property: env.ANT_RESPECT_JAVA_HOME -> >Setting project property: env.PORTAGE_XATTR_EXCLUDE -> btrfs.* security.evm security.ima security.selinux system.nfs4_acl user.apache_handler user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.* >Setting project property: env.TMP -> /var/tmp/portage/dev-java/icu4j-56.1/temp >Setting project property: env.DEFINED_PHASES -> compile configure install preinst prepare setup test >Setting project property: env.PORTAGE_PYM_PATH -> /usr/lib/python3.9/site-packages >Setting project property: env._E_EXEDESTTREE_ -> >Setting project property: env.GRUB_PLATFORMS -> >Setting project property: env.ROS_MESSAGES -> >Setting project property: env.QT_GRAPHICSSYSTEM -> raster >Setting project property: env.MULTILIB_ABIS -> amd64 x86 >Setting project property: env.TMPDIR -> /var/tmp/portage/dev-java/icu4j-56.1/temp >Setting project property: env.FLTK_DOCDIR -> /usr/share/doc/fltk-1.3.5-r4/html >Setting project property: env.GPSD_PROTOCOLS -> >Setting project property: env.INSOPTIONS -> -m0644 >Setting project property: env.USE_EXPAND_VALUES_KERNEL -> AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt >Setting project property: env.LUA_TARGETS -> >Setting project property: env.PORTDIR -> /var/db/repos/gentoo >Setting project property: env.OLDPWD -> /var/tmp/portage/dev-java/icu4j-56.1 >Setting project property: env.PORTAGE_BASHRC_FILES -> /var/db/repos/gentoo/profiles/default/linux/amd64/17.1/profile.bashrc >Setting project property: env.PWD -> /var/tmp/portage/dev-java/icu4j-56.1/work >Setting project property: env.LESSOPEN -> |lesspipe %s >Setting project property: env.EMERGE_FROM -> ebuild >Setting project property: env.LDFLAGS_x32 -> -m elf32_x86_64 >Setting project property: env.PAGER -> /usr/bin/less >Setting project property: env.PKG_LOGDIR -> /var/tmp/portage/dev-java/icu4j-56.1/temp/logging >Setting project property: env.HOME -> /var/tmp/portage/dev-java/icu4j-56.1/homedir >Setting project property: env.ROOT -> / >Setting project property: env.CLASSPATH -> >Setting project property: env.XFCE_PLUGINS -> >Setting project property: env.PVR -> 56.1 >Setting project property: env.PORTAGE_GID -> 250 >Setting project property: env.PYTHONDONTWRITEBYTECODE -> 1 >Setting project property: env.PORTAGE_ACTUAL_DISTDIR -> /var/cache/distfiles >Setting project property: env.PORTAGE_DEBUG -> 0 >Setting project property: env.SYMLINK_LIB -> no >Setting project property: env.LD_LIBRARY_PATH -> /usr/lib64/openjdk-11/lib/server:/usr/lib64/openjdk-11/lib:/usr/lib64/openjdk-11/../lib:/usr/lib64/openjdk-11/lib/:/usr/lib64/openjdk-11/lib/server/ >Setting project property: env.SANDBOX_VERBOSE -> 1 >Setting project property: env.XARGS -> xargs -r >Setting project property: env.CBUILD -> x86_64-pc-linux-gnu >Setting project property: env.ROOTPATH -> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/11/bin >Setting project property: env.PORTAGE_PYTHON -> /usr/bin/python3.9 >Setting project property: env.PORTAGE_BUILD_USER -> portage >Setting project property: env.PROPERTIES -> >Setting project property: env.PORTAGE_IPC_DAEMON -> 1 >Setting project property: env.ACCEPT_LICENSE -> icu >Setting project property: env.LC_COLLATE -> C >Setting project property: env.PORTAGE_LOG_FILE -> /var/tmp/portage/dev-java/icu4j-56.1/temp/build.log >Setting project property: env.PORTAGE_WORKDIR_MODE -> 0700 >Setting project property: env.LUA_SINGLE_TARGET -> >Setting project property: env.PORTAGE_PYTHONPATH -> /usr/lib/python3.9/site-packages >Setting project property: env.PORTAGE_CONFIGROOT -> / >Setting project property: env.PORTAGE_INST_GID -> 0 >Setting project property: env.SANDBOX_ON -> 1 >Setting project property: env.LDFLAGS -> -Wl,-O1 -Wl,--as-needed >Setting project property: env.PYTHON_SINGLE_TARGET -> >Setting project property: env.PORTAGE_BASHRC -> /etc/portage/bashrc >Setting project property: env.POSTGRES_TARGETS -> >Setting project property: env.MERGE_TYPE -> source >Setting project property: env.ABI_X86 -> 64 >Setting project property: env.LIBDIR_x86 -> lib >Setting project property: env.USE_EXPAND_VALUES_ELIBC -> AIX bionic Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt >Setting project property: env.XTERM_SHELL -> /bin/bash >Setting project property: env.SANDBOX_LOG -> /var/tmp/portage/dev-java/icu4j-56.1/temp/sandbox.log >Setting project property: env.HUSHLOGIN -> FALSE >Setting project property: env.ED -> /var/tmp/portage/dev-java/icu4j-56.1/image/ >Setting project property: env.ECLASS_DEPTH -> 0 >Setting project property: env.CPU_FLAGS_X86 -> >Setting project property: env.LD_PRELOAD -> libsandbox.so >Setting project property: env.XDG_CONFIG_DIRS -> /etc/xdg >Setting project property: env.COLLECTD_PLUGINS -> >Setting project property: env.OPENMPI_RM -> >Setting project property: env.EPREFIX -> >Setting project property: env.SANDBOX_DEBUG_LOG -> /var/log/sandbox/sandbox-debug-4.log >Setting project property: env.IUSE_IMPLICIT -> abi_x86_64 prefix prefix-guest prefix-stack >Setting project property: env.ANT_OPTS -> >Setting project property: env.WANT_JAVA_CONFIG -> 2 >Setting project property: env.CATEGORY -> dev-java >Setting project property: env.CFLAGS -> -march=native -O2 -pipe >Setting project property: env.SANDBOX_READ -> /:/var/tmp/portage >Setting project property: env.USE -> abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU >Setting project property: env.APACHE2_MODULES -> >Setting project property: env.ALSA_CARDS -> >Adding reference: javac.classpathref.collate >Adding reference: javac.classpathref.core >Adding reference: javac.classpathref.charset >Adding reference: javac.classpathref.currdata >Adding reference: javac.classpathref.langdata >Adding reference: javac.classpathref.localespi >Adding reference: javac.classpathref.regiondata >Adding reference: javac.classpathref.translit >Adding reference: javac.classpathref.test-framework >Adding reference: javac.classpathref.core-tests >Adding reference: javac.classpathref.collate-tests >Adding reference: javac.classpathref.charset-tests >Adding reference: javac.classpathref.localespi-tests >Adding reference: javac.classpathref.packaging-tests >Adding reference: javac.classpathref.translit-tests >Adding reference: javac.classpathref.testall >Adding reference: javac.classpathref.build-tools >Adding reference: javac.classpathref.tools >Adding reference: javac.classpathref.demos >Adding reference: javac.classpathref.samples >Adding reference: javac.classpathref.perf-tests >Overriding previous definition of reference to ant.projectHelper >Adding reference: ant.projectHelper > [property] Loading Environment env. >Override ignored for property "env.TERM" >Override ignored for property "env.PN" >Override ignored for property "env.SYSROOT" >Override ignored for property "env.UWSGI_PLUGINS" >Override ignored for property "env.PF" >Override ignored for property "env.PKGUSE" >Override ignored for property "env.ENLIGHTENMENT_MODULES" >Override ignored for property "env.FFTOOLS" >Override ignored for property "env.PORTAGE_ARCHLIST" >Override ignored for property "env.PORTAGE_INTERNAL_CALLER" >Override ignored for property "env.EBUILD_PHASE_FUNC" >Override ignored for property "env.LLVM_TARGETS" >Override ignored for property "env.PORTAGE_COMPRESS_EXCLUDE_SUFFIXES" >Override ignored for property "env.CHOST" >Override ignored for property "env.PORTAGE_DOCOMPRESS_SIZE_LIMIT" >Override ignored for property "env.CHOST_x32" >Override ignored for property "env.DEFAULT_ABI" >Override ignored for property "env.CHOST_amd64" >Override ignored for property "env.USE_EXPAND" >Override ignored for property "env.QEMU_USER_TARGETS" >Override ignored for property "env.DIROPTIONS" >Override ignored for property "env.SANDBOX_WRITE" >Override ignored for property "env.ANT_TASKS" >Override ignored for property "env.LIBDIR_x32" >Override ignored for property "env.EROOT" >Override ignored for property "env.ABI_S390" >Override ignored for property "env.PV" >Override ignored for property "env.USE_EXPAND_VALUES_USERLAND" >Override ignored for property "env.MONKEYD_PLUGINS" >Override ignored for property "env.CCACHE_DISABLE" >Override ignored for property "env.PR" >Override ignored for property "env.SANDBOX_BASHRC" >Override ignored for property "env.D" >Override ignored for property "env.PM_EBUILD_HOOK_DIR" >Override ignored for property "env.A" >Override ignored for property "env.JAVA" >Override ignored for property "env.PATH" >Override ignored for property "env.P" >Override ignored for property "env.CALLIGRA_FEATURES" >Override ignored for property "env.ELIBC" >Override ignored for property "env.T" >Override ignored for property "env.PORTAGE_COLORMAP" >Override ignored for property "env.LS_COLORS" >Override ignored for property "env.S" >Override ignored for property "env.CFLAGS_amd64" >Override ignored for property "env.EBUILD" >Override ignored for property "env.USERLAND" >Override ignored for property "env.PROFILE_ONLY_VARIABLES" >Override ignored for property "env.GENTOO_VM" >Override ignored for property "env.SHLVL" >Override ignored for property "env.NGINX_MODULES_MAIL" >Override ignored for property "env.MULTILIB_STRICT_EXEMPT" >Override ignored for property "env.LCD_DEVICES" >Override ignored for property "env.APACHE2_MPMS" >Override ignored for property "env.L10N" >Override ignored for property "env.ARCH" >Override ignored for property "env.MAKEOPTS" >Override ignored for property "env.SANDBOX_DENY" >Override ignored for property "env.WINDOWPATH" >Override ignored for property "env.SANDBOX_MESSAGE_P@TH" >Override ignored for property "env.JAVACC_HOME" >Override ignored for property "env.RESUMECOMMAND_SSH" >Override ignored for property "env.PYTHON_TARGETS" >Override ignored for property "env.MICROCODE_SIGNATURES" >Override ignored for property "env.LIBDIR_default" >Override ignored for property "env.XAUTHORITY" >Override ignored for property "env.GCC_SPECS" >Override ignored for property "env.LANG" >Override ignored for property "env.LIBDIR_amd64" >Override ignored for property "env.TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE" >Override ignored for property "env.PORTAGE_TMPDIR" >Override ignored for property "env.MOZ_GMP_PATH" >Override ignored for property "env.JAVACFLAGS" >Override ignored for property "env.PORTAGE_RESTRICT" >Override ignored for property "env.RESTRICT" >Override ignored for property "env.CTARGET_default" >Override ignored for property "env.PORTAGE_SIGPIPE_STATUS" >Override ignored for property "env.COLUMNS" >Override ignored for property "env.SLOT" >Override ignored for property "env.XDG_DATA_DIRS" >Override ignored for property "env.JAVA_PKG_STRICT" >Override ignored for property "env.CAMERAS" >Override ignored for property "env.ECLASSDIR" >Override ignored for property "env.DISPLAY" >Override ignored for property "env.OFFICE_IMPLEMENTATION" >Override ignored for property "env.SANDBOX_LIB" >Override ignored for property "env.ENV_UNSET" >Override ignored for property "env.SANE_BACKENDS" >Override ignored for property "env.EBUILD_MASTER_PID" >Override ignored for property "env.LICENSE" >Override ignored for property "env.EDITOR" >Override ignored for property "env.GPG_TTY" >Override ignored for property "env.CPU_FLAGS_PPC" >Override ignored for property "env.JAVAC" >Override ignored for property "env.PORTAGE_BIN_PATH" >Override ignored for property "env.INSDESTTREE" >Override ignored for property "env.CPU_FLAGS_ARM" >Override ignored for property "env.NOCOLOR" >Override ignored for property "env.GENTOO_COMPILER" >Override ignored for property "env.CFLAGS_x86" >Override ignored for property "env.PORTAGE_REPOSITORIES" >Override ignored for property "env.OFED_DRIVERS" >Override ignored for property "env.CHOST_x86" >Override ignored for property "env.ANT_HOME" >Override ignored for property "env.PORTAGE_REPO_NAME" >Override ignored for property "env.WORKDIR" >Override ignored for property "env.FILESDIR" >Override ignored for property "env.LADSPA_PATH" >Override ignored for property "env.FEATURES" >Override ignored for property "env.PKG_TMPDIR" >Override ignored for property "env.MULTILIB_STRICT_DIRS" >Override ignored for property "env.OPENMPI_OFED_FEATURES" >Override ignored for property "env.FCFLAGS" >Override ignored for property "env.ABI" >Override ignored for property "env.EBUILD_PHASE" >Override ignored for property "env.MANPAGER" >Override ignored for property "env.ABI_PPC" >Override ignored for property "env.OPENGL_PROFILE" >Override ignored for property "env.SHELL" >Override ignored for property "env.OPENMPI_FABRICS" >Override ignored for property "env.KEYWORDS" >Override ignored for property "env.LDFLAGS_amd64" >Override ignored for property "env.PORTAGE_BUILDDIR" >Override ignored for property "env.JAVA_PKG_DEBUG" >Override ignored for property "env.PORTAGE_BZIP2_COMMAND" >Override ignored for property "env.DESTTREE" >Override ignored for property "env.SANDBOX_DEBUG" >Override ignored for property "env.XTABLES_ADDONS" >Override ignored for property "env.ABI_MIPS" >Override ignored for property "env.XTERM_VERSION" >Override ignored for property "env.BOOTSTRAP_USE" >Override ignored for property "env.EXEOPTIONS" >Override ignored for property "env.FETCHCOMMAND_SSH" >Override ignored for property "env.LIBREOFFICE_EXTENSIONS" >Override ignored for property "env.NGINX_MODULES_STREAM" >Override ignored for property "env.USE_EXPAND_VALUES_ARCH" >Override ignored for property "env.FFLAGS" >Override ignored for property "env.JDK_HOME" >Override ignored for property "env.MOPREFIX" >Override ignored for property "env.KERNEL_ABI" >Override ignored for property "env.TEMP" >Override ignored for property "env.BUILD_PREFIX" >Override ignored for property "env._E_DOCDESTTREE_" >Override ignored for property "env.PORTAGE_BUILD_GROUP" >Override ignored for property "env.RUBY_TARGETS" >Override ignored for property "env.CURL_SSL" >Override ignored for property "env.NGINX_MODULES_HTTP" >Override ignored for property "env.VIDEO_CARDS" >Override ignored for property "env.CXXFLAGS" >Override ignored for property "env.PORTAGE_OVERRIDE_EPREFIX" >Override ignored for property "env.LIRC_DEVICES" >Override ignored for property "env.INHERITED" >Override ignored for property "env.PHP_TARGETS" >Override ignored for property "env.USE_EXPAND_IMPLICIT" >Override ignored for property "env.LDFLAGS_x86" >Override ignored for property "env.KERNEL" >Override ignored for property "env.IUSE_EFFECTIVE" >Override ignored for property "env.INPUT_DEVICES" >Override ignored for property "env.JAVA_HOME" >Override ignored for property "env.HZ" >Override ignored for property "env.LESS" >Override ignored for property "env.PKGDIR" >Override ignored for property "env.PORTAGE_VERBOSE" >Override ignored for property "env.USE_EXPAND_UNPREFIXED" >Override ignored for property "env.DISTDIR" >Override ignored for property "env.EAPI" >Override ignored for property "env.QEMU_SOFTMMU_TARGETS" >Override ignored for property "env.WINDOWID" >Override ignored for property "env.CHOST_default" >Override ignored for property "env.MULTILIB_STRICT_DENY" >Override ignored for property "env.PORTAGE_FEATURES" >Override ignored for property "env.LOGNAME" >Override ignored for property "env.PORTAGE_INST_UID" >Override ignored for property "env.XTERM_LOCALE" >Override ignored for property "env.VOICEMAIL_STORAGE" >Override ignored for property "env.SANDBOX_ACTIVE" >Override ignored for property "env.CFLAGS_x32" >Override ignored for property "env.SANDBOX_PREDICT" >Override ignored for property "env.ADA_TARGET" >Override ignored for property "env.PORTAGE_COMPRESSION_COMMAND" >Override ignored for property "env.LC_MESSAGES" >Override ignored for property "env.PORTAGE_DEPCACHEDIR" >Override ignored for property "env.LIBOPTIONS" >Override ignored for property "env.ANT_RESPECT_JAVA_HOME" >Override ignored for property "env.PORTAGE_XATTR_EXCLUDE" >Override ignored for property "env.TMP" >Override ignored for property "env.DEFINED_PHASES" >Override ignored for property "env.PORTAGE_PYM_PATH" >Override ignored for property "env._E_EXEDESTTREE_" >Override ignored for property "env.GRUB_PLATFORMS" >Override ignored for property "env.ROS_MESSAGES" >Override ignored for property "env.QT_GRAPHICSSYSTEM" >Override ignored for property "env.MULTILIB_ABIS" >Override ignored for property "env.TMPDIR" >Override ignored for property "env.FLTK_DOCDIR" >Override ignored for property "env.GPSD_PROTOCOLS" >Override ignored for property "env.INSOPTIONS" >Override ignored for property "env.USE_EXPAND_VALUES_KERNEL" >Override ignored for property "env.LUA_TARGETS" >Override ignored for property "env.PORTDIR" >Override ignored for property "env.OLDPWD" >Override ignored for property "env.PORTAGE_BASHRC_FILES" >Override ignored for property "env.PWD" >Override ignored for property "env.LESSOPEN" >Override ignored for property "env.EMERGE_FROM" >Override ignored for property "env.LDFLAGS_x32" >Override ignored for property "env.PAGER" >Override ignored for property "env.PKG_LOGDIR" >Override ignored for property "env.HOME" >Override ignored for property "env.ROOT" >Override ignored for property "env.CLASSPATH" >Override ignored for property "env.XFCE_PLUGINS" >Override ignored for property "env.PVR" >Override ignored for property "env.PORTAGE_GID" >Override ignored for property "env.PYTHONDONTWRITEBYTECODE" >Override ignored for property "env.PORTAGE_ACTUAL_DISTDIR" >Override ignored for property "env.PORTAGE_DEBUG" >Override ignored for property "env.SYMLINK_LIB" >Override ignored for property "env.LD_LIBRARY_PATH" >Override ignored for property "env.SANDBOX_VERBOSE" >Override ignored for property "env.XARGS" >Override ignored for property "env.CBUILD" >Override ignored for property "env.ROOTPATH" >Override ignored for property "env.PORTAGE_PYTHON" >Override ignored for property "env.PORTAGE_BUILD_USER" >Override ignored for property "env.PROPERTIES" >Override ignored for property "env.PORTAGE_IPC_DAEMON" >Override ignored for property "env.ACCEPT_LICENSE" >Override ignored for property "env.LC_COLLATE" >Override ignored for property "env.PORTAGE_LOG_FILE" >Override ignored for property "env.PORTAGE_WORKDIR_MODE" >Override ignored for property "env.LUA_SINGLE_TARGET" >Override ignored for property "env.PORTAGE_PYTHONPATH" >Override ignored for property "env.PORTAGE_CONFIGROOT" >Override ignored for property "env.PORTAGE_INST_GID" >Override ignored for property "env.SANDBOX_ON" >Override ignored for property "env.LDFLAGS" >Override ignored for property "env.PYTHON_SINGLE_TARGET" >Override ignored for property "env.PORTAGE_BASHRC" >Override ignored for property "env.POSTGRES_TARGETS" >Override ignored for property "env.MERGE_TYPE" >Override ignored for property "env.ABI_X86" >Override ignored for property "env.LIBDIR_x86" >Override ignored for property "env.USE_EXPAND_VALUES_ELIBC" >Override ignored for property "env.XTERM_SHELL" >Override ignored for property "env.SANDBOX_LOG" >Override ignored for property "env.HUSHLOGIN" >Override ignored for property "env.ED" >Override ignored for property "env.ECLASS_DEPTH" >Override ignored for property "env.CPU_FLAGS_X86" >Override ignored for property "env.LD_PRELOAD" >Override ignored for property "env.XDG_CONFIG_DIRS" >Override ignored for property "env.COLLECTD_PLUGINS" >Override ignored for property "env.OPENMPI_RM" >Override ignored for property "env.EPREFIX" >Override ignored for property "env.SANDBOX_DEBUG_LOG" >Override ignored for property "env.IUSE_IMPLICIT" >Override ignored for property "env.ANT_OPTS" >Override ignored for property "env.WANT_JAVA_CONFIG" >Override ignored for property "env.CATEGORY" >Override ignored for property "env.CFLAGS" >Override ignored for property "env.SANDBOX_READ" >Override ignored for property "env.USE" >Override ignored for property "env.APACHE2_MODULES" >Override ignored for property "env.ALSA_CARDS" >Setting project property: icu4j.jar.file -> icu4j.jar >Setting project property: icu4jtests.jar.file -> icu4jtests.jar >Setting project property: icu4j-charset.jar.file -> icu4j-charset.jar >Setting project property: icu4j-localespi.jar.file -> icu4j-localespi.jar >Setting project property: icu4jdemos.jar.file -> icu4jdemos.jar >Setting project property: icu4jdocs.jar.file -> icu4j-docs.jar >Setting project property: icu4j-src.jar.file -> icu4j-src.jar >Setting project property: icu4j-charset-src.jar.file -> icu4j-charset-src.jar >Setting project property: icu4j-localespi-src.jar.file -> icu4j-localespi-src.jar >Setting project property: icu4jsrc.zip.file -> icu4j.zip >Setting project property: icu4jsrc.tgz.file -> icu4j.tgz >Setting project property: icu4j.jar.versioned.file -> icu4j-56_1.jar >Setting project property: icu4j-charset.jar.versioned.file -> icu4j-charset-56_1.jar >Setting project property: icu4j-localespi.jar.versioned.file -> icu4j-localespi-56_1.jar >Setting project property: icu4j-src.jar.versioned.file -> icu4j-56_1-src.jar >Setting project property: icu4j-charset-src.jar.versioned.file -> icu4j-charset-56_1-src.jar >Setting project property: icu4j-localespi-src.jar.versioned.file -> icu4j-localespi-56_1-src.jar >Setting project property: icu4jdocs.jar.versioned.file -> icu4j-56_1-docs.jar >Setting project property: icu4jsrc.tgz.versioned.file -> icu4j-56_1.tgz >Setting project property: icu4j.api.doc.title -> ICU4J 56.1 API Specification >Setting project property: icu4j.api.doc.window.title -> ICU4J 56.1 >Setting project property: icu4j.api.doc.header -> ICU4J 56.1 >Setting project property: icu4j.api.doc.jdk.link -> http://docs.oracle.com/javase/7/docs/api/ >Setting project property: release.dir -> release >Setting project property: doc.dir -> doc >Setting project property: cldr.util.out.dir -> out/cldr_util >Setting project property: cldr.release.dir -> release_cldr >Class org.apache.tools.ant.taskdefs.condition.Or loaded from parent loader (parentFirst) >Class org.apache.tools.ant.types.resources.selectors.Or loaded from parent loader (parentFirst) >Class org.apache.tools.ant.taskdefs.condition.Contains loaded from parent loader (parentFirst) >Class org.apache.tools.ant.types.selectors.ContainsSelector loaded from parent loader (parentFirst) >Condition false; not setting is.java6.plus >Condition false; not setting is.java5 >Class org.apache.tools.ant.types.resources.selectors.Not loaded from parent loader (parentFirst) >Class org.apache.tools.ant.taskdefs.condition.IsSet loaded from parent loader (parentFirst) > [fail] failing due to The JDK version is too old or unknown. > >BUILD FAILED >/var/tmp/portage/dev-java/icu4j-56.1/work/build.xml:69: The JDK version is too old or unknown. > at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:162) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) > at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) > at org.apache.tools.ant.Task.perform(Task.java:350) > at org.apache.tools.ant.Target.execute(Target.java:449) > at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:184) > at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:104) > at org.apache.tools.ant.Main.runBuild(Main.java:802) > at org.apache.tools.ant.Main.startAnt(Main.java:223) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) > >Total time: 0 seconds > [31;01m*[0m ERROR: dev-java/icu4j-56.1::gentoo failed (compile phase): > [31;01m*[0m eant failed > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 125: Called src_compile > [31;01m*[0m environment, line 4069: Called java-pkg-2_src_compile > [31;01m*[0m environment, line 1866: Called eant 'jar' '-f' 'build.xml' > [31;01m*[0m environment, line 610: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m ant ${antflags} "${@}" || die "eant failed" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-java/icu4j-56.1::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-java/icu4j-56.1::gentoo'`. >!!! When you file a bug report, please include the following information: >GENTOO_VM=openjdk-11 CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-11" >JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac" >and of course, the output of emerge --info =icu4j-56.1 > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-java/icu4j-56.1/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-java/icu4j-56.1/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-java/icu4j-56.1/work' > [31;01m*[0m S: '/var/tmp/portage/dev-java/icu4j-56.1/work'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 787803
: 705429