2002-07-26 00:24:33 +00:00
|
|
|
<!--
|
2000-03-10 04:18:06 +00:00
|
|
|
/*
|
|
|
|
*******************************************************************************
|
2007-01-06 02:32:49 +00:00
|
|
|
* Copyright (C) 1997-2007, International Business Machines Corporation and *
|
2000-03-10 04:18:06 +00:00
|
|
|
* others. All Rights Reserved. *
|
|
|
|
*******************************************************************************
|
2000-04-13 22:52:41 +00:00
|
|
|
* This is the ant build file for ICU4J. See readme.html for more information.
|
2000-03-10 04:18:06 +00:00
|
|
|
*/
|
|
|
|
-->
|
2000-03-10 01:33:53 +00:00
|
|
|
|
|
|
|
<project name="ICU4J" default="core" basedir=".">
|
|
|
|
|
2003-08-21 23:44:28 +00:00
|
|
|
<!-- ### Begin Clover 1.2 setup ### -->
|
|
|
|
<typedef resource="clovertypes"/>
|
|
|
|
<taskdef resource="clovertasks"/>
|
2002-07-26 00:24:33 +00:00
|
|
|
|
|
|
|
<target name="with.clover">
|
2005-07-07 20:09:39 +00:00
|
|
|
<mkdir dir="tmp/"/>
|
2004-01-12 23:54:16 +00:00
|
|
|
<clover-setup initString="tmp/icu4j.db">
|
2004-06-09 03:58:42 +00:00
|
|
|
<files>
|
2004-01-12 23:54:16 +00:00
|
|
|
<exclude name="**/dev/**/*.java"/>
|
2004-06-11 03:01:01 +00:00
|
|
|
</files>
|
2005-07-07 20:09:39 +00:00
|
|
|
<methodContext name="API" regexp="(.* )?public .*"/>
|
2003-08-21 23:44:28 +00:00
|
|
|
</clover-setup>
|
|
|
|
</target>
|
2004-06-09 03:58:42 +00:00
|
|
|
|
2004-11-21 00:45:16 +00:00
|
|
|
<target name="clover.summary" depends="with.clover">
|
2004-01-12 23:54:16 +00:00
|
|
|
<clover-report >
|
2004-11-21 00:45:16 +00:00
|
|
|
<current outfile="icu4j_html" summary="true">
|
|
|
|
<format type="html" srcLevel="false"/>
|
|
|
|
</current>
|
|
|
|
</clover-report>
|
|
|
|
</target>
|
|
|
|
<target name="clover.report" depends="with.clover">
|
|
|
|
<clover-report >
|
|
|
|
<current outfile="icu4j_html">
|
|
|
|
<format type="html"/>
|
2004-01-12 23:54:16 +00:00
|
|
|
</current>
|
2004-06-09 03:58:42 +00:00
|
|
|
</clover-report>
|
2003-08-21 23:44:28 +00:00
|
|
|
</target>
|
|
|
|
<target name="clover.log" depends="with.clover">
|
2005-07-07 20:09:39 +00:00
|
|
|
<clover-log level="method" filter="private">
|
2004-06-11 03:01:01 +00:00
|
|
|
<package name="com.ibm.icu.text"/>
|
|
|
|
<package name="com.ibm.icu.lang"/>
|
|
|
|
<package name="com.ibm.icu.math"/>
|
2005-07-07 20:09:39 +00:00
|
|
|
<package name="com.ibm.icu.util"/>
|
2004-06-09 03:58:42 +00:00
|
|
|
</clover-log>
|
2003-08-21 23:44:28 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- ### End Clover 1.2 setup ### -->
|
2004-01-12 23:54:16 +00:00
|
|
|
|
2002-12-03 06:27:55 +00:00
|
|
|
<target name="anthack1">
|
2002-12-02 17:04:21 +00:00
|
|
|
<!-- It's a real pain to set properties conditionally.
|
|
|
|
Ant 1.5 isn't really any better than 1.4, in fact 1.5 enforces that
|
|
|
|
properties are write-once so you can't even set a default and then
|
|
|
|
override it, which we used to do for Ant 1.4. -->
|
2002-12-03 06:27:55 +00:00
|
|
|
<condition property="version.1.4">
|
2004-01-12 23:54:16 +00:00
|
|
|
<or>
|
|
|
|
<equals arg1="${ant.java.version}" arg2="1.4"/>
|
2005-03-22 23:07:12 +00:00
|
|
|
<equals arg1="${ant.java.version}" arg2="1.5"/>
|
2006-03-25 00:08:28 +00:00
|
|
|
<equals arg1="${ant.java.version}" arg2="1.6"/>
|
2004-01-12 23:54:16 +00:00
|
|
|
</or>
|
2002-12-02 17:04:21 +00:00
|
|
|
</condition>
|
2005-05-26 17:11:28 +00:00
|
|
|
|
2004-01-12 23:54:16 +00:00
|
|
|
<condition property="doc.params"
|
2006-09-09 02:32:18 +00:00
|
|
|
value="-breakiterator -use -tagletpath ./classes -taglet com.ibm.icu.dev.tool.docs.ICUTaglet -group 'ICU Core' 'com.ibm.icu.lang*:com.ibm.icu.math*:com.ibm.icu.text*:com.ibm.icu.util*:com.ibm.icu.charset' -group 'ICU Tests' 'com.ibm.icu.dev.test*' -group 'Demos' 'com.ibm.icu.dev.demo*' -group 'ICU Tools' 'com.ibm.icu.dev*'">
|
2004-07-08 19:07:32 +00:00
|
|
|
<equals arg1="${version.1.4}" arg2="true"/>
|
|
|
|
</condition>
|
|
|
|
|
2005-05-26 17:11:28 +00:00
|
|
|
<condition property="richeditdoc.params"
|
2004-07-08 19:07:32 +00:00
|
|
|
value="-breakiterator -use -tagletpath ./classes -taglet com.ibm.icu.dev.tool.docs.ICUTaglet -group 'Rich Text Editing' 'com.ibm.richtext*'">
|
2004-01-12 23:54:16 +00:00
|
|
|
<equals arg1="${version.1.4}" arg2="true"/>
|
|
|
|
</condition>
|
2002-12-02 17:04:21 +00:00
|
|
|
</target>
|
|
|
|
|
2002-12-03 06:27:55 +00:00
|
|
|
<target name="anthack2" unless="doc.params">
|
2002-12-02 17:04:21 +00:00
|
|
|
<property name="doc.params" value=""/>
|
|
|
|
</target>
|
|
|
|
|
2002-12-03 06:27:55 +00:00
|
|
|
<target name="init">
|
2001-11-28 18:04:53 +00:00
|
|
|
<tstamp/>
|
|
|
|
<property name="src.dir" value="src"/>
|
|
|
|
<property name="build.dir" value="classes"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
<property name="api.dir" value="${src.dir}/com/ibm/icu/dev/tool/docs"/>
|
2002-08-03 07:43:29 +00:00
|
|
|
<property name="doc.dir" value="doc"/>
|
2003-11-21 19:45:03 +00:00
|
|
|
<property name="testjar.file" value="icu4jtests.jar"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
<property name="jar.file" value="icu4j.jar"/>
|
2006-09-22 00:24:01 +00:00
|
|
|
<property name="charsets.jar.file" value="icu4j-charsets.jar"/>
|
2003-09-17 20:36:51 +00:00
|
|
|
<property name="jarSrc.file" value="icu4jsrc.jar"/>
|
2005-11-05 00:13:48 +00:00
|
|
|
<property name="zipCoreSrc.file" value="icu4jcsrc.zip"/>
|
|
|
|
<property name="zipTestSrc.file" value="icu4jtsrc.zip"/>
|
2006-09-15 18:09:25 +00:00
|
|
|
<property name="jdk.wrapper.jar.file" value="icu4jwrapper.jar"/>
|
2005-11-22 00:54:16 +00:00
|
|
|
<property name="eclipse.dir" value="${src.dir}/com/ibm/icu/dev/eclipse"/>
|
2006-09-15 18:09:25 +00:00
|
|
|
<property name="eclipse.projects.dir" value="eclipseProjects"/>
|
|
|
|
<property name="wrapper.build.dir" value="classes.wrapper"/>
|
2003-09-17 20:36:51 +00:00
|
|
|
<property name="jarDocs.file" value="icu4jdocs.jar"/>
|
2004-04-30 16:50:33 +00:00
|
|
|
<property name="ime.translit.jar.file" value="icutransime.jar"/>
|
2004-04-30 19:52:46 +00:00
|
|
|
<property name="ime.indic.jar.file" value="icuindicime.jar"/>
|
2006-09-23 17:06:12 +00:00
|
|
|
<property name="ime.translit.manifest" value="${src.dir}/com/ibm/icu/dev/tool/ime/translit/manifest.stub"/>
|
|
|
|
<property name="ime.indic.manifest" value="${src.dir}/com/ibm/icu/dev/tool/ime/indic/manifest.stub"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
<property name="zip.file" value="../icu4j${DSTAMP}.zip"/>
|
2002-08-03 07:43:29 +00:00
|
|
|
<property name="zipSrc.file" value="../icu4jSrc${DSTAMP}.zip"/>
|
2007-03-14 02:23:37 +00:00
|
|
|
<property name="tzu.bin.dir" value="${basedir}/icu4jtzu"/>
|
2007-02-21 05:55:07 +00:00
|
|
|
<property name="tzujar.file" value="${tzu.bin.dir}/icutzu.jar"/>
|
2006-09-14 17:22:51 +00:00
|
|
|
<property file="build.properties" />
|
2004-06-07 15:16:34 +00:00
|
|
|
<!-- fix the data folder every time there is a version update-->
|
2006-09-14 17:22:51 +00:00
|
|
|
|
|
|
|
<property name="icu4j.data.path" value="com/ibm/icu/impl/data/icudt${icu4j.version.number}b/" />
|
2004-06-07 15:16:34 +00:00
|
|
|
<property name="icu4j.testdata.path" value="com/ibm/icu/dev/data/testdata/" />
|
2006-03-25 00:08:28 +00:00
|
|
|
<property name="icu4j.javac.source" value="1.3"/>
|
|
|
|
<property name="icu4j.javac.target" value="1.3"/>
|
2004-05-06 05:39:17 +00:00
|
|
|
|
2004-06-09 03:58:42 +00:00
|
|
|
<path id="build.classpath">
|
|
|
|
<pathelement path="${build.dir}"/>
|
|
|
|
</path>
|
2002-07-26 00:24:33 +00:00
|
|
|
|
2002-08-03 07:43:29 +00:00
|
|
|
<property name="richedit.dir" value="richedit"/>
|
|
|
|
<property name="richedit.doc.dir" value="${richedit.dir}/doc"/>
|
|
|
|
<property name="richedit.jar.file" value="${richedit.dir}/richedit.jar"/>
|
|
|
|
<property name="richedit.zip.file" value="${richedit.dir}/richedit.zip"/>
|
|
|
|
<property name="richedit.manifest" value="${src.dir}/com/ibm/richtext/manifest.stub"/>
|
2005-03-28 22:38:41 +00:00
|
|
|
|
|
|
|
<!-- Load environment variables -->
|
|
|
|
<property environment="env"/>
|
|
|
|
|
|
|
|
<!-- Capture the computer name in a cross-platform manner -->
|
|
|
|
<property name="env.COMPUTERNAME" value="${env.HOSTNAME}"/>
|
|
|
|
|
2002-03-18 21:27:45 +00:00
|
|
|
<mkdir dir="${build.dir}"/>
|
2006-09-15 18:09:25 +00:00
|
|
|
<mkdir dir="${wrapper.build.dir}"/>
|
2006-03-25 00:08:28 +00:00
|
|
|
|
2004-06-07 15:16:34 +00:00
|
|
|
<echo message="java home: ${java.home}"/>
|
2002-11-15 22:40:16 +00:00
|
|
|
<echo message="java version: ${java.version}"/>
|
|
|
|
<echo message="ant java version: ${ant.java.version}"/>
|
|
|
|
<echo message="${ant.version}"/>
|
2005-03-28 22:38:41 +00:00
|
|
|
<echo message="${env.COMPUTERNAME} with ${os.name} ${os.version} on ${os.arch}"/>
|
2003-02-05 05:50:05 +00:00
|
|
|
<echo message="clover initstring = '${clover.initstring}'"/>
|
2004-05-06 05:39:17 +00:00
|
|
|
|
2004-06-07 15:16:34 +00:00
|
|
|
<uptodate property="icu4j.resources" targetfile="${src.dir}/com/ibm/icu/impl/data">
|
2004-06-09 03:58:42 +00:00
|
|
|
<!-- note must not have '/' before 'com' in srcfiles includes arg! -->
|
|
|
|
<srcfiles dir="${build.dir}" includes="${icu4j.data.path}/res_index.res"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
</uptodate>
|
2004-05-06 05:39:17 +00:00
|
|
|
|
2004-06-07 15:16:34 +00:00
|
|
|
<uptodate property="icu4j.testdata.resources" targetfile="${src.dir}/com/ibm/icu/dev/data">
|
2004-06-09 03:58:42 +00:00
|
|
|
<!-- note must not have '/' before 'com' in srcfiles includes arg! -->
|
|
|
|
<srcfiles dir="${build.dir}" includes="${icu4j.testdatadata.path}/root.res"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
</uptodate>
|
2004-07-08 19:07:32 +00:00
|
|
|
|
2004-06-11 03:01:01 +00:00
|
|
|
<uptodate property="icu4j.module.resources" targetfile="${src.dir}/com/ibm/icu/impl/data/icudata.jar" >
|
|
|
|
<srcfiles dir="${build.dir}" includes="${icu4j.data.path}/*.icu"/>
|
|
|
|
</uptodate>
|
|
|
|
<!-- <echo message="icu4j.module.resources result: ${icu4j.module.resources}" /> -->
|
2007-01-24 21:54:59 +00:00
|
|
|
<tstamp>
|
|
|
|
<format property="date.time" pattern="yyyy-MM-dd 'at' hh:mm:ss z" locale="en,US"/>
|
|
|
|
</tstamp>
|
|
|
|
<echo message="Initialized at ${date.time}"/>
|
2002-03-16 07:13:36 +00:00
|
|
|
</target>
|
2001-11-28 18:04:53 +00:00
|
|
|
|
2002-08-03 07:43:29 +00:00
|
|
|
<!-- build everything but dist-related stuff -->
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="all" depends="core,tests,tools,richedit,demos,jar,docs" description="build all primary targets"/>
|
2004-05-12 20:52:55 +00:00
|
|
|
|
2006-09-08 15:40:10 +00:00
|
|
|
<target name="resources" depends="init, icudata, coreData, testdata" description="builds all the resources"/>
|
2004-05-06 05:39:17 +00:00
|
|
|
|
2004-05-06 02:07:48 +00:00
|
|
|
<target name="icudata" depends="init" if="icu4j.resources">
|
2004-05-03 21:47:39 +00:00
|
|
|
<!-- use this target to force resources to be rebuilt -->
|
|
|
|
<unjar src="${src.dir}/com/ibm/icu/impl/data/icudata.jar" dest="${build.dir}"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
<touch file="${build.dir}/${icu4j.data.path}/res_index.res"/>
|
2006-09-08 15:40:10 +00:00
|
|
|
<copy todir="${build.dir}/META-INF">
|
|
|
|
<fileset dir="${src.dir}/META-INF" includes="**/*"/>
|
|
|
|
</copy>
|
2004-05-03 21:47:39 +00:00
|
|
|
</target>
|
2004-05-06 05:39:17 +00:00
|
|
|
|
|
|
|
<!--
|
2004-06-09 03:58:42 +00:00
|
|
|
use this target to conditionally build resources only if icu4j.resources is set
|
2004-05-06 02:07:48 +00:00
|
|
|
<target name="icu" depends="init" if="icu4j.resources">
|
2003-01-28 18:55:43 +00:00
|
|
|
<unjar src="${src.dir}/com/ibm/icu/impl/data/ICULocaleData.jar" dest="${build.dir}"/>
|
|
|
|
<touch file="${build.dir}/com/ibm/icu/impl/data/LocaleElements_index.class"/>
|
|
|
|
</target>
|
2004-05-06 02:07:48 +00:00
|
|
|
-->
|
2004-05-12 20:52:55 +00:00
|
|
|
|
2003-01-28 18:55:43 +00:00
|
|
|
<!-- core does not build richedit or tests -->
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="core" depends="init,coreData,icudata" description="build core classes and data">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac sourcepath=""
|
2001-11-28 18:04:53 +00:00
|
|
|
srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2003-08-21 23:44:28 +00:00
|
|
|
debug="on" deprecation="off"
|
2006-10-02 17:36:50 +00:00
|
|
|
encoding="ascii">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
2006-10-04 22:11:26 +00:00
|
|
|
<include name="com/ibm/icu/charset/**/*.java"/>
|
2006-10-02 17:36:50 +00:00
|
|
|
<include name="com/ibm/icu/impl/**/*.java"/>
|
|
|
|
<include name="com/ibm/icu/lang/*.java"/>
|
|
|
|
<include name="com/ibm/icu/math/**/*.java"/>
|
|
|
|
<include name="com/ibm/icu/text/**/*.java"/>
|
|
|
|
<include name="com/ibm/icu/util/**/*.java"/>
|
|
|
|
</javac>
|
2001-11-28 18:04:53 +00:00
|
|
|
</target>
|
2002-07-26 00:24:33 +00:00
|
|
|
|
2005-10-27 23:53:46 +00:00
|
|
|
<target name="tests" depends="core,testdata" description="build tests">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2004-10-05 23:06:55 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/calendar/**/*.java"/>
|
|
|
|
</javac>
|
|
|
|
|
|
|
|
<javac srcdir="${src.dir}"
|
2004-10-05 23:06:55 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/collator/**/*.java"/>
|
|
|
|
|
|
|
|
</javac>
|
|
|
|
|
|
|
|
<javac srcdir="${src.dir}"
|
2004-10-05 23:06:55 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/format/**/*.java"/>
|
|
|
|
</javac>
|
|
|
|
|
|
|
|
<javac srcdir="${src.dir}"
|
2004-10-05 23:06:55 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/translit/**/*.java"/>
|
|
|
|
</javac>
|
|
|
|
|
|
|
|
<javac srcdir="${src.dir}"
|
2004-10-05 23:06:55 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/lang/**/*.java"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/normalizer/**/*.java"/>
|
|
|
|
</javac>
|
|
|
|
|
|
|
|
<javac srcdir="${src.dir}"
|
2005-10-27 23:53:46 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/serializable/**/*.java"/>
|
|
|
|
</javac>
|
|
|
|
|
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/**/*.java"/>
|
|
|
|
</javac>
|
|
|
|
|
2002-02-19 04:10:25 +00:00
|
|
|
</target>
|
2002-07-26 00:24:33 +00:00
|
|
|
|
2005-10-27 23:53:46 +00:00
|
|
|
<target name="demos" depends="core,testdata" description="build demos">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/demo/**/*.java"/>
|
|
|
|
</javac>
|
2001-11-28 18:04:53 +00:00
|
|
|
</target>
|
2002-07-26 00:24:33 +00:00
|
|
|
|
2007-01-06 02:32:49 +00:00
|
|
|
<target name="buildmangle" depends="init,anthack1">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2005-06-16 18:18:40 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
source="${icu4j.javac.source}"
|
2006-10-02 17:36:50 +00:00
|
|
|
target="${icu4j.javac.target}">
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/tool/docs/CodeMangler.java"/>
|
|
|
|
</javac>
|
2005-03-28 18:09:28 +00:00
|
|
|
</target>
|
|
|
|
|
2007-01-06 02:32:49 +00:00
|
|
|
<target name="mangle" depends="buildmangle">
|
2005-03-28 18:09:28 +00:00
|
|
|
<!-- this is a hack for now, need a way to express dependency on the .jpp files
|
|
|
|
and to provide directories or trees of files to the code mangler tool. -->
|
2005-03-29 19:54:26 +00:00
|
|
|
<java classname="com.ibm.icu.dev.tool.docs.CodeMangler" classpath="${build.dir}" logError="true">
|
2005-11-22 00:54:16 +00:00
|
|
|
<arg value="-dVERSION_${ant.java.version}"/>
|
|
|
|
<arg value="${src.dir}/com/ibm/icu/dev/tool/docs/ICUTaglet.java"/>
|
2005-03-28 18:09:28 +00:00
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
2005-11-22 00:54:16 +00:00
|
|
|
<target name="indices" depends="icudata,build_indexgenerator">
|
2005-06-07 17:49:50 +00:00
|
|
|
<java classname="com.ibm.icu.dev.tool.index.IndexGenerator" classpath="${build.dir}" logError="true">
|
2005-11-11 19:04:59 +00:00
|
|
|
<arg value="${build.dir}/${icu4j.data.path}" />
|
2005-06-16 18:18:40 +00:00
|
|
|
</java>
|
2005-06-07 17:49:50 +00:00
|
|
|
<java classname="com.ibm.icu.dev.tool.index.IndexGenerator" classpath="${build.dir}" logError="true">
|
2005-11-11 19:04:59 +00:00
|
|
|
<arg value="${build.dir}/${icu4j.data.path}/rbnf" />
|
2005-06-16 18:18:40 +00:00
|
|
|
</java>
|
2005-06-07 17:49:50 +00:00
|
|
|
<java classname="com.ibm.icu.dev.tool.index.IndexGenerator" classpath="${build.dir}" logError="true">
|
2005-11-11 19:04:59 +00:00
|
|
|
<arg value="${build.dir}/${icu4j.data.path}/coll" />
|
2005-06-16 18:18:40 +00:00
|
|
|
</java>
|
2005-06-07 17:49:50 +00:00
|
|
|
<java classname="com.ibm.icu.dev.tool.index.IndexGenerator" classpath="${build.dir}" logError="true">
|
2005-11-11 19:04:59 +00:00
|
|
|
<arg value="${build.dir}/${icu4j.data.path}/translit" />
|
2005-06-16 18:18:40 +00:00
|
|
|
</java>
|
2005-06-07 17:49:50 +00:00
|
|
|
</target>
|
|
|
|
|
2005-03-28 18:09:28 +00:00
|
|
|
<target name="one4tools" depends="anthack1,anthack2,mangle" if="version.1.4">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/localeconverter/docs/*.java"/>
|
|
|
|
<include name="com/ibm/icu/dev/tool/docs/*.java"/>
|
|
|
|
</javac>
|
2001-11-28 18:04:53 +00:00
|
|
|
</target>
|
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="tools" depends="core,one4tools" description="build tools">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="com/ibm/icu/dev/tool/cldr/*"/>
|
|
|
|
<exclude name="com/ibm/icu/dev/tool/localeconverter/*"/>
|
|
|
|
<exclude name="com/ibm/icu/dev/tool/docs/*"/>
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/tool/**/*.java"/>
|
|
|
|
</javac>
|
2002-12-03 06:27:55 +00:00
|
|
|
</target>
|
2004-01-12 23:54:16 +00:00
|
|
|
|
2007-01-06 02:32:49 +00:00
|
|
|
<target name="build_indexgenerator" >
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2005-11-22 00:54:16 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/tool/index/IndexGenerator.java"/>
|
|
|
|
</javac>
|
2005-11-22 00:54:16 +00:00
|
|
|
</target>
|
|
|
|
|
2006-09-14 17:22:51 +00:00
|
|
|
<!-- use excludefiles below when we move to ant 1.5 -->
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="docs" depends="anthack1,anthack2,tools" description="build user javadoc">
|
2002-12-03 06:27:55 +00:00
|
|
|
<echo message="doc params: ${doc.params}"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
<mkdir dir="${doc.dir}"/>
|
2002-12-05 21:34:12 +00:00
|
|
|
<javadoc
|
2006-09-09 02:32:18 +00:00
|
|
|
packagenames="com.ibm.icu.lang,com.ibm.icu.text,com.ibm.icu.util,com.ibm.icu.math,com.ibm.icu.charset,com.ibm.icu.dev"
|
2004-07-08 19:07:32 +00:00
|
|
|
sourcepath="${src.dir}"
|
|
|
|
destdir="${doc.dir}"
|
|
|
|
nodeprecatedlist="true"
|
|
|
|
windowtitle="icu4j"
|
|
|
|
doctitle="icu4j"
|
|
|
|
encoding="iso-8859-1"
|
|
|
|
docencoding="iso-8859-1"
|
2006-09-14 17:22:51 +00:00
|
|
|
bottom="<font size=-1>Copyright (c) ${current.year} IBM Corporation and others.</font>"
|
2004-07-08 19:07:32 +00:00
|
|
|
additionalparam="${doc.params}"
|
2005-03-28 18:09:28 +00:00
|
|
|
link="http://java.sun.com/j2se/1.5/docs/api"
|
2004-07-08 19:07:32 +00:00
|
|
|
source="1.4"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="fulldocs" depends="anthack1,anthack2,tools" description="build all javadoc">
|
|
|
|
<echo message="doc params: ${doc.params}"/>
|
|
|
|
<mkdir dir="${doc.dir}"/>
|
|
|
|
<javadoc
|
|
|
|
packagenames="com.ibm.icu.*"
|
2001-11-28 18:04:53 +00:00
|
|
|
sourcepath="${src.dir}"
|
|
|
|
destdir="${doc.dir}"
|
|
|
|
nodeprecatedlist="true"
|
2004-02-19 00:30:53 +00:00
|
|
|
windowtitle="icu4j"
|
|
|
|
doctitle="icu4j"
|
|
|
|
encoding="iso-8859-1"
|
|
|
|
docencoding="iso-8859-1"
|
2004-05-03 21:47:39 +00:00
|
|
|
bottom="<font size=-1>Copyright (c) 2004 IBM Corporation and others.</font>"
|
2004-02-19 00:30:53 +00:00
|
|
|
additionalparam="${doc.params}"
|
|
|
|
link="http://java.sun.com/j2se/1.4/docs/api"
|
2004-06-09 03:58:42 +00:00
|
|
|
source="1.4"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name ="coreData" depends="init">
|
2002-02-19 04:10:25 +00:00
|
|
|
<copy todir="${build.dir}/com/ibm/icu/impl/data">
|
2004-06-09 03:58:42 +00:00
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/impl/data"
|
2004-11-15 21:55:22 +00:00
|
|
|
includes="*.icu,*.spp,*.brk"
|
2004-06-09 03:58:42 +00:00
|
|
|
excludes="**/CVS/**/*,Transliterator_Han_Latin_*.txt"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
|
2005-10-27 23:53:46 +00:00
|
|
|
<target name ="testdata" depends="init">
|
2002-02-19 04:10:25 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/data/rbbi/english.dict"
|
2005-05-26 17:11:28 +00:00
|
|
|
todir="${build.dir}/com/ibm/icu/dev/data/rbbi"/>
|
2004-05-06 05:39:17 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/test/rbbi/rbbitst.txt"
|
2005-05-26 17:11:28 +00:00
|
|
|
todir="${build.dir}/com/ibm/icu/dev/test/rbbi"/>
|
2005-06-02 20:39:24 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/test/charsetdet/CharsetDetectionTests.xml"
|
2005-06-16 18:18:40 +00:00
|
|
|
todir="${build.dir}/com/ibm/icu/dev/test/charsetdet"/>
|
2005-10-29 00:35:11 +00:00
|
|
|
<copy todir="${build.dir}/com/ibm/icu/dev/test/serializable/data">
|
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/dev/test/serializable/data">
|
|
|
|
<include name="**/*.dat"/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
2004-11-20 04:50:15 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/data/riwords.txt"
|
|
|
|
todir="${build.dir}/com/ibm/icu/dev/data"/>
|
2005-06-16 18:18:40 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/data/IDNATestInput.txt"
|
|
|
|
todir="${build.dir}/com/ibm/icu/dev/data"/>
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2004-06-09 03:58:42 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/data/*.java"/>
|
|
|
|
<include name="com/ibm/icu/dev/data/resources/*.java"/>
|
|
|
|
</javac>
|
2004-06-09 03:58:42 +00:00
|
|
|
<copy todir="${build.dir}/com/ibm/icu/dev/data">
|
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/dev/data"
|
2005-06-01 06:04:36 +00:00
|
|
|
includes="*.spp,*.txt"/>
|
2003-08-21 23:44:28 +00:00
|
|
|
</copy>
|
2005-06-01 06:04:36 +00:00
|
|
|
<copy todir="${build.dir}/com/ibm/icu/dev/data/unicode/">
|
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/dev/data/unicode/"
|
2005-05-26 17:11:28 +00:00
|
|
|
includes="*.txt"/>
|
|
|
|
</copy>
|
2004-03-24 18:40:35 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/test/format/NumberFormatTestCases.txt"
|
2004-06-09 03:58:42 +00:00
|
|
|
todir="${build.dir}/com/ibm/icu/dev/test/format"/>
|
2005-10-29 00:35:11 +00:00
|
|
|
<copy todir="${build.dir}/com/ibm/icu/dev/data/resources/">
|
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/dev/data/resources/"
|
|
|
|
includes="*.properties"/>
|
|
|
|
</copy>
|
2005-10-27 23:53:46 +00:00
|
|
|
<!-- use this target to force resources to be rebuilt -->
|
|
|
|
<unjar src="${src.dir}/com/ibm/icu/dev/data/testdata.jar" dest="${build.dir}"/>
|
|
|
|
<touch file="${build.dir}/${icu4j.testdata.path}/root.res"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
</target>
|
2002-07-26 00:24:33 +00:00
|
|
|
|
2002-08-03 07:43:29 +00:00
|
|
|
<!-- builds richedit and richedit tests -->
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="richedit" depends="init" description="build richedit classes and tests">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<include name="com/ibm/richtext/**/*.java"/>
|
|
|
|
</javac>
|
2002-12-12 23:26:57 +00:00
|
|
|
<copy todir="${build.dir}/com/ibm/richtext/textapps/resources" overwrite="yes" includeEmptyDirs="no">
|
|
|
|
<fileset dir="${src.dir}/com/ibm/richtext/textapps/resources" includes="*.red"/>
|
|
|
|
</copy>
|
2002-08-03 07:43:29 +00:00
|
|
|
</target>
|
|
|
|
|
2004-01-12 23:54:16 +00:00
|
|
|
<!-- Creates the 3 release jar archives for distribution -->
|
|
|
|
<target name="jarRelease" depends="jar,jarSrc,jarDocs"/>
|
|
|
|
|
2006-09-23 17:06:12 +00:00
|
|
|
<target name="jar" depends="core,indices,charsetsJar" description="build 'icu4j.jar' jar file">
|
2006-09-27 00:54:22 +00:00
|
|
|
<jar jarfile="${jar.file}" compress="true">
|
|
|
|
<fileset dir="${basedir}" includes="license.html, unicode-license.txt" />
|
|
|
|
<fileset dir="${build.dir}"
|
|
|
|
includes="com/ibm/icu/util/**/*,com/ibm/icu/text/**/*,com/ibm/icu/math/**/*,com/ibm/icu/impl/**/*,com/ibm/icu/lang/**/*"
|
|
|
|
excludes="META-INF/services/**/*,com/ibm/icu/charset/**/*,${icu4j.data.path}/*.cnv, ${icu4j.data.path}/cnvalias.icu"/>
|
2006-09-23 17:06:12 +00:00
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="ICU4J"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value=" ICU for Java"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
2001-11-28 18:04:53 +00:00
|
|
|
</target>
|
2006-09-22 00:24:01 +00:00
|
|
|
|
|
|
|
<target name="charsetsJar" depends="core,indices" description="build 'icu4j-charstes.jar' jar file">
|
2006-09-27 00:54:22 +00:00
|
|
|
<jar jarfile="${charsets.jar.file}" compress="true">
|
|
|
|
<fileset dir="${basedir}" includes="license.html, unicode-license.txt" />
|
|
|
|
<fileset dir="${build.dir}"
|
|
|
|
includes="META-INF/services/**/*,com/ibm/icu/charset/**/*,${icu4j.data.path}/*.cnv, ${icu4j.data.path}/cnvalias.icu"/>
|
2006-09-22 00:24:01 +00:00
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="ICU4J Charsets"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value=" ICU for Java Charsets"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
</target>
|
|
|
|
|
2005-10-27 23:53:46 +00:00
|
|
|
<target name="jarTests" depends="tests,jar" description="build runtime 'icu4jtests.jar' jar file">
|
2006-09-25 23:22:05 +00:00
|
|
|
<jar jarfile="${testjar.file}" compress="true">
|
2004-02-06 21:54:06 +00:00
|
|
|
<fileset dir="${build.dir}" includes="com/ibm/icu/dev/test/**/*"/>
|
2006-10-19 21:03:00 +00:00
|
|
|
<fileset dir="${build.dir}" includes="com/ibm/icu/dev/data/**/*"/>
|
2006-09-25 23:22:05 +00:00
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="ICU4J Tests"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value=" ICU for Java Tests"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
2004-02-06 21:54:06 +00:00
|
|
|
</jar>
|
2003-11-21 19:45:03 +00:00
|
|
|
</target>
|
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="jarSrc" depends="init" description="build source 'icu4jsrc.jar' jar file">
|
2003-09-17 20:36:51 +00:00
|
|
|
<!--Create a jar archive of just the source for distribution. The
|
2004-01-30 19:17:51 +00:00
|
|
|
jar file will be created in the directory above the root ICU4J
|
2003-09-17 20:36:51 +00:00
|
|
|
directory. The exclude pattern ${src.dir}/com/ibm/icu/dev/data/unicode/UnicodeData-*.txt
|
|
|
|
and ${src.dir}/com/ibm/icu/dev/data/unicode/SpecialCasing-*.txt
|
|
|
|
eliminates old archive copies like SpecialCasing-2.txt and
|
|
|
|
UnicodeData-2.1.8.txt -->
|
|
|
|
<jar jarfile="${jarSrc.file}"
|
|
|
|
compress="true"
|
|
|
|
basedir="."
|
2006-09-23 17:06:12 +00:00
|
|
|
excludes="${richedit.dir}/**/*,test_*,${src.dir}/com/ibm/icu/dev/data/unicode//UnicodeData-*.txt,${src.dir}/com/ibm/icu/dev/data/unicode/SpecialCasing-*.txt,${src.dir}/com/ibm/icu/dev/data/unicode/CompositionExclusions-*.txt,${obsolete.dir}/**,**/*~,${src.dir}/**/*.class,${build.dir}/**,**/CVS/**/*,${doc.dir}/**,*.jar,*.zip, *.gz">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="ICU4J Source Files"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value=" ICU for Java"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
2003-09-17 20:36:51 +00:00
|
|
|
</target>
|
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="jarDocs" depends="docs" description="build documentation 'icu4jdocs.jar' jar file">
|
2003-09-17 20:36:51 +00:00
|
|
|
<jar jarfile="${jarDocs.file}"
|
|
|
|
compress="true"
|
2006-09-23 17:06:12 +00:00
|
|
|
basedir="${doc.dir}">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="ICU4J Source Files"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value=" ICU for Java"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
2003-09-17 20:36:51 +00:00
|
|
|
</target>
|
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="translitIMEJar" depends="collator, transliterator" description="build transliterator IME 'icutransime.jar' jar file">
|
2006-03-25 00:08:28 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/tool/ime/translit/*.java"
|
|
|
|
excludes="**/CVS/**/*"
|
|
|
|
srcdir="${src.dir}"
|
2004-04-20 14:44:09 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-03-25 00:08:28 +00:00
|
|
|
debug="on" deprecation="off"/>
|
2004-04-30 16:50:33 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/tool/ime/translit/Transliterator.properties"
|
2004-06-09 03:58:42 +00:00
|
|
|
todir="${build.dir}/com/ibm/icu/dev/tool/ime/translit"/>
|
2004-04-30 16:50:33 +00:00
|
|
|
<jar jarfile="${ime.translit.jar.file}"
|
2004-04-20 14:44:09 +00:00
|
|
|
compress="true"
|
2004-06-07 15:16:34 +00:00
|
|
|
basedir="${build.dir}"
|
2004-04-30 16:50:33 +00:00
|
|
|
includes="com/ibm/icu/dev/tool/ime/translit/**/*"
|
|
|
|
manifest="${ime.translit.manifest}">
|
2004-06-07 15:16:34 +00:00
|
|
|
<metainf dir="${src.dir}/com/ibm/icu/dev/tool/ime/translit" includes="services/*"/>
|
|
|
|
</jar>
|
2004-04-20 14:44:09 +00:00
|
|
|
</target>
|
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="indicIMEJar" depends="init" description="build indic IME 'icuindicime.jar' jar file">
|
2006-03-25 00:08:28 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/tool/ime/indic/*.java"
|
|
|
|
excludes="**/CVS/**/*"
|
|
|
|
srcdir="${src.dir}"
|
2004-04-30 19:52:46 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-03-25 00:08:28 +00:00
|
|
|
debug="on" deprecation="off"/>
|
2004-04-30 19:52:46 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/tool/ime/indic/DisplayNames.properties"
|
2004-06-09 03:58:42 +00:00
|
|
|
todir="${build.dir}/com/ibm/icu/dev/tool/ime/indic"/>
|
2004-04-30 19:52:46 +00:00
|
|
|
<jar jarfile="${ime.indic.jar.file}"
|
|
|
|
compress="true"
|
2004-06-07 15:16:34 +00:00
|
|
|
basedir="${build.dir}"
|
2004-04-30 19:52:46 +00:00
|
|
|
includes="com/ibm/icu/dev/tool/ime/indic/**/*"
|
|
|
|
manifest="${ime.indic.manifest}">
|
2004-06-07 15:16:34 +00:00
|
|
|
<metainf dir="${src.dir}/com/ibm/icu/dev/tool/ime/indic" includes="services/*"/>
|
|
|
|
</jar>
|
2004-04-30 19:52:46 +00:00
|
|
|
</target>
|
|
|
|
|
2004-04-30 16:50:33 +00:00
|
|
|
<!--
|
|
|
|
<target name="translitimeStandaloneJar" depends="collator, transliterator">
|
|
|
|
<javac includes="com/ibm/icu/dev/tool/ime/translit/*.java"
|
2004-04-20 14:44:09 +00:00
|
|
|
excludes="**/CVS/**/*"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2004-04-20 14:44:09 +00:00
|
|
|
debug="on" deprecation="off"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
<copy toDir="${build.dir}/com/ibm/icu/dev/tool/ime/translit">
|
2004-06-09 03:58:42 +00:00
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/dev/tool/ime/translit" includes="*.properties"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
</copy>
|
2004-04-20 14:44:09 +00:00
|
|
|
<jar jarfile="${ime.jar.file}"
|
|
|
|
compress="true"
|
2004-06-07 15:16:34 +00:00
|
|
|
basedir="${build.dir}"
|
2004-04-30 16:50:33 +00:00
|
|
|
includes="com/ibm/icu/util/**/*,com/ibm/icu/text/**/*,com/ibm/icu/math/**/*,com/ibm/icu/impl/**/*,com/ibm/icu/lang/**/*,com/ibm/icu/dev/tool/ime/translit/**/*"
|
|
|
|
manifest="${ime.translit.manifest}">
|
2004-06-07 15:16:34 +00:00
|
|
|
<metainf dir="${src.dir}/com/ibm/icu/dev/tool/ime/translit" includes="services/*"/>
|
|
|
|
</jar>
|
2004-04-20 14:44:09 +00:00
|
|
|
</target>
|
2004-04-30 16:50:33 +00:00
|
|
|
-->
|
2004-04-20 14:44:09 +00:00
|
|
|
|
2002-08-03 07:43:29 +00:00
|
|
|
<!-- jars up richedit but without tests -->
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="richeditJar" depends="richedit" description="build richedit runtime 'richedit.jar' jar file">
|
2002-08-03 07:43:29 +00:00
|
|
|
<mkdir dir="${richedit.dir}"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
<jar jarfile="${richedit.jar.file}"
|
2004-01-12 23:54:16 +00:00
|
|
|
compress="true"
|
2002-08-03 07:43:29 +00:00
|
|
|
includes="com/ibm/richtext/**/*"
|
2003-01-28 18:55:43 +00:00
|
|
|
excludes="com/ibm/richtext/test/**/*"
|
2001-11-28 18:04:53 +00:00
|
|
|
basedir="${build.dir}"
|
|
|
|
manifest="${richedit.manifest}"/>
|
|
|
|
</target>
|
2000-04-21 00:19:24 +00:00
|
|
|
|
2002-07-26 00:24:33 +00:00
|
|
|
<!--
|
2000-04-24 17:14:39 +00:00
|
|
|
Note: I used to use -linkoffline http://java.sun.com/products/jdk/1.2/docs/api/ C:\jdk1.2.2\docs\api
|
|
|
|
This links to core docs on Sun's site - a very nice feature. But it requires the 1.2 docs to be
|
|
|
|
on the build machine at a known location.
|
|
|
|
-->
|
2001-11-28 18:04:53 +00:00
|
|
|
|
2002-08-03 07:43:29 +00:00
|
|
|
<!-- the 'public' docs for richedit -->
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="richeditDocs" depends="init" description="build richedit javadoc">
|
2001-11-28 18:04:53 +00:00
|
|
|
<mkdir dir="${richedit.doc.dir}"/>
|
2002-12-12 23:26:57 +00:00
|
|
|
<javadoc packagenames="com.ibm.richtext.demo,com.ibm.richtext.awtui,com.ibm.richtext.swingui,com.ibm.richtext.textpanel,com.ibm.richtext.styledtext,com.ibm.richtext.textlayout.attributes,com.ibm.richtext.print"
|
2001-11-28 18:04:53 +00:00
|
|
|
sourcepath="${src.dir}"
|
|
|
|
destdir="${richedit.doc.dir}"
|
|
|
|
nodeprecatedlist="true"
|
2003-01-28 18:55:43 +00:00
|
|
|
windowtitle="RichEdit Control"
|
|
|
|
doctitle="RichEdit Control"
|
|
|
|
encoding="iso-8859-1"
|
|
|
|
docencoding="iso-8859-1"
|
2004-07-08 19:07:32 +00:00
|
|
|
bottom="<font size=-1>Copyright (c) 1998-2004 IBM Corporation and others.</font>"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
</target>
|
|
|
|
|
2002-08-03 07:43:29 +00:00
|
|
|
<!-- richedit alphaworks distribution - jar and docs, but no source -->
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="richeditZip" depends="richeditJar,richeditDocs" description="build richedit zip file">
|
2001-11-28 18:04:53 +00:00
|
|
|
<!--Create a zip archive of the richedit jar and readme -->
|
2004-06-09 03:58:42 +00:00
|
|
|
<copy file="license.html" todir="${richedit.dir}"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
<zip zipfile="${richedit.zip.file}"
|
2002-08-03 07:43:29 +00:00
|
|
|
basedir="${richedit.dir}"
|
|
|
|
includes="doc/**/*,richedit.jar,license.html"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
</target>
|
2005-10-29 00:35:11 +00:00
|
|
|
<target name="deleteCore" depends="init" >
|
|
|
|
<delete failonerror="no">
|
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/text"/>
|
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/impl"/>
|
2005-10-10 23:40:49 +00:00
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/math"/>
|
2005-10-29 00:35:11 +00:00
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/lang"/>
|
2006-09-23 17:24:07 +00:00
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/util"/>
|
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/charset"/>
|
2005-10-29 00:35:11 +00:00
|
|
|
</delete>
|
|
|
|
</target>
|
2006-09-23 17:06:12 +00:00
|
|
|
<target name="check" depends="tests, jar, deleteCore" description="run standard icu4j test suite">
|
2005-10-29 00:35:11 +00:00
|
|
|
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true">
|
|
|
|
<jvmarg value="-ea"/> <!-- enable assertion checks -->
|
|
|
|
<arg value="-n"/>
|
|
|
|
<classpath>
|
|
|
|
<pathelement path="${java.class.path}/"/>
|
2006-09-22 00:24:01 +00:00
|
|
|
<pathelement location="${jar.file}"/>
|
|
|
|
<pathelement location="${charsets.jar.file}"/>
|
2005-10-29 00:35:11 +00:00
|
|
|
<pathelement location="clover.jar"/>
|
|
|
|
<pathelement path="${build.dir}"/>
|
|
|
|
</classpath>
|
|
|
|
</java>
|
|
|
|
</target>
|
2006-03-25 00:08:28 +00:00
|
|
|
|
2005-12-15 23:49:57 +00:00
|
|
|
<target name="exhaustiveCheck" depends="tests, jar, deleteCore" description="run standard icu4j test suite in exhaustive mode">
|
|
|
|
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true">
|
|
|
|
<jvmarg value="-ea"/> <!-- enable assertion checks -->
|
2006-09-29 04:14:02 +00:00
|
|
|
<jvmarg value="-Xmx128m"/> <!-- set the max heap size to 128m -->
|
2005-12-15 23:49:57 +00:00
|
|
|
<arg value="-n"/>
|
|
|
|
<arg value="-e10"/>
|
|
|
|
<classpath>
|
|
|
|
<pathelement path="${java.class.path}/"/>
|
2006-09-22 00:24:01 +00:00
|
|
|
<pathelement location="${jar.file}"/>
|
|
|
|
<pathelement location="${charsets.jar.file}"/>
|
2005-12-15 23:49:57 +00:00
|
|
|
<pathelement location="clover.jar"/>
|
|
|
|
<pathelement path="${build.dir}"/>
|
|
|
|
</classpath>
|
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
2005-10-29 00:35:11 +00:00
|
|
|
<target name="secure" depends="jarTests" description="builds icu4j.jar and icu4jtests.jar"/>
|
|
|
|
|
|
|
|
<target name="secureCheck" depends="secure" description="run secure (applet-like) icu4j test suite">
|
2005-06-16 18:18:40 +00:00
|
|
|
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true">
|
|
|
|
<!-- jvmarg value="-verbose"/ -->
|
|
|
|
<!-- (use for debugging, LOTS of output) <jvmarg value="-Djava.security.debug=access:trace"/ -->
|
|
|
|
<!-- <jvmarg value="-Djava.security.debug=access:failure,domain"/> -->
|
|
|
|
<jvmarg value="-Djava.security.manager"/>
|
|
|
|
<jvmarg value="-Djava.security.policy=${src.dir}/com/ibm/icu/dev/test/security.policy"/>
|
2006-09-25 23:22:05 +00:00
|
|
|
<!--<jvmarg value="-Djava.security.debug=access:failure"/>-->
|
|
|
|
<arg value="-w"/>
|
2006-10-20 22:27:27 +00:00
|
|
|
<arg value="-nothrow"/>
|
2005-06-16 18:18:40 +00:00
|
|
|
<classpath>
|
|
|
|
<pathelement location="clover.jar"/>
|
|
|
|
<pathelement location="${jar.file}"/>
|
2006-09-22 00:24:01 +00:00
|
|
|
<pathelement location="${charsets.jar.file}"/>
|
2005-06-16 18:18:40 +00:00
|
|
|
<pathelement location="${testjar.file}"/>
|
|
|
|
</classpath>
|
|
|
|
</java>
|
2005-06-14 23:25:51 +00:00
|
|
|
</target>
|
2005-10-27 23:53:46 +00:00
|
|
|
|
2005-10-29 00:35:11 +00:00
|
|
|
<target name="noData" depends="core, tests" description="builds ICU4J without any data">
|
2005-06-22 18:40:37 +00:00
|
|
|
<delete failonerror="no">
|
2005-10-29 00:35:11 +00:00
|
|
|
<fileset dir="${build.dir}/${icu4j.data.path}/../" includes="Holiday*.class"/>
|
|
|
|
<fileset dir="${build.dir}/${icu4j.data.path}/../" includes="BreakIterator*.class"/>
|
2005-06-16 18:18:40 +00:00
|
|
|
<fileset dir="${build.dir}/${icu4j.data.path}"/>
|
2005-10-29 00:35:11 +00:00
|
|
|
<fileset dir="${build.dir}/${icu4j.testdata.path}"/>
|
|
|
|
<fileset dir="${build.dir}/${icu4j.testdata.path}../"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
2005-10-27 23:53:46 +00:00
|
|
|
<target name="noDataCheck" depends="noData" description="runs the tests when no data is present">
|
2005-06-16 18:18:40 +00:00
|
|
|
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true">
|
|
|
|
<arg value="-nothrow"/>
|
|
|
|
<arg value="-nodata"/>
|
|
|
|
<classpath>
|
|
|
|
<pathelement location="clover.jar"/>
|
|
|
|
<pathelement location="${build.dir}"/>
|
|
|
|
</classpath>
|
|
|
|
</java>
|
2003-11-14 21:56:54 +00:00
|
|
|
</target>
|
2002-12-03 06:27:55 +00:00
|
|
|
<target name="_requires14" unless="version.1.4">
|
|
|
|
<echo message="One of your targets requires JAVA_HOME to be set to JDK version 1.4"/>
|
|
|
|
</target>
|
2002-12-02 05:45:46 +00:00
|
|
|
|
2002-12-03 06:27:55 +00:00
|
|
|
<target name="_checktags" depends="anthack1,anthack2,tools" if="version.1.4">
|
|
|
|
<echo message="doc params: ${doc.params}"/>
|
2003-01-28 18:55:43 +00:00
|
|
|
<javadoc sourcepath="${src.dir}"
|
2004-06-09 03:58:42 +00:00
|
|
|
packagenames="com.ibm.icu.*"
|
|
|
|
excludepackagenames="com.ibm.icu.dev.*,com.ibm.icu.impl.*"
|
|
|
|
classpath="${build.dir}"
|
|
|
|
source="1.4">
|
2002-12-02 05:45:46 +00:00
|
|
|
<doclet name="com.ibm.icu.dev.tool.docs.CheckTags"
|
2004-06-09 03:58:42 +00:00
|
|
|
path="${build.dir}">
|
2004-11-02 19:39:54 +00:00
|
|
|
<!-- <param name="-short"/> -->
|
2003-01-28 18:55:43 +00:00
|
|
|
</doclet>
|
2002-12-02 05:45:46 +00:00
|
|
|
</javadoc>
|
|
|
|
</target>
|
|
|
|
|
2004-11-05 20:14:31 +00:00
|
|
|
<target name="checktags" depends="anthack1,anthack2,_requires14,_checktags" description="check API tags before release"/>
|
2002-12-03 06:27:55 +00:00
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="gatherapi" depends="tools" if="version.1.4" description="run API database generator tool">
|
2004-06-07 15:16:34 +00:00
|
|
|
<javadoc classpath="${build.dir}"
|
2004-06-09 03:58:42 +00:00
|
|
|
sourcepath="${src.dir}"
|
|
|
|
packagenames="com.ibm.icu.lang,com.ibm.icu.math,com.ibm.icu.text,com.ibm.icu.util"
|
|
|
|
source="1.4">
|
2004-06-07 15:16:34 +00:00
|
|
|
<doclet name="com.ibm.icu.dev.tool.docs.GatherAPIData"
|
2004-06-09 03:58:42 +00:00
|
|
|
path="${build.dir}">
|
2006-09-14 17:22:51 +00:00
|
|
|
<param name="-name" value="ICU4J ${icu4j.version.string}"/>
|
|
|
|
<param name="-output" value="${api.dir}/icu4j${icu4j.version.number}.api"/>
|
2006-09-01 00:58:35 +00:00
|
|
|
<param name="-internal"/>
|
2004-06-10 08:10:17 +00:00
|
|
|
<param name="-gzip"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
</doclet>
|
|
|
|
</javadoc>
|
|
|
|
</target>
|
|
|
|
|
2006-09-14 17:22:51 +00:00
|
|
|
<target name="apireport" depends="tools, gatherapi" if="version.1.4" description="run API report generator tool">
|
2004-11-22 23:37:05 +00:00
|
|
|
<java classname="com.ibm.icu.dev.tool.docs.ReportAPI" classpath="${build.dir}" failonerror="true">
|
2004-06-07 15:16:34 +00:00
|
|
|
<arg value="-old:"/>
|
2006-09-14 17:22:51 +00:00
|
|
|
<arg value="${api.dir}/icu4j${icu4j.previous.version.number}.api.gz"/>
|
2006-08-23 21:28:11 +00:00
|
|
|
<arg value="-new:"/>
|
2006-09-14 17:22:51 +00:00
|
|
|
<arg value="${api.dir}/icu4j${icu4j.version.number}.api.gz"/>
|
2005-06-16 18:18:40 +00:00
|
|
|
<arg value="-html"/>
|
2006-09-01 00:58:35 +00:00
|
|
|
<arg value="-internal"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
<arg value="-out:"/>
|
2006-09-14 17:22:51 +00:00
|
|
|
<arg value="${api.report.out}"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="clean" depends="init" description="remove all build targets">
|
2001-11-28 18:04:53 +00:00
|
|
|
<delete dir="${build.dir}"/>
|
|
|
|
<delete dir="${doc.dir}"/>
|
2002-08-03 07:43:29 +00:00
|
|
|
<delete file="${jar.file}"/>
|
2006-09-23 17:27:34 +00:00
|
|
|
<delete file="${charsets.jar.file}"/>
|
2004-06-09 03:58:42 +00:00
|
|
|
<delete dir="${richedit.dir}"/>
|
2006-09-15 18:09:25 +00:00
|
|
|
<delete file="${testjar.file}"/>
|
|
|
|
<delete file="${jarSrc.file}"/>
|
|
|
|
|
|
|
|
<delete dir="${eclipse.projects.dir}"/>
|
|
|
|
<delete dir="${wrapper.build.dir}"/>
|
|
|
|
<delete file="${zipCoreSrc.file}"/>
|
|
|
|
<delete file="${zipTestSrc.file}"/>
|
|
|
|
<delete file="${jdk.wrapper.jar.file}"/>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to copy the required *.icu files
|
|
|
|
-->
|
2004-06-11 03:01:01 +00:00
|
|
|
<target name="normalizerData" depends="init" >
|
2004-06-07 15:16:34 +00:00
|
|
|
<unjar src="${src.dir}/com/ibm/icu/impl/data/icudata.jar" dest="${build.dir}">
|
|
|
|
<patternset>
|
2004-05-25 04:06:55 +00:00
|
|
|
<!-- arrgh, includes attributes of patternset does not work here in ant 1.5.3 -->
|
2004-06-07 15:16:34 +00:00
|
|
|
<include name="**/unorm.icu"/>
|
|
|
|
<include name="**/uprops.icu"/>
|
|
|
|
<include name="**/pnames.icu"/>
|
2004-06-11 03:01:01 +00:00
|
|
|
<include name="**/unames.icu"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
</patternset>
|
|
|
|
</unjar>
|
2004-06-11 03:01:01 +00:00
|
|
|
<touch file="${build.dir}/${icu4j.data.path}/uprops.icu"/>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
|
|
|
|
2004-06-11 03:01:01 +00:00
|
|
|
<target name="copyFullPropsData" depends="init" >
|
2004-06-07 15:16:34 +00:00
|
|
|
<unjar src="${src.dir}/com/ibm/icu/impl/data/icudata.jar" dest="${build.dir}">
|
|
|
|
<patternset>
|
2004-05-25 04:06:55 +00:00
|
|
|
<!-- arrgh, includes attributes of patternset does not work here in ant 1.5.3 -->
|
2004-06-07 15:16:34 +00:00
|
|
|
<include name="**/unorm.icu"/>
|
|
|
|
<include name="**/uprops.icu"/>
|
2005-02-17 05:00:07 +00:00
|
|
|
<include name="**/ubidi.icu"/>
|
|
|
|
<include name="**/ucase.icu"/>
|
2004-06-11 03:01:01 +00:00
|
|
|
<include name="**/unames.icu"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
<include name="**/pnames.icu"/>
|
2004-06-11 03:01:01 +00:00
|
|
|
<include name="**/*.res"/>
|
|
|
|
<include name="**/*.brk"/>
|
2004-11-23 00:11:19 +00:00
|
|
|
<exclude name="**/coll/*.res"/>
|
|
|
|
<exclude name="**/translit/*.res"/>
|
|
|
|
<exclude name="**/rbnf/*.res"/>
|
2004-06-07 15:16:34 +00:00
|
|
|
</patternset>
|
|
|
|
</unjar>
|
2004-06-11 03:01:01 +00:00
|
|
|
<touch file="${build.dir}/${icu4j.data.path}/uprops.icu"/>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
2004-06-11 22:00:35 +00:00
|
|
|
|
2004-06-11 03:01:01 +00:00
|
|
|
<target name="copyBasicPropsData" depends="init" >
|
|
|
|
<unjar src="${src.dir}/com/ibm/icu/impl/data/icudata.jar" dest="${build.dir}">
|
|
|
|
<patternset>
|
|
|
|
<!-- arrgh, includes attributes of patternset does not work here in ant 1.5.3 -->
|
|
|
|
<include name="**/unorm.icu"/>
|
|
|
|
<include name="**/uprops.icu"/>
|
2005-02-17 05:00:07 +00:00
|
|
|
<include name="**/ubidi.icu"/>
|
|
|
|
<include name="**/ucase.icu"/>
|
2004-06-11 03:01:01 +00:00
|
|
|
<include name="**/pnames.icu"/>
|
|
|
|
<include name="**/unames.icu"/>
|
|
|
|
</patternset>
|
|
|
|
</unjar>
|
|
|
|
<touch file="${build.dir}/${icu4j.data.path}/uprops.icu"/>
|
|
|
|
</target>
|
2004-06-11 22:00:35 +00:00
|
|
|
|
2004-06-11 03:01:01 +00:00
|
|
|
<target name="copyCollatorData" depends="init">
|
|
|
|
<unjar src="${src.dir}/com/ibm/icu/impl/data/icudata.jar" dest="${build.dir}">
|
|
|
|
<patternset>
|
|
|
|
<!-- arrgh, includes attributes of patternset does not work here in ant 1.5.3 -->
|
|
|
|
<include name="**/*.icu"/>
|
|
|
|
<include name="**/coll/*.res"/>
|
|
|
|
<include name="**/*.brk"/>
|
|
|
|
</patternset>
|
|
|
|
</unjar>
|
|
|
|
<touch file="${build.dir}/${icu4j.data.path}/uprops.icu"/>
|
|
|
|
</target>
|
2004-06-11 22:00:35 +00:00
|
|
|
|
2004-06-11 03:01:01 +00:00
|
|
|
<target name="copyCalendarData" depends="init">
|
|
|
|
<!-- Calendar does not require Collation data, BreakIterator data -->
|
|
|
|
<unjar src="${src.dir}/com/ibm/icu/impl/data/icudata.jar" dest="${build.dir}">
|
|
|
|
<patternset>
|
|
|
|
<!-- arrgh, includes attributes of patternset does not work here in ant 1.5.3 -->
|
|
|
|
<include name="**/unorm.icu"/>
|
|
|
|
<include name="**/uprops.icu"/>
|
|
|
|
<include name="**/pnames.icu"/>
|
|
|
|
<include name="**/unames.icu"/>
|
|
|
|
<include name="**/*.res"/>
|
|
|
|
<exclude name="**/coll/*.res"/>
|
2004-11-23 00:11:19 +00:00
|
|
|
<exclude name="**/translit/*.res"/>
|
|
|
|
<exclude name="**/rbnf/*.res"/>
|
2004-06-11 03:01:01 +00:00
|
|
|
</patternset>
|
|
|
|
</unjar>
|
|
|
|
<touch file="${build.dir}/${icu4j.data.path}/uprops.icu"/>
|
|
|
|
</target>
|
2004-11-15 21:55:22 +00:00
|
|
|
<target name="copyTranslitData" depends="init">
|
|
|
|
<!-- Calendar does not require Collation data, BreakIterator data -->
|
|
|
|
<unjar src="${src.dir}/com/ibm/icu/impl/data/icudata.jar" dest="${build.dir}">
|
|
|
|
<patternset>
|
|
|
|
<!-- arrgh, includes attributes of patternset does not work here in ant 1.5.3 -->
|
|
|
|
<include name="**/unorm.icu"/>
|
|
|
|
<include name="**/uprops.icu"/>
|
2005-02-17 05:00:07 +00:00
|
|
|
<include name="**/ubidi.icu"/>
|
|
|
|
<include name="**/ucase.icu"/>
|
2004-11-15 21:55:22 +00:00
|
|
|
<include name="**/unames.icu"/>
|
|
|
|
<include name="**/pnames.icu"/>
|
|
|
|
<include name="**/*.brk"/>
|
|
|
|
<include name="**/translit/*.res"/>
|
|
|
|
</patternset>
|
|
|
|
</unjar>
|
|
|
|
<touch file="${build.dir}/${icu4j.data.path}/uprops.icu"/>
|
|
|
|
</target>
|
|
|
|
|
2004-06-11 03:01:01 +00:00
|
|
|
<target name="copyFormatData" depends="init" if="icu4j.module.resources">
|
|
|
|
<!-- Format does not require BreakIterator data -->
|
|
|
|
<unjar src="${src.dir}/com/ibm/icu/impl/data/icudata.jar" dest="${build.dir}">
|
|
|
|
<patternset>
|
|
|
|
<!-- arrgh, includes attributes of patternset does not work here in ant 1.5.3 -->
|
|
|
|
<include name="**/*.icu"/>
|
|
|
|
<include name="**/*.res"/>
|
2004-11-23 00:11:19 +00:00
|
|
|
<exclude name="**/translit/*.res"/>
|
2004-06-11 03:01:01 +00:00
|
|
|
</patternset>
|
|
|
|
</unjar>
|
|
|
|
<touch file="${build.dir}/${icu4j.data.path}/uprops.icu"/>
|
|
|
|
</target>
|
|
|
|
|
2003-01-28 18:55:43 +00:00
|
|
|
<target name="copyAllICUData" depends="init">
|
2005-06-16 18:18:40 +00:00
|
|
|
<unjar src="${src.dir}/com/ibm/icu/impl/data/icudata.jar" dest="${build.dir}"/>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
2004-06-09 03:58:42 +00:00
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="moduleJar" depends="init" description="modular build of 'icu4j.jar' jar file">
|
2003-01-28 18:55:43 +00:00
|
|
|
<jar jarfile="${jar.file}"
|
2003-05-16 19:44:21 +00:00
|
|
|
compress="true"
|
2003-01-28 18:55:43 +00:00
|
|
|
includes="com/ibm/icu/util/**/*,com/ibm/icu/text/**/*,com/ibm/icu/math/**/*,com/ibm/icu/impl/**/*,com/ibm/icu/lang/**/*"
|
2006-09-23 17:06:12 +00:00
|
|
|
basedir="${build.dir}">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="ICU4J Modularized Build"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value=" ICU for Java Module"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only Normalization API and Normalization tests
|
|
|
|
-->
|
2004-06-09 03:58:42 +00:00
|
|
|
|
2006-03-25 00:08:28 +00:00
|
|
|
<target name="normalizer" depends="init,normalizerData" description="modular build of normalizer services">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac sourcepath=""
|
2006-03-25 00:08:28 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
|
|
|
classpathref="build.classpath"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/lang/UScriptRun.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/ICUListResourceBundle.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/UtilityExtensions.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/TrieBuilder.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/IntTrieBuilder.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/BOCU.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/UnicodeCharacterIterator.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/impl/Assert.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharacterIteratorWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinary.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinaryStream.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUData.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUDebug.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUListResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/IntTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/LocaleUtility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerDataReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ReplaceableUCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ResourceBundleWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/RuleCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/SortedSetRelation.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Trie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TrieIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UBiDiProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCaseProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacter*.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharArrayIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UPropertyAliases.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/URLHandler.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/USerializedSet.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Utility.java"/>
|
|
|
|
<include name="com/ibm/icu/lang/**"/>
|
|
|
|
<include name="com/ibm/icu/text/BreakIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CanonicalIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Normalizer.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UForwardCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UTF16.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Replaceable.java"/>
|
|
|
|
<include name="com/ibm/icu/text/ReplaceableString.java"/>
|
|
|
|
<include name="com/ibm/icu/text/SymbolTable.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeFilter.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeMatcher.java"/>
|
2006-10-04 22:11:26 +00:00
|
|
|
<include name="com/ibm/icu/text/UnicodeSet.java"/>
|
2006-10-02 17:36:50 +00:00
|
|
|
<include name="com/ibm/icu/text/UnicodeSetIterator.java"/>
|
2006-10-04 22:11:26 +00:00
|
|
|
<include name="com/ibm/icu/util/Freezable.java"/>
|
2006-10-02 17:36:50 +00:00
|
|
|
<include name="com/ibm/icu/util/RangeValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/StringTokenizer.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ULocale.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceTypeMismatchException.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/VersionInfo.java"/>
|
|
|
|
|
|
|
|
</javac>
|
|
|
|
|
2006-03-25 00:08:28 +00:00
|
|
|
</target>
|
2005-12-20 19:34:49 +00:00
|
|
|
|
2006-10-02 17:36:50 +00:00
|
|
|
<target name="normalizerTests" depends="normalizer, testdata">
|
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2003-01-28 18:55:43 +00:00
|
|
|
classpathref="build.classpath"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/dev/test/normalizer/TestDeprecatedNormalizerAPI.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/test/normalizer/**/*.java"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/TestAll.java"/>
|
|
|
|
<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"/>
|
|
|
|
|
|
|
|
</javac>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only Collation API and Collation tests
|
|
|
|
-->
|
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="collator" depends="init,copyCollatorData" description="modular build of collator services">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac sourcepath=""
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/UnicodeCharacterIterator.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/UtilityExtensions.java"/>
|
|
|
|
<exclude name="com/ibm/icu/lang/UScriptRun.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/impl/Assert.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/BOCU.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharacterIteratorWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/data/*Break*.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinary.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinaryStream.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUData.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUDebug.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICULocaleService.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUNotifier.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICURWLock.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUService.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ImplicitCEGenerator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/IntTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/IntTrieBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/LocaleUtility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerDataReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ReplaceableUCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ResourceBundleWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/RuleCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/SortedSetRelation.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/StringUCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Trie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TrieBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TrieIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UBiDiProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCaseProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharArrayIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterIteratorWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterName.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterNameChoice.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterNameReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterProperty.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterPropertyReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterUtility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/URLHandler.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UPropertyAliases.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/USerializedSet.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Utility.java"/>
|
|
|
|
<include name="com/ibm/icu/lang/*.java"/>
|
|
|
|
<include name="com/ibm/icu/text/BreakDictionary.java"/>
|
|
|
|
<include name="com/ibm/icu/text/BreakIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/BreakIteratorFactory.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CanonicalIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Collation.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationElementIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationKey.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationParsedRuleBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationRuleParser.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Collator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollatorReader.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollatorServiceShim.java"/>
|
|
|
|
<include name="com/ibm/icu/text/DictionaryBasedBreakIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Normalizer.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RawCollationKey.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RBBIDataWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Replaceable.java"/>
|
|
|
|
<include name="com/ibm/icu/text/ReplaceableString.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RuleBasedBreakIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RuleBasedBreakIterator_Old.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RuleBasedBreakIterator_New.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RuleBasedCollator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/SymbolTable.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/UnicodeMatcher.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeSet.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeSetIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UTF16.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ByteArrayWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/util/CompactByteArray.java"/>
|
|
|
|
<include name="com/ibm/icu/util/RangeValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/StringTokenizer.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ULocale.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceTypeMismatchException.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/VersionInfo.java"/>
|
|
|
|
|
|
|
|
</javac>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
2006-10-02 17:36:50 +00:00
|
|
|
|
|
|
|
<target name="collatorTests" depends="collator, testdata" description="test collator modular build target">
|
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/dev/test/collator/RandomCollator.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/test/collator/**/*.java"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/search/**/*.java"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/TestAll.java"/>
|
|
|
|
<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"/>
|
|
|
|
</javac>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only Character properties API and tests
|
|
|
|
-->
|
|
|
|
|
2004-11-15 21:55:22 +00:00
|
|
|
<target name="propertiesBasic" depends="init, propertiesClasses, copyBasicPropsData" description="modular build of basic character properties">
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
|
|
|
|
2004-11-15 21:55:22 +00:00
|
|
|
<target name="propertiesFull" depends="init,propertiesClasses,copyFullPropsData" description="modular build of full character properties">
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="propertiesClasses">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac sourcepath=""
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2003-01-28 18:55:43 +00:00
|
|
|
classpathref="build.classpath"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/UtilityExtensions.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/lang/**/*"/>
|
|
|
|
<include name="com/ibm/icu/impl/data/*Break*.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Assert.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharacterIteratorWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinary.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinaryStream.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUData.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUDebug.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/IntTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/LocaleUtility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerDataReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ResourceBundleWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ReplaceableUCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/RuleCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/SortedSetRelation.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Trie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TrieBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TrieIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UBiDiProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCaseProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharArrayIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterIteratorWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterName.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterNameChoice.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterNameReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterProperty.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterPropertyReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterUtility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UPropertyAliases.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/URLHandler.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/USerializedSet.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Utility.java"/>
|
|
|
|
<include name="com/ibm/icu/text/BreakIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/BreakDictionary.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/SymbolTable.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/UnicodeMatcher.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeSet.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeSetIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UTF16.java"/>
|
|
|
|
<include name="com/ibm/icu/util/CompactByteArray.java"/>
|
|
|
|
<include name="com/ibm/icu/util/RangeValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/StringTokenizer.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ULocale.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceTypeMismatchException.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/VersionInfo.java"/>
|
|
|
|
</javac>
|
2005-12-20 19:34:49 +00:00
|
|
|
</target>
|
2006-10-02 17:36:50 +00:00
|
|
|
|
2004-11-14 20:45:27 +00:00
|
|
|
<target name="propertiesBasicTests" depends="propertiesBasic" description="test propertiesBasic modular build target">
|
2003-01-28 18:55:43 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/data/unicode/SpecialCasing.txt"
|
|
|
|
todir="${build.dir}/com/ibm/icu/dev/data/unicode/"/>
|
2006-10-02 17:36:50 +00:00
|
|
|
|
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/dev/test/lang/TestUScriptRun.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/test/lang/**/*.java"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/TestAll.java"/>
|
|
|
|
<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"/>
|
|
|
|
</javac>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
2004-06-11 22:00:35 +00:00
|
|
|
|
2004-11-14 20:46:37 +00:00
|
|
|
<target name="propertiesFullTests" depends="propertiesFull" description="test propertiesFull modular build target">
|
2004-06-11 03:01:01 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/data/unicode/SpecialCasing.txt"
|
|
|
|
todir="${build.dir}/com/ibm/icu/dev/data/unicode/"/>
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2004-06-11 03:01:01 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/dev/test/lang/TestUScriptRun.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/test/lang/**/*.java"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/TestAll.java"/>
|
|
|
|
<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/impl/data/*Break*.java"/>
|
|
|
|
<include name="com/ibm/icu/text/*BreakDictionary*.java"/>
|
|
|
|
<include name="com/ibm/icu/text/*BreakIterator*.java"/>
|
|
|
|
</javac>
|
2004-06-11 03:01:01 +00:00
|
|
|
</target>
|
|
|
|
|
2003-01-28 18:55:43 +00:00
|
|
|
<!--
|
|
|
|
Targets to build only Compression API API and tests
|
|
|
|
-->
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="compression" depends="init" description="modular build of compression services">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac sourcepath=""
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2003-01-28 18:55:43 +00:00
|
|
|
classpathref="build.classpath"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<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>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
2004-06-09 03:58:42 +00:00
|
|
|
|
2004-11-14 20:45:27 +00:00
|
|
|
<target name="compressionTests" depends="compression" description="test compression modular build target">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/test/TestAll.java"/>
|
|
|
|
<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/compression/**/*.java"/>
|
|
|
|
</javac>
|
2001-11-28 18:04:53 +00:00
|
|
|
</target>
|
2000-03-10 01:33:53 +00:00
|
|
|
|
2003-01-28 18:55:43 +00:00
|
|
|
<!--
|
|
|
|
Targets to build only Calendar API and Calendar tests
|
2006-03-25 00:08:28 +00:00
|
|
|
-->
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="calendar" depends="init,copyCalendarData" description="modular build of calendar services">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac sourcepath=""
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2003-01-28 18:55:43 +00:00
|
|
|
classpathref="build.classpath"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/UtilityExtensions.java"/>
|
|
|
|
<exclude name="com/ibm/icu/lang/UScriptRun.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/impl/data/*Calendar*.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/data/*Holiday*.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Assert.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/BOCU.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CalendarAstronomer.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CalendarCache.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CalendarData.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharacterIteratorWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinary.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinaryStream.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUData.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUDebug.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUListResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICULocaleData.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICULocaleService.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUNotifier.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICURWLock.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUService.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ImplicitCEGenerator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/IntTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/IntTrieBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/JDKTimeZone.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/LocaleUtility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerDataReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/OlsonTimeZone.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ReplaceableUCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ResourceBundleReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ResourceBundleWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/RuleCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/SortedSetRelation.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/StringUCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TimeZoneAdapter.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Trie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TrieBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TrieIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UBiDiProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCaseProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharArrayIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterIteratorWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterName.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterNameChoice.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterNameReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterProperty.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterPropertyReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterUtility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/URLHandler.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/USerializedSet.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Utility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UPropertyAliases.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ZoneInfoExt.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ZoneMeta.java"/>
|
|
|
|
<include name="com/ibm/icu/lang/*"/>
|
|
|
|
<include name="com/ibm/icu/math/BigDecimal.java"/>
|
|
|
|
<include name="com/ibm/icu/math/MathContext.java"/>
|
|
|
|
<include name="com/ibm/icu/text/BreakIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CanonicalIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/ChineseDateFormat.java"/>
|
|
|
|
<include name="com/ibm/icu/text/ChineseDateFormatSymbols.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationElementIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationKey.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationRuleParser.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationParsedRuleBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Collator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollatorReader.java"/>
|
|
|
|
<include name="com/ibm/icu/text/DateFormat.java"/>
|
|
|
|
<include name="com/ibm/icu/text/DateFormatSymbols.java"/>
|
|
|
|
<include name="com/ibm/icu/text/DecimalFormat.java"/>
|
|
|
|
<include name="com/ibm/icu/text/DecimalFormatSymbols.java"/>
|
|
|
|
<include name="com/ibm/icu/text/DigitList.java"/>
|
|
|
|
<include name="com/ibm/icu/text/MessageFormat.java"/>
|
|
|
|
<include name="com/ibm/icu/text/NFRule.java"/>
|
|
|
|
<include name="com/ibm/icu/text/NFRuleSet.java"/>
|
|
|
|
<include name="com/ibm/icu/text/NFSubstitution.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Normalizer.java"/>
|
|
|
|
<include name="com/ibm/icu/text/NumberFormat.java"/>
|
|
|
|
<include name="com/ibm/icu/text/NumberFormat*Shim.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RawCollationKey.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RBNFPostProcessor.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Replaceable.java"/>
|
|
|
|
<include name="com/ibm/icu/text/ReplaceableString.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RuleBasedCollator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RuleBasedNumberFormat.java"/>
|
|
|
|
<include name="com/ibm/icu/text/SimpleDateFormat.java"/>
|
|
|
|
<include name="com/ibm/icu/text/SymbolTable.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UFormat.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UForwardCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeFilter.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeMatcher.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeSet.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeSetIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UTF16.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ByteArrayWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/util/Currency.java"/>
|
|
|
|
<include name="com/ibm/icu/util/CurrencyAmount.java"/>
|
|
|
|
<include name="com/ibm/icu/util/*Calendar*.java"/>
|
|
|
|
<include name="com/ibm/icu/util/*Holiday*.java"/>
|
|
|
|
<include name="com/ibm/icu/util/DateRule.java"/>
|
|
|
|
<include name="com/ibm/icu/util/Measure.java"/>
|
|
|
|
<include name="com/ibm/icu/util/MeasureUnit.java"/>
|
|
|
|
<include name="com/ibm/icu/util/RangeDateRule.java"/>
|
|
|
|
<include name="com/ibm/icu/util/RangeValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/SimpleDateRule.java"/>
|
|
|
|
<include name="com/ibm/icu/util/SimpleTimeZone.java"/>
|
|
|
|
<include name="com/ibm/icu/util/StringTokenizer.java"/>
|
|
|
|
<include name="com/ibm/icu/util/STZInfo.java"/>
|
|
|
|
<include name="com/ibm/icu/util/TimeZone.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ULocale.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceTypeMismatchException.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/VersionInfo.java"/>
|
|
|
|
|
|
|
|
</javac>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
2004-06-09 03:58:42 +00:00
|
|
|
|
2004-11-14 20:45:27 +00:00
|
|
|
<target name="calendarTests" depends="calendar" description="test calendar modular build target">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/test/calendar/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/TestAll.java"/>
|
|
|
|
<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"/>
|
|
|
|
</javac>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only Transliterator API and tests
|
|
|
|
-->
|
2004-06-09 03:58:42 +00:00
|
|
|
|
2004-11-15 21:55:22 +00:00
|
|
|
<target name="transliterator" depends="init,propertiesClasses,copyTranslitData" description="modular build of unicode transform services">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac sourcepath=""
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2003-01-28 18:55:43 +00:00
|
|
|
classpathref="build.classpath"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/BOCU.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/IntTrieBuilder.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/TrieBuilder.java"/>
|
|
|
|
<exclude name="com/ibm/icu/lang/UScriptRun.java"/>
|
|
|
|
<exclude name="com/ibm/icu/text/UnicodeFilterLogic*.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/impl/data/ResourceReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/*Iterator*.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/*Property*.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICULocaleService.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUNotifier.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICURWLock.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUService.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UtilityExtensions.java"/>
|
|
|
|
<include name="com/ibm/icu/text/BreakIteratorFactory.java"/>
|
|
|
|
<include name="com/ibm/icu/text/*Transliterator*.java"/>
|
|
|
|
<include name="com/ibm/icu/text/DictionaryBasedBreakIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/FunctionReplacer.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Quantifier.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RBBIDataWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/text/ReplaceableContextIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RuleBasedBreakIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RuleBasedBreakIterator_New.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RuleBasedBreakIterator_Old.java"/>
|
|
|
|
<include name="com/ibm/icu/text/StringMatcher.java"/>
|
|
|
|
<include name="com/ibm/icu/text/StringReplacer.java"/>
|
|
|
|
<include name="com/ibm/icu/text/TransliterationRule.java"/>
|
|
|
|
<include name="com/ibm/icu/text/TransliterationRuleSet.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeReplacer.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeSetIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/CaseInsensitiveString.java"/>
|
|
|
|
</javac>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
2004-06-09 03:58:42 +00:00
|
|
|
|
2004-11-14 20:45:27 +00:00
|
|
|
<target name="transliteratorTests" depends="transliterator" description = "test transliterator modular build target">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/dev/test/translit/UnicodeFilterLogic*.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/test/TestAll.java"/>
|
|
|
|
<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/translit/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/UTF16Util.java"/>
|
|
|
|
</javac>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only Format API
|
|
|
|
-->
|
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="format" depends="init,copyFormatData" description="modular build of formatting services">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac sourcepath=""
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2003-01-28 18:55:43 +00:00
|
|
|
classpathref="build.classpath"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/UtilityExtensions.java"/>
|
|
|
|
<exclude name="com/ibm/icu/lang/UScriptRun.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/impl/data/CalendarData*.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Assert.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/BOCU.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CalendarAstronomer.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CalendarCache.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CalendarData.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharacterIteratorWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinary.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinaryStream.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUData.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUDebug.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUListResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICULocaleData.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICULocaleService.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUNotifier.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICURWLock.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUService.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ImplicitCEGenerator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/IntTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/IntTrieBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/JDKTimeZone.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/LocaleUtility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerDataReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/OlsonTimeZone.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ReplaceableUCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ResourceBundleWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/RuleCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/SortedSetRelation.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/StringUCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TimeZoneAdapter.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Trie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TrieBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TrieIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UBiDiProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCaseProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharArrayIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterIteratorWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterName.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterNameChoice.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterNameReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterProperty.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterPropertyReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterUtility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UPropertyAliases.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/URLHandler.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UResourceTypeMismatchException.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/USerializedSet.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Utility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ZoneInfoExt.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ZoneMeta.java"/>
|
|
|
|
<include name="com/ibm/icu/lang/*"/>
|
|
|
|
<include name="com/ibm/icu/math/BigDecimal.java"/>
|
|
|
|
<include name="com/ibm/icu/math/MathContext.java"/>
|
|
|
|
<include name="com/ibm/icu/text/BreakIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/*Format*.java"/>
|
|
|
|
<include name="com/ibm/icu/text/*Collator*.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CanonicalIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/ChineseDateFormat.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationElementIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationKey.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationParsedRuleBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollationRuleParser.java"/>
|
|
|
|
<include name="com/ibm/icu/text/CollatorReader.java"/>
|
|
|
|
<include name="com/ibm/icu/text/NFRule.java"/>
|
|
|
|
<include name="com/ibm/icu/text/NFRuleSet.java"/>
|
|
|
|
<include name="com/ibm/icu/text/NFSubstitution.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Normalizer.java"/>
|
|
|
|
<include name="com/ibm/icu/text/DigitList.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RawCollationKey.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RBNFPostProcessor.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Replaceable.java"/>
|
|
|
|
<include name="com/ibm/icu/text/ReplaceableString.java"/>
|
|
|
|
<include name="com/ibm/icu/text/SymbolTable.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UForwardCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeFilter.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeMatcher.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeSet.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeSetIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UTF16.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ByteArrayWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/util/BuddhistCalendar.java"/>
|
|
|
|
<include name="com/ibm/icu/util/Calendar.java"/>
|
|
|
|
<include name="com/ibm/icu/util/CalendarData.java"/>
|
|
|
|
<include name="com/ibm/icu/util/CalendarFactory.java"/>
|
|
|
|
<include name="com/ibm/icu/util/CECalendar.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ChineseCalendar.java"/>
|
|
|
|
<include name="com/ibm/icu/util/CopticCalendar.java"/>
|
|
|
|
<include name="com/ibm/icu/util/Currency.java"/>
|
|
|
|
<include name="com/ibm/icu/util/CurrencyAmount.java"/>
|
|
|
|
<include name="com/ibm/icu/util/EthiopicCalendar.java"/>
|
|
|
|
<include name="com/ibm/icu/util/GregorianCalendar.java"/>
|
|
|
|
<include name="com/ibm/icu/util/HebrewCalendar.java"/>
|
|
|
|
<include name="com/ibm/icu/util/IslamicCalendar.java"/>
|
|
|
|
<include name="com/ibm/icu/util/JapaneseCalendar.java"/>
|
|
|
|
<include name="com/ibm/icu/util/Measure.java"/>
|
|
|
|
<include name="com/ibm/icu/util/MeasureUnit.java"/>
|
|
|
|
<include name="com/ibm/icu/util/RangeValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/SimpleTimeZone.java"/>
|
|
|
|
<include name="com/ibm/icu/util/STZInfo.java"/>
|
|
|
|
<include name="com/ibm/icu/util/StringTokenizer.java"/>
|
|
|
|
<include name="com/ibm/icu/util/TimeZone.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ULocale.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceTypeMismatchException.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/VersionInfo.java"/>
|
|
|
|
</javac>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
2004-06-09 03:58:42 +00:00
|
|
|
|
2004-11-14 20:45:27 +00:00
|
|
|
<target name="formatTests" depends="format" description="test format modular build target">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/test/format/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/TestAll.java"/>
|
|
|
|
<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"/>
|
|
|
|
</javac>
|
2004-06-10 07:17:56 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/test/format/NumberFormatTestCases.txt"
|
|
|
|
todir="${build.dir}/com/ibm/icu/dev/test/format"/>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only BreakIterator API
|
|
|
|
-->
|
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="breakIterator" depends="init,copyFullPropsData" description="modular build of break iterator services">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac sourcepath=""
|
2006-01-04 00:53:32 +00:00
|
|
|
srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2003-01-28 18:55:43 +00:00
|
|
|
classpathref="build.classpath"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/BOCU.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/UtilityExtensions.java"/>
|
|
|
|
<exclude name="com/ibm/icu/lang/UScriptRun.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/impl/data/*Break*.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Assert.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharacterIteratorWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/CharTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinary.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUBinaryStream.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUDebug.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUData.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUListResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUListResourceBundleImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICULocaleData.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICULocaleService.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUNotifier.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUResourceBundleReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICURWLock.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ICUService.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/IntTrie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/IntTrieBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/LocaleUtility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerDataReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/NormalizerImpl.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ReplaceableUCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/ResourceBundleWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/RuleCharacterIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/SortedSetRelation.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Trie.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TrieIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/TrieBuilder.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UBiDiProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCaseProps.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterIteratorWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterName.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterNameChoice.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterNameReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterProperty.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterPropertyReader.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharacterUtility.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UCharArrayIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/UPropertyAliases.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/URLHandler.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/USerializedSet.java"/>
|
|
|
|
<include name="com/ibm/icu/impl/Utility.java"/>
|
|
|
|
<include name="com/ibm/icu/lang/**/*"/>
|
|
|
|
<include name="com/ibm/icu/text/*BreakIterator*.java"/>
|
|
|
|
<include name="com/ibm/icu/text/BreakDictionary.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Normalizer.java"/>
|
|
|
|
<include name="com/ibm/icu/text/RBBIDataWrapper.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Replaceable.java"/>
|
|
|
|
<include name="com/ibm/icu/text/ReplaceableString.java"/>
|
|
|
|
<include name="com/ibm/icu/text/SymbolTable.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/UnicodeMatcher.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeSet.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UnicodeSetIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/text/UTF16.java"/>
|
|
|
|
<include name="com/ibm/icu/util/CompactByteArray.java"/>
|
|
|
|
<include name="com/ibm/icu/util/RangeValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/StringTokenizer.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceBundle.java"/>
|
|
|
|
<include name="com/ibm/icu/util/UResourceTypeMismatchException.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ULocale.java"/>
|
|
|
|
<include name="com/ibm/icu/util/ValueIterator.java"/>
|
|
|
|
<include name="com/ibm/icu/util/VersionInfo.java"/>
|
|
|
|
</javac>
|
|
|
|
|
2006-03-25 00:08:28 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/impl/data/th.brk"
|
|
|
|
todir="${build.dir}/com/ibm/icu/impl/data/"/>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
2004-06-09 03:58:42 +00:00
|
|
|
|
2004-11-14 20:45:27 +00:00
|
|
|
<target name="breakIteratorTests" depends="breakIterator" description="test breakIterator modular build target">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/test/rbbi/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/TestAll.java"/>
|
|
|
|
<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"/>
|
|
|
|
</javac>
|
2004-06-10 07:09:26 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/test/rbbi/rbbitst.txt"
|
|
|
|
todir="${build.dir}/com/ibm/icu/dev/test/rbbi"/>
|
2004-06-11 04:03:52 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only StringPrep and IDNA API
|
|
|
|
-->
|
|
|
|
<target name="copyStringPrepData" depends="init">
|
2005-06-16 18:18:40 +00:00
|
|
|
<unjar src="${src.dir}/com/ibm/icu/impl/data/icudata.jar" dest="${build.dir}">
|
2005-07-14 23:50:31 +00:00
|
|
|
<patternset>
|
|
|
|
<!-- arrgh, includes attributes of patternset does not work here in ant 1.5.3 -->
|
|
|
|
<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"/>
|
|
|
|
</patternset>
|
2005-06-16 18:18:40 +00:00
|
|
|
</unjar>
|
2004-06-11 04:03:52 +00:00
|
|
|
</target>
|
2004-06-11 22:00:35 +00:00
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="stringPrep" depends="init,normalizer,copyStringPrepData" description="modular build of stringprep services">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac sourcepath=""
|
2006-01-04 00:53:32 +00:00
|
|
|
srcdir="${src.dir}"
|
2004-06-11 04:03:52 +00:00
|
|
|
destdir="${build.dir}"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2004-06-11 04:03:52 +00:00
|
|
|
classpathref="build.classpath"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/BOCU.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/Calendar*.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/IntTrieBuilder.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/TrieBuilder.java"/>
|
|
|
|
<exclude name="com/ibm/icu/impl/UtilityExtensions.java"/>
|
|
|
|
<exclude name="com/ibm/icu/lang/UScriptRun.java"/>
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/impl/*StringPrep*.java"/>
|
|
|
|
<include name="com/ibm/icu/text/*StringPrep*.java"/>
|
|
|
|
<include name="com/ibm/icu/text/*IDNA*.java"/>
|
|
|
|
<include name="com/ibm/icu/text/Punycode.java"/>
|
|
|
|
|
|
|
|
</javac>
|
2004-06-11 04:03:52 +00:00
|
|
|
</target>
|
2004-06-11 22:00:35 +00:00
|
|
|
|
2004-11-14 20:45:27 +00:00
|
|
|
<target name="stringPrepTests" depends="stringPrep" description="test stringPrep modular build target">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2004-06-11 04:03:52 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/stringprep/**/*"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/TestAll.java"/>
|
|
|
|
<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"/>
|
|
|
|
</javac>
|
2004-06-11 04:03:52 +00:00
|
|
|
<unjar src="${src.dir}/com/ibm/icu/dev/data/testdata.jar" dest="${build.dir}">
|
|
|
|
<patternset>
|
2005-06-16 18:18:40 +00:00
|
|
|
<include name="**/*.spp"/>
|
|
|
|
<include name="**/idna_rules.res"/>
|
2004-06-11 04:03:52 +00:00
|
|
|
</patternset>
|
2004-06-10 07:09:26 +00:00
|
|
|
</unjar>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
2004-06-11 22:00:35 +00:00
|
|
|
|
2006-09-20 22:15:48 +00:00
|
|
|
<target name="excludeCharset" depends="core" description="excludes charset module from ICU4J">
|
|
|
|
<delete failonerror="yes">
|
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/impl/data/icudt${icu4j.version.number}b/">
|
|
|
|
<include name="*.cnv"/>
|
|
|
|
<include name="cnvalias.icu"/>
|
|
|
|
</fileset>
|
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/charset"/>
|
|
|
|
<fileset dir="${build.dir}/META-INF/"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
<target name="excludeCharsetTests" depends="tests" description="excludes charset test from ICU4J">
|
|
|
|
<delete failonerror="yes">
|
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/dev/test/charset"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
|
2005-10-29 00:35:11 +00:00
|
|
|
<target name="moduleCheck" depends="init" description="run tests for module jar">
|
|
|
|
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true">
|
|
|
|
<arg value="-nothrow"/>
|
|
|
|
<arg value="-nodata"/>
|
|
|
|
<classpath>
|
|
|
|
<pathelement location="${build.dir}"/>
|
|
|
|
</classpath>
|
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
2003-05-07 15:57:01 +00:00
|
|
|
<!-- build the extra Transliterator data pertaining to Han-Latin transliteration -->
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="extraTransliteratorData" depends="init" description="build han-to-latin transliterator data (normally omitted)">
|
2003-05-07 15:57:01 +00:00
|
|
|
<copy todir="${build.dir}/com/ibm/icu/impl/data">
|
2005-06-16 18:18:40 +00:00
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/impl/data" includes="Transliterator_Han_Latin_*.txt"/>
|
2003-05-07 15:57:01 +00:00
|
|
|
</copy>
|
|
|
|
</target>
|
2004-06-09 03:58:42 +00:00
|
|
|
|
2004-06-07 15:16:34 +00:00
|
|
|
<!-- Target for builing XLIFF2ICUConverter Jar -->
|
2004-06-09 03:58:42 +00:00
|
|
|
|
2004-07-08 19:07:32 +00:00
|
|
|
<target name="xliff" depends="init" description="build xliff converter tool">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac sourcepath=""
|
2003-10-24 17:57:09 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<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"/>
|
|
|
|
<include name="com/ibm/icu/dev/tool/xmlcomparator/XMLValidator.java"/>
|
|
|
|
</javac>
|
2004-06-09 03:58:42 +00:00
|
|
|
<jar jarfile="xliff.jar"
|
2003-10-24 17:57:09 +00:00
|
|
|
compress="true"
|
2005-10-04 20:31:44 +00:00
|
|
|
includes="com/ibm/icu/dev/tool/localeconverter/XLIFF2ICUConverter*.class,com/ibm/icu/dev/tool/localeconverter/CalculateCRC32.class,com/ibm/icu/dev/tool/UOption.class"
|
2006-09-23 17:06:12 +00:00
|
|
|
basedir="${build.dir}">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="XLIFF To ICU Converter"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value="XLIFF2ICUConverter"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
|
2005-10-04 20:31:44 +00:00
|
|
|
<jar jarfile="xliff-src.jar"
|
|
|
|
compress="true"
|
|
|
|
includes="com/ibm/icu/dev/tool/localeconverter/XLIFF2ICUConverter.java,com/ibm/icu/dev/tool/localeconverter/CalculateCRC32.java,com/ibm/icu/dev/tool/UOption.java"
|
2006-09-23 17:06:12 +00:00
|
|
|
basedir="${src.dir}">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="XLIFF To ICU Converter Sources"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value="XLIFF2ICUConverter Sources"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
2003-10-24 17:57:09 +00:00
|
|
|
</target>
|
2005-02-25 01:31:37 +00:00
|
|
|
|
|
|
|
<!-- Target for builing Utilities Jar for CLDR -->
|
|
|
|
|
|
|
|
<target name="cldrUtil" depends="init" description="build Utilities for CLDR">
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2005-02-25 01:31:37 +00:00
|
|
|
destdir="${build.dir}"
|
2005-05-26 17:11:28 +00:00
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2005-02-25 01:31:37 +00:00
|
|
|
classpathref="build.classpath"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<include name="com/ibm/icu/dev/test/TestFmwk.java"/>
|
|
|
|
<include name="com/ibm/icu/dev/test/util/*.java"/>
|
|
|
|
<include name="com/ibm/icu/dev/tool/UOption.java"/>
|
|
|
|
</javac>
|
2005-02-25 01:31:37 +00:00
|
|
|
<jar jarfile="utilities.jar"
|
|
|
|
compress="true"
|
2005-07-13 00:16:57 +00:00
|
|
|
includes="com/ibm/icu/dev/test/util/*.class,com/ibm/icu/dev/test/TestFmwk*.class,com/ibm/icu/dev/test/AbstractTest*.class,com/ibm/icu/dev/test/TestLog*.class,com/ibm/icu/dev/tool/UOption*.class"
|
2006-09-23 17:06:12 +00:00
|
|
|
basedir="${build.dir}">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="Utilities for CLDR Tools"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value="CLDR Utilities"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
2005-02-25 01:31:37 +00:00
|
|
|
</target>
|
2006-10-20 22:27:27 +00:00
|
|
|
|
2005-07-14 23:50:31 +00:00
|
|
|
<!--Target for building jars -->
|
2005-08-15 21:52:17 +00:00
|
|
|
<target name="distJars" depends="jarSrc, jar, jarDocs" />
|
|
|
|
|
|
|
|
<!-- Target for checking the loading of bundles from the default package.
|
|
|
|
This is hack to get around Eclipse's build problems.
|
|
|
|
-->
|
2005-10-29 00:35:11 +00:00
|
|
|
<target name="defaultPackage" depends="tests" description="Tests for loading resources in the default package">
|
2005-08-17 19:09:54 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/test/util/TestDefaultPackageLoading.jpp"
|
|
|
|
tofile="${src.dir}/TestDefaultPackageLoading.java"/>
|
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/test/util/TestData_en.jpp"
|
|
|
|
tofile="${src.dir}/TestData_en.java"/>
|
2006-10-02 17:36:50 +00:00
|
|
|
<javac srcdir="${src.dir}"
|
2005-08-15 21:52:17 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
2006-10-02 17:36:50 +00:00
|
|
|
debug="on" deprecation="off">
|
|
|
|
|
|
|
|
<exclude name="**/CVS/**/*"/>
|
|
|
|
<include name="TestData_en.java"/>
|
|
|
|
<include name="TestDefaultPackageLoading.java"/>
|
|
|
|
</javac>
|
2005-08-17 19:09:54 +00:00
|
|
|
<!-- copy the file to default package and test if we can load it -->
|
2005-08-15 21:52:17 +00:00
|
|
|
<copy file="${build.dir}/com/ibm/icu/dev/data/testdata/te.res"
|
|
|
|
todir="${build.dir}/"/>
|
2005-08-17 19:09:54 +00:00
|
|
|
<!-- copy the file up one level and test if java style base name loading works -->
|
|
|
|
<copy file="${build.dir}/com/ibm/icu/dev/data/testdata/te.res"
|
2005-08-15 23:19:00 +00:00
|
|
|
tofile="${build.dir}/com/ibm/icu/dev/data/TestData_bge.res"/>
|
2005-10-29 00:35:11 +00:00
|
|
|
</target>
|
|
|
|
|
2006-09-20 22:18:22 +00:00
|
|
|
<target name="defaultPackageCheck" depends="tests, defaultPackage" description="Run Tests for loading resources in the default package">
|
2005-10-29 00:35:11 +00:00
|
|
|
<!--run the tests -->
|
2005-08-15 21:52:17 +00:00
|
|
|
<java classname="TestDefaultPackageLoading" fork="yes" failonerror="true">
|
|
|
|
<jvmarg value="-ea"/> <!-- enable assertion checks -->
|
|
|
|
<arg value="-n"/>
|
|
|
|
<classpath>
|
|
|
|
<pathelement path="${java.class.path}/"/>
|
|
|
|
<pathelement location="clover.jar"/>
|
|
|
|
<pathelement path="${build.dir}"/>
|
|
|
|
</classpath>
|
|
|
|
</java>
|
|
|
|
</target>
|
2005-11-22 00:54:16 +00:00
|
|
|
|
2006-03-25 00:08:28 +00:00
|
|
|
<!-- convert @deprecated @draft tags to @provisional -->
|
|
|
|
<target name="swatDeprecated" depends="init, tools" if="version.1.4">
|
|
|
|
<java classname="com.ibm.icu.dev.tool.docs.SwatDeprecated" classpath="${build.dir}" failonerror="true">
|
|
|
|
<arg value="-src"/>
|
|
|
|
<arg value="${src.dir}"/>
|
|
|
|
<arg value="-dst"/>
|
|
|
|
<arg value="${src.dir}"/>
|
|
|
|
<arg value="-overwrite"/>
|
|
|
|
<arg value="-verbose"/>
|
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- convert @provisional tags to @deprecated -->
|
|
|
|
<target name="restoreDeprecated" depends="init, tools" if="version.1.4">
|
|
|
|
<java classname="com.ibm.icu.dev.tool.docs.SwatDeprecated" classpath="${build.dir}" failonerror="true">
|
|
|
|
<arg value="-prov"/>
|
|
|
|
<arg value="-src"/>
|
|
|
|
<arg value="${src.dir}"/>
|
|
|
|
<arg value="-dst"/>
|
|
|
|
<arg value="${src.dir}"/>
|
|
|
|
<arg value="-overwrite"/>
|
|
|
|
<arg value="-verbose"/>
|
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
2005-11-22 00:54:16 +00:00
|
|
|
<!-- for building eclipse distribution -->
|
2006-09-15 18:09:25 +00:00
|
|
|
<target name="eclipseProjects"
|
|
|
|
depends="eclipseCoreProject,eclipseTestProject,eclipseWrapperProject"
|
|
|
|
description="create all eclipse icu projects"/>
|
2005-11-22 00:54:16 +00:00
|
|
|
|
2005-12-14 03:09:59 +00:00
|
|
|
<target name="undoEclipseMangle" depends="buildmangle" description="preprocess files back to default)">
|
2005-11-22 00:54:16 +00:00
|
|
|
<java classname="com.ibm.icu.dev.tool.docs.CodeMangler" classpath="${build.dir}" logError="true">
|
|
|
|
<arg value="@eclipseCoreArgs.txt"/>
|
|
|
|
<arg value="@eclipseTestArgs.txt"/>
|
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="eclipseCoreMangle" depends="buildmangle">
|
|
|
|
<java classname="com.ibm.icu.dev.tool.docs.CodeMangler" classpath="${build.dir}" logError="true">
|
|
|
|
<arg value="-dFOUNDATION"/>
|
2005-12-14 03:09:59 +00:00
|
|
|
<arg value="-t"/>
|
2005-11-22 00:54:16 +00:00
|
|
|
<arg value="@eclipseCoreArgs.txt"/>
|
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="eclipseCore" depends="init,coreData,icudata,eclipseCoreMangle">
|
|
|
|
<javac includes="com/ibm/icu/util/**/*.java,com/ibm/icu/text/**/*.java,com/ibm/icu/math/**/*.java,com/ibm/icu/impl/**/*.java,com/ibm/icu/lang/*.java"
|
2007-01-06 02:32:49 +00:00
|
|
|
excludes="**/CVS/**/*,com/ibm/icu/charset/**/*.*"
|
2005-11-22 00:54:16 +00:00
|
|
|
compiler="javac1.3"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
bootclasspath="ee.foundation.jar"
|
|
|
|
source="1.3"
|
|
|
|
target="1.1"
|
|
|
|
debug="on"
|
|
|
|
deprecation="off"
|
|
|
|
encoding="ascii"/>
|
|
|
|
<antcall target="indices"/>
|
2006-09-27 00:54:22 +00:00
|
|
|
<jar jarfile="${jar.file}" compress="true">
|
|
|
|
<fileset dir="${basedir}" includes="license.html, unicode-license.txt" />
|
|
|
|
<fileset dir="${build.dir}"
|
|
|
|
includes="com/ibm/icu/util/**/*,com/ibm/icu/text/**/*,com/ibm/icu/math/**/*,com/ibm/icu/impl/**/*,com/ibm/icu/lang/**/*"
|
|
|
|
excludes="META-INF/services/**/*,com/ibm/icu/charset/**/*,${icu4j.data.path}/*.cnv, ${icu4j.data.path}/cnvalias.icu"/>
|
2006-09-23 17:06:12 +00:00
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="ICU4J Eclipse Build"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value=" ICU for Java"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
2005-11-22 00:54:16 +00:00
|
|
|
</target>
|
|
|
|
|
2006-09-15 18:09:25 +00:00
|
|
|
<target name="eclipseCoreProject" depends="eclipseCore" description="gather eclipse icu core project files">
|
2006-03-25 00:08:28 +00:00
|
|
|
<delete failonerror="no">
|
2006-09-15 18:09:25 +00:00
|
|
|
<fileset dir="${eclipse.projects.dir}/com.ibm.icu"/>
|
|
|
|
<fileset dir="${eclipse.projects.dir}/com.ibm.icu-feature"/>
|
2006-03-25 00:08:28 +00:00
|
|
|
</delete>
|
2006-09-15 18:09:25 +00:00
|
|
|
<!-- collect source files -->
|
|
|
|
<copy toDir="${eclipse.projects.dir}/com.ibm.icu/src/com/ibm/icu">
|
2006-03-25 00:08:28 +00:00
|
|
|
<fileset dir="src/com/ibm/icu"
|
|
|
|
includes="impl/**/*,lang/**/*,math/**/*,text/**/*,util/**/*"
|
|
|
|
excludes="**/CVS/**/*,**/*.jar,**/Transliterator_Han_Latin*.txt"/>
|
|
|
|
</copy>
|
2006-09-15 18:09:25 +00:00
|
|
|
<!-- collect icu data files -->
|
|
|
|
<copy todir="${eclipse.projects.dir}/com.ibm.icu/src/com/ibm/icu/impl/data">
|
2006-03-25 00:08:28 +00:00
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/impl/data"
|
|
|
|
includes="**/*.brk,**/*.icu,**/*.res,**/*.spp,**/*.txt"
|
|
|
|
excludes="**/Transliterator_Han_Latin*.txt"/>
|
|
|
|
</copy>
|
2006-09-15 18:09:25 +00:00
|
|
|
<!-- collect eclipse project files -->
|
|
|
|
<copy todir="${eclipse.projects.dir}">
|
|
|
|
<fileset dir="${eclipse.dir}"
|
|
|
|
includes="com.ibm.icu/**/*,com.ibm.icu-feature/**/*"
|
|
|
|
excludes="**/CVS/**/*"/>
|
|
|
|
</copy>
|
|
|
|
<!-- copy ICU license file -->
|
|
|
|
<copy file="license.html"
|
|
|
|
todir="${eclipse.projects.dir}/com.ibm.icu/about_files"/>
|
|
|
|
<!-- ucd terms -->
|
|
|
|
<copy file="src/com/ibm/icu/dev/data/unicode/ucdterms.txt"
|
|
|
|
todir="${eclipse.projects.dir}/com.ibm.icu/about_files"/>
|
|
|
|
<!-- copy ICU about file -->
|
|
|
|
<copy file="${eclipse.dir}/misc/about_icu.html"
|
|
|
|
tofile="${eclipse.projects.dir}/com.ibm.icu/about.html"/>
|
|
|
|
<!-- common eclipse about file -->
|
|
|
|
<copy file="${eclipse.dir}/misc/about.html"
|
|
|
|
todir="${eclipse.projects.dir}/com.ibm.icu-feature/sourceTemplatePlugin"/>
|
2006-03-25 00:08:28 +00:00
|
|
|
</target>
|
2005-12-14 03:09:59 +00:00
|
|
|
|
2006-09-15 18:09:25 +00:00
|
|
|
|
2006-02-23 05:48:31 +00:00
|
|
|
<!-- ensure eclipse wrapper code builds with foundation1.0/java1.3 -->
|
|
|
|
<target name="eclipseWrapper" depends="init">
|
|
|
|
<javac includes="com/ibm/icu/util/**/*.java,com/ibm/icu/text/**/*.java"
|
|
|
|
compiler="javac1.3"
|
|
|
|
srcdir="${src.dir}/com/ibm/icu/dev/eclipse/com.ibm.icu.base/src"
|
2006-09-15 18:09:25 +00:00
|
|
|
destdir="${wrapper.build.dir}"
|
2006-02-23 05:48:31 +00:00
|
|
|
classpathref="build.classpath"
|
|
|
|
bootclasspath="ee.foundation.jar"
|
|
|
|
source="1.3"
|
|
|
|
target="1.1"
|
|
|
|
debug="on"
|
|
|
|
deprecation="off"
|
|
|
|
encoding="ascii"/>
|
2006-09-15 18:09:25 +00:00
|
|
|
<jar jarfile="${jdk.wrapper.jar.file}"
|
|
|
|
compress="true"
|
|
|
|
basedir="${wrapper.build.dir}"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="eclipseWrapperTest" depends="init">
|
|
|
|
<!-- TODO: build the wrapper test code this ant target -->
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="eclipseWrapperProject" depends="eclipseWrapper,eclipseWrapperTest" description="gather eclipse icu core project files">
|
|
|
|
<delete failonerror="no">
|
|
|
|
<fileset dir="${eclipse.projects.dir}/com.ibm.icu.base"/>
|
|
|
|
<fileset dir="${eclipse.projects.dir}/com.ibm.icu.base-feature"/>
|
|
|
|
<fileset dir="${eclipse.projects.dir}/com.ibm.icu.base.tests"/>
|
|
|
|
</delete>
|
|
|
|
<!-- collect eclipse project files -->
|
|
|
|
<copy todir="${eclipse.projects.dir}">
|
|
|
|
<fileset dir="${eclipse.dir}"
|
|
|
|
includes="com.ibm.icu.base/**/*,com.ibm.icu.base-feature/**/*,com.ibm.icu.base.tests/**/*"
|
|
|
|
excludes="**/CVS/**/*"/>
|
|
|
|
</copy>
|
|
|
|
<!-- copy ICU license file -->
|
|
|
|
<copy file="license.html"
|
|
|
|
todir="${eclipse.projects.dir}/com.ibm.icu.base/about_files"/>
|
|
|
|
<!-- copy ICU about file -->
|
|
|
|
<copy file="${eclipse.dir}/misc/about_icu.html"
|
|
|
|
tofile="${eclipse.projects.dir}/com.ibm.icu.base/about.html"/>
|
|
|
|
<!-- common eclipse about file -->
|
|
|
|
<copy file="${eclipse.dir}/misc/about.html"
|
|
|
|
todir="${eclipse.projects.dir}/com.ibm.icu.base-feature/sourceTemplatePlugin"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="eclipseTestMangle" depends="buildmangle">
|
|
|
|
<java classname="com.ibm.icu.dev.tool.docs.CodeMangler" classpath="${build.dir}" logError="true">
|
|
|
|
<arg value="-dFOUNDATION"/>
|
|
|
|
<arg value="-t"/>
|
|
|
|
<arg value="@eclipseTestArgs.txt"/>
|
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="eclipseTests" depends="eclipseCore,testdata,eclipseTestMangle" description="build tests trimmed for eclipse API">
|
|
|
|
<!-- TODO: we should actually use ee.foundation.jar for eclipse env -->
|
|
|
|
<javac includes="com/ibm/icu/dev/test/**/*.java"
|
2007-01-06 02:32:49 +00:00
|
|
|
excludes="**/CVS/**/*,com/ibm/icu/dev/test/charset/**/*.*,com/ibm/icu/dev/test/perf/**/*.*,com/ibm/icu/dev/test/translit/UnicodeMapTest.java"
|
2006-09-15 18:09:25 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
source="1.3"
|
|
|
|
target="1.3"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on"
|
|
|
|
deprecation="off"/>
|
|
|
|
<antcall target="indices"/>
|
2006-09-23 17:06:12 +00:00
|
|
|
<jar jarfile="${testjar.file}" compress="true" >
|
2006-09-15 18:09:25 +00:00
|
|
|
<fileset dir="${build.dir}" includes="com/ibm/icu/dev/test/**/*"/>
|
|
|
|
<fileset dir="${build.dir}" includes="com/ibm/icu/dev/data/**/*"/>
|
2006-09-23 17:06:12 +00:00
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="Tests for ICU4J "/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value="Tests for ICU4J"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
2006-09-15 18:09:25 +00:00
|
|
|
</jar>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="eclipseTestProject" depends="eclipseTests,zipTestSrc" description="gather eclipse icu test project files">
|
|
|
|
<delete failonerror="no">
|
|
|
|
<fileset dir="${eclipse.projects.dir}/com.ibm.icu.tests"/>
|
|
|
|
</delete>
|
|
|
|
<!-- copy eclipse test source and project files -->
|
|
|
|
<copy toDir="${eclipse.projects.dir}/com.ibm.icu.tests">
|
|
|
|
<fileset dir="${eclipse.dir}/com.ibm.icu.tests"
|
|
|
|
includes="**/*"
|
|
|
|
excludes="**/CVS/**/"/>
|
|
|
|
</copy>
|
|
|
|
<!-- copy icu test jar -->
|
|
|
|
<copy toDir="${eclipse.projects.dir}/com.ibm.icu.tests" file="${testjar.file}"/>
|
|
|
|
<!-- copy icu test source zip -->
|
|
|
|
<copy toDir="${eclipse.projects.dir}/com.ibm.icu.tests" file="${zipTestSrc.file}"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="zipCoreSrc" depends="init" description="build zip of core sources for debugging">
|
|
|
|
<!-- for eclipse -->
|
|
|
|
<zip destfile="${zipCoreSrc.file}"
|
|
|
|
compress="true"
|
|
|
|
basedir="${src.dir}"
|
|
|
|
includes="../license.html,../Copyright_Assignment.rtf,com/ibm/icu/impl/**/*,com/ibm/icu/lang/**/*,com/ibm/icu/math/**/*,com/ibm/icu/text/**/*,com/ibm/icu/util/**/*"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="zipTestSrc" depends="init" description="build zip of test sources for debugging">
|
|
|
|
<!-- for eclipse -->
|
|
|
|
<zip destfile="${zipTestSrc.file}"
|
|
|
|
compress="true"
|
|
|
|
basedir="${src.dir}"
|
|
|
|
includes="com/ibm/icu/dev/test/**/*"
|
|
|
|
excludes="com/ibm/icu/dev/test/cldr/**/*, com/ibm/icu/dev/test/perf/**/*"/>
|
2006-02-23 05:48:31 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="gatherICU4JWrapperAPI" depends="tools" if="version.1.4">
|
|
|
|
<javadoc classpath="${build.dir}"
|
|
|
|
sourcepath="${src.dir}"
|
|
|
|
packagenames="com.ibm.icu.text,com.ibm.icu.util"
|
|
|
|
source="1.4">
|
|
|
|
<doclet name="com.ibm.icu.dev.tool.docs.GatherAPIData"
|
|
|
|
path="${build.dir}">
|
2006-09-14 17:22:51 +00:00
|
|
|
<param name="-name" value="ICU4J 3.6"/>
|
2006-02-23 05:48:31 +00:00
|
|
|
<param name="-base" value="com.ibm.icu"/>
|
2006-09-14 17:22:51 +00:00
|
|
|
<param name="-output" value="${api.dir}/icu4j36w_i.api"/>
|
2006-02-23 05:48:31 +00:00
|
|
|
<param name="-filter" value="BreakIterator|CollationKey|Collator|DateFormat|DecimalFormat|MessageFormat|NumberFormat|SimpleDateFormat|StringTokenizer|Calendar|TimeZone|ULocale|DateFormatSymbols|DecimalFormatSymbols|Calendar|TimeZone"/>
|
|
|
|
<!-- param name="-gzip"/ -->
|
|
|
|
</doclet>
|
|
|
|
</javadoc>
|
2005-12-14 03:09:59 +00:00
|
|
|
</target>
|
|
|
|
|
2006-02-23 05:48:31 +00:00
|
|
|
<target name="gatherEclipseWrapperAPI" depends="tools" if="version.1.4">
|
|
|
|
<javadoc classpath="${build.dir}"
|
|
|
|
sourcepath="${src.dir}/com/ibm/icu/dev/eclipse/com.ibm.icu.base/src"
|
|
|
|
packagenames="com.ibm.icu.text,com.ibm.icu.util"
|
|
|
|
source="1.4">
|
|
|
|
<doclet name="com.ibm.icu.dev.tool.docs.GatherAPIData"
|
|
|
|
path="${build.dir}">
|
2006-09-14 17:22:51 +00:00
|
|
|
<param name="-name" value="ICU4J 3.6 Wrapper"/>
|
2006-02-23 05:48:31 +00:00
|
|
|
<param name="-base" value="com.ibm.icu"/>
|
2006-09-14 17:22:51 +00:00
|
|
|
<param name="-output" value="${api.dir}/icu4j36w_e.api"/>
|
2006-02-23 05:48:31 +00:00
|
|
|
<!-- param name="-gzip"/ -->
|
|
|
|
</doclet>
|
|
|
|
</javadoc>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="reportWrapperAPI" depends="tools" if="version.1.4">
|
|
|
|
<java classname="com.ibm.icu.dev.tool.docs.ReportAPI" classpath="${build.dir}" failonerror="true">
|
|
|
|
<arg value="-old:"/>
|
2006-09-14 17:22:51 +00:00
|
|
|
<arg value="${api.dir}/icu4j${icu4j.previous.version.number}w_i.api"/>
|
2006-02-23 05:48:31 +00:00
|
|
|
<arg value="-new:"/>
|
2006-09-14 17:22:51 +00:00
|
|
|
<arg value="${api.dir}/icu4j${icu4j.version.number}w_e.api"/>
|
2006-02-23 05:48:31 +00:00
|
|
|
<arg value="-html"/>
|
|
|
|
<arg value="-out:"/>
|
2006-09-14 17:22:51 +00:00
|
|
|
<arg value="${api.dir}/icu4j_compare_${icu4j.previous.version.number}_wrapper_java.html"/>
|
2006-02-23 05:48:31 +00:00
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
2006-09-15 18:09:25 +00:00
|
|
|
<target name="runCheck" depends="init,tests">
|
|
|
|
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true">
|
|
|
|
<arg value="-n"/>
|
|
|
|
<classpath>
|
|
|
|
<pathelement path="${java.class.path}/"/>
|
2006-09-22 00:24:01 +00:00
|
|
|
<pathelement location="${jar.file}"/>
|
|
|
|
<pathelement location="${charsets.jar.file}"/>
|
2006-09-15 18:09:25 +00:00
|
|
|
<pathelement location="clover.jar"/>
|
|
|
|
<pathelement path="${build.dir}"/>
|
|
|
|
</classpath>
|
|
|
|
</java>
|
2005-12-14 03:09:59 +00:00
|
|
|
</target>
|
2006-03-25 00:08:28 +00:00
|
|
|
|
2007-01-06 02:32:49 +00:00
|
|
|
<target name="eclipseRunCheck" depends="init,eclipseTests">
|
2005-12-16 01:56:51 +00:00
|
|
|
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true">
|
|
|
|
<arg value="-n"/>
|
|
|
|
<classpath>
|
|
|
|
<pathelement path="${java.class.path}/"/>
|
2006-03-25 00:08:28 +00:00
|
|
|
<pathelement location="icu4j.jar"/>
|
2005-12-16 01:56:51 +00:00
|
|
|
<pathelement location="clover.jar"/>
|
2006-03-25 00:08:28 +00:00
|
|
|
<pathelement path="${build.dir}"/>
|
2005-12-16 01:56:51 +00:00
|
|
|
</classpath>
|
|
|
|
</java>
|
|
|
|
</target>
|
2006-09-15 18:09:25 +00:00
|
|
|
|
2006-03-25 00:08:28 +00:00
|
|
|
<target name="eclipseCompat" depends="init, eclipseCore"/>
|
2006-09-15 18:09:25 +00:00
|
|
|
<target name="eclipseCompatTests" depends="init, eclipseTestMangle, eclipseTests" />
|
2006-09-18 19:32:59 +00:00
|
|
|
<target name="eclipseCompatCheck" depends="init, eclipseCompat, eclipseCompatTests, deleteCore, eclipseRunCheck"/>
|
2006-02-23 05:48:31 +00:00
|
|
|
|
2006-09-18 17:42:12 +00:00
|
|
|
|
|
|
|
<target name="core13" depends="init,coreData,icudata" description="build core classes and data">
|
|
|
|
<javac includes="com/ibm/icu/util/**/*.java,com/ibm/icu/text/**/*.java,com/ibm/icu/math/**/*.java,com/ibm/icu/impl/**/*.java,com/ibm/icu/lang/*.java,com/ibm/icu/charset/**/*.java"
|
|
|
|
excludes="**/CVS/**/*,com/ibm/icu/charset/**/*.*"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
|
|
|
debug="on" deprecation="off"
|
|
|
|
encoding="ascii"/>
|
|
|
|
</target>
|
|
|
|
|
2006-09-18 18:30:39 +00:00
|
|
|
<target name="jar13" depends="core13,indices" description="build full 'icu4j.jar' jar file for jdk1.3">
|
2006-09-27 00:54:22 +00:00
|
|
|
<jar jarfile="${jar.file}" compress="true">
|
|
|
|
<fileset dir="${basedir}" includes="license.html, unicode-license.txt" />
|
|
|
|
<fileset dir="${build.dir}"
|
|
|
|
includes="com/ibm/icu/util/**/*,com/ibm/icu/text/**/*,com/ibm/icu/math/**/*,com/ibm/icu/impl/**/*,com/ibm/icu/lang/**/*"
|
|
|
|
excludes="META-INF/services/**/*,com/ibm/icu/charset/**/*,${icu4j.data.path}/*.cnv, ${icu4j.data.path}/cnvalias.icu"/>
|
|
|
|
|
2006-09-23 17:06:12 +00:00
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="ICU4J JDK 1.3 Compatible Build"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value=" ICU for Java Charsets"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
2006-09-18 18:30:39 +00:00
|
|
|
</target>
|
|
|
|
|
2006-09-18 17:42:12 +00:00
|
|
|
<target name="jdk13Compat" depends="init, eclipseCoreMangle, core13" description="builds ICU4J core with JDK 1.3"/>
|
2006-09-15 18:09:25 +00:00
|
|
|
<target name="jdk13CompatTests" depends="init, jdk13Compat, eclipseTestMangle, eclipseTests" description="builds ICU4J tests with JDK 1.3"/>
|
2006-09-18 18:30:39 +00:00
|
|
|
<target name="jdk13CompatCheck" depends="init, jdk13CompatTests, jar13, deleteCore, eclipseRunCheck" description="runs the tests with JDK 1.3"/>
|
2007-02-21 05:55:07 +00:00
|
|
|
<target name="icutzu" depends="init" description="build ICU4J TimeZone Update Utility Classes">
|
|
|
|
<javac includes="com/ibm/icu/dev/tool/tzu/**/*.java"
|
|
|
|
excludes="**/.svn/**/*"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
source="${icu4j.javac.source}"
|
|
|
|
target="${icu4j.javac.target}"
|
|
|
|
debug="on" deprecation="off"
|
|
|
|
encoding="ascii"/>
|
|
|
|
</target>
|
2007-02-22 17:40:39 +00:00
|
|
|
<target name="icutzudata" depends="init" >
|
2007-02-21 05:55:07 +00:00
|
|
|
<mkdir dir="${tzu.bin.dir}"/>
|
|
|
|
<copy todir="${tzu.bin.dir}">
|
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/dev/tool/tzu">
|
|
|
|
<include name="*.bat"/>
|
|
|
|
<include name="*.sh"/>
|
2007-03-14 02:23:37 +00:00
|
|
|
<include name="*.gif"/>
|
2007-02-21 05:55:07 +00:00
|
|
|
</fileset>
|
|
|
|
<fileset dir="${basedir}">
|
|
|
|
<include name="${jar.file}"/>
|
|
|
|
</fileset>
|
2007-02-22 17:40:39 +00:00
|
|
|
<fileset dir="${build.dir}/${icu4j.data.path}">
|
|
|
|
<include name="zoneinfo.res"/>
|
|
|
|
</fileset>
|
2007-02-21 05:55:07 +00:00
|
|
|
</copy>
|
|
|
|
<echo file="${tzu.bin.dir}/DirectorySearch.txt">all</echo>
|
2007-02-22 17:40:39 +00:00
|
|
|
</target>
|
|
|
|
<target name="icutzujar" depends="init, icutzu, jar, icutzudata" description="build ICU4J TimeZone Update Utility Classes">
|
2007-02-21 05:55:07 +00:00
|
|
|
<jar jarfile="${tzujar.file}" compress="true">
|
|
|
|
<fileset dir="${basedir}" includes="license.html" />
|
|
|
|
<fileset dir="${build.dir}" includes="com/ibm/icu/dev/tool/tzu/**/*.class"/>
|
|
|
|
<fileset dir="${build.dir}" includes="com/ibm/icu/dev/tool/UOption*.*"/>
|
|
|
|
<manifest>
|
2007-02-24 04:02:58 +00:00
|
|
|
<attribute name="Main-Class" value="com.ibm.icu.dev.tool.tzu.ICUTZUMain"/>
|
2007-02-21 05:55:07 +00:00
|
|
|
<attribute name="Built-By" value="${corp}"/>
|
|
|
|
<section name="common">
|
|
|
|
<attribute name="Specification-Title" value="ICU4J TimeZone Update Utility"/>
|
|
|
|
<attribute name="Specification-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Specification-Vendor" value="ICU"/>
|
|
|
|
<attribute name="Implementation-Title" value="ICU4JTZU"/>
|
|
|
|
<attribute name="Implementation-Version" value="${icu4j.version.string}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="${corp}"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="com.ibm"/>
|
|
|
|
<attribute name="Copyright-Info" value="${copyright}"/>
|
|
|
|
<attribute name="Sealed" value="false"/>
|
|
|
|
</section>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
<echo message="Please see ${tzu.bin.dir} directory for the files."/>
|
|
|
|
</target>
|
2000-03-10 01:33:53 +00:00
|
|
|
</project>
|