2002-07-26 00:24:33 +00:00
|
|
|
<!--
|
2000-03-10 04:18:06 +00:00
|
|
|
/*
|
|
|
|
*******************************************************************************
|
2003-06-03 18:49:38 +00:00
|
|
|
* Copyright (C) 1997-2003, International Business Machines Corporation and *
|
2000-03-10 04:18:06 +00:00
|
|
|
* others. All Rights Reserved. *
|
|
|
|
*******************************************************************************
|
|
|
|
*
|
2002-07-26 00:24:33 +00:00
|
|
|
* $Source: /xsrl/Nsvn/icu/icu4j/build.xml,v $
|
2004-01-12 23:54:16 +00:00
|
|
|
* $Date: 2004/01/12 23:54:16 $
|
|
|
|
* $Revision: 1.86 $
|
2000-03-10 04:18:06 +00:00
|
|
|
*
|
2000-03-13 19:18:54 +00:00
|
|
|
*******************************************************************************
|
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">
|
2004-01-12 23:54:16 +00:00
|
|
|
<clover-setup initString="tmp/icu4j.db">
|
|
|
|
<files>
|
|
|
|
<exclude name="**/dev/**/*.java"/>
|
2003-08-21 23:44:28 +00:00
|
|
|
</files>
|
|
|
|
</clover-setup>
|
|
|
|
</target>
|
|
|
|
<target name="clover.html" depends="with.clover">
|
2004-01-12 23:54:16 +00:00
|
|
|
<clover-report >
|
2003-08-21 23:44:28 +00:00
|
|
|
<current outfile="icu4j_html" >
|
2004-01-12 23:54:16 +00:00
|
|
|
<format type="html" />
|
|
|
|
</current>
|
|
|
|
</clover-report>
|
2003-08-21 23:44:28 +00:00
|
|
|
</target>
|
|
|
|
<target name="clover.log" depends="with.clover">
|
|
|
|
<clover-log level="method">
|
|
|
|
<package name="com.ibm.icu.text"/>
|
2004-01-12 23:54:16 +00:00
|
|
|
</clover-log>
|
2003-08-21 23:44:28 +00:00
|
|
|
<clover-log level="method">
|
|
|
|
<package name="com.ibm.icu.lang"/>
|
2004-01-12 23:54:16 +00:00
|
|
|
</clover-log>
|
2003-08-21 23:44:28 +00:00
|
|
|
<clover-log level="method">
|
|
|
|
<package name="com.ibm.icu.math"/>
|
2004-01-12 23:54:16 +00:00
|
|
|
</clover-log>
|
2003-08-21 23:44:28 +00:00
|
|
|
<clover-log level="method">
|
|
|
|
<package name="com.ibm.icu.util"/>
|
2004-01-12 23:54:16 +00:00
|
|
|
</clover-log>
|
2003-08-21 23:44:28 +00:00
|
|
|
<clover-log level="method">
|
|
|
|
<package name="com.ibm.icu.impl"/>
|
2004-01-12 23:54:16 +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"/>
|
|
|
|
</or>
|
2002-12-02 17:04:21 +00:00
|
|
|
</condition>
|
|
|
|
|
2004-01-12 23:54:16 +00:00
|
|
|
<condition property="doc.params"
|
|
|
|
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.stringprep*' -group 'ICU Tools' 'com.ibm.icu.dev*' -group 'Rich Text Editing' 'com.ibm.richtext*'">
|
|
|
|
<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"/>
|
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"/>
|
2003-09-17 20:36:51 +00:00
|
|
|
<property name="jarSrc.file" value="icu4jsrc.jar"/>
|
|
|
|
<property name="jarDocs.file" value="icu4jdocs.jar"/>
|
2002-03-31 06:37:20 +00:00
|
|
|
<property name="icu4j.manifest" value="${src.dir}/com/ibm/icu/manifest.stub"/>
|
2003-06-13 19:27:24 +00:00
|
|
|
<property name="icu4j.module.manifest" value="${src.dir}/com/ibm/icu/manifest.module.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"/>
|
2002-07-26 00:24:33 +00:00
|
|
|
|
2003-01-28 18:55:43 +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"/>
|
2002-03-16 07:13:36 +00:00
|
|
|
|
2002-03-18 21:27:45 +00:00
|
|
|
<mkdir dir="${build.dir}"/>
|
2003-01-28 18:55:43 +00:00
|
|
|
<uptodate property="icu4j.resources" targetfile="${src.dir}/com/ibm/icu/impl/data/ICULocaleData.jar">
|
|
|
|
<!-- note must not have '/' before 'com' in srcfiles includes arg! -->
|
|
|
|
<srcfiles dir="${build.dir}" includes="com/ibm/icu/impl/data/LocaleElements_index.class"/>
|
|
|
|
</uptodate>
|
2002-11-15 22:40:16 +00:00
|
|
|
<echo message="java home: ${java.home}"/>
|
|
|
|
<echo message="java version: ${java.version}"/>
|
|
|
|
<echo message="ant java version: ${ant.java.version}"/>
|
|
|
|
<echo message="${ant.version}"/>
|
2003-02-05 05:50:05 +00:00
|
|
|
<echo message="clover initstring = '${clover.initstring}'"/>
|
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 -->
|
|
|
|
<target name="all" depends="core,tests,tools,richedit,demos,jar,docs"/>
|
2002-03-16 07:13:36 +00:00
|
|
|
|
2003-01-28 18:55:43 +00:00
|
|
|
<target name="resources" depends="init">
|
|
|
|
<!-- use this target to force resources to be rebuilt -->
|
|
|
|
<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>
|
2002-03-16 07:13:36 +00:00
|
|
|
|
2003-01-28 18:55:43 +00:00
|
|
|
<target name="_resources" depends="init" if="icu4j.resources">
|
|
|
|
<!-- use this target to conditionally build resources only if icu4j.resources is set -->
|
|
|
|
<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>
|
2002-03-16 07:13:36 +00:00
|
|
|
|
2003-01-28 18:55:43 +00:00
|
|
|
<!-- core does not build richedit or tests -->
|
2002-03-16 07:13:36 +00:00
|
|
|
<target name="core" depends="init,coreData,_resources">
|
2002-07-26 00:24:33 +00:00
|
|
|
<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"
|
2001-11-28 18:04:53 +00:00
|
|
|
excludes="**/CVS/**/*"
|
|
|
|
srcdir="${src.dir}"
|
2003-01-28 18:55:43 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2003-08-21 23:44:28 +00:00
|
|
|
debug="on" deprecation="off"
|
2004-01-12 23:54:16 +00:00
|
|
|
encoding="ascii"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
</target>
|
2002-07-26 00:24:33 +00:00
|
|
|
|
2001-11-28 18:04:53 +00:00
|
|
|
<target name="tests" depends="core,testData">
|
2002-02-19 04:10:25 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/test/**/*.java"
|
|
|
|
excludes="**/CVS/**/*"
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2002-02-19 04:10:25 +00:00
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
2002-07-26 00:24:33 +00:00
|
|
|
|
2001-11-28 18:04:53 +00:00
|
|
|
<target name="demos" depends="core,testData">
|
2002-02-19 04:10:25 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/demo/**/*.java"
|
2001-11-28 18:04:53 +00:00
|
|
|
excludes="**/CVS/**/*"
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2001-11-28 18:04:53 +00:00
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
2002-07-26 00:24:33 +00:00
|
|
|
|
2002-12-03 06:27:55 +00:00
|
|
|
<target name="one4tools" depends="anthack1,anthack2" if="version.1.4">
|
2003-06-04 22:18:50 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/tool/xmlcomparator/*.java,com/ibm/icu/dev/localeconverter/docs/*.java,com/ibm/icu/dev/tool/docs/*.java"
|
2001-11-28 18:04:53 +00:00
|
|
|
excludes="**/CVS/**/*"
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2001-11-28 18:04:53 +00:00
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
|
2002-12-03 06:27:55 +00:00
|
|
|
<target name="tools" depends="core,one4tools">
|
|
|
|
<javac includes="com/ibm/icu/dev/tool/**/*.java"
|
2003-06-04 22:18:50 +00:00
|
|
|
excludes="com/ibm/icu/dev/tool/xmlcomparator/*,com/ibm/icu/dev/tool/localeconverter/*,com/ibm/icu/dev/tool/docs/*,**/CVS/**/*"
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2002-12-03 06:27:55 +00:00
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
2004-01-12 23:54:16 +00:00
|
|
|
|
2002-12-12 23:26:57 +00:00
|
|
|
<!-- use excludefiles below when we move to ant 1.5 -->
|
|
|
|
|
2002-12-03 06:27:55 +00:00
|
|
|
<target name="docs" depends="anthack1,anthack2,tools">
|
|
|
|
<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
|
2003-08-27 03:11:27 +00:00
|
|
|
packagenames="com.ibm.icu.lang,com.ibm.icu.text,com.ibm.icu.util,com.ibm.icu.math,com.ibm.icu.stringprep,com.ibm.richtext.demo,com.ibm.richtext.textlayout.attributes,com.ibm.richtext.awtui,com.ibm.richtext.print,com.ibm.richtext.styledtext,com.ibm.richtext.swingui,com.ibm.richtext.textformat,com.ibm.richtext.textpanel"
|
2001-11-28 18:04:53 +00:00
|
|
|
sourcepath="${src.dir}"
|
|
|
|
destdir="${doc.dir}"
|
|
|
|
nodeprecatedlist="true"
|
2003-01-28 18:55:43 +00:00
|
|
|
windowtitle="icu4j"
|
|
|
|
doctitle="icu4j"
|
|
|
|
encoding="iso-8859-1"
|
|
|
|
docencoding="iso-8859-1"
|
|
|
|
bottom="<font size=-1>Copyright (c) 2002 IBM Corporation and others.</font>"
|
|
|
|
additionalparam="${doc.params}"
|
2002-07-26 00:24:33 +00:00
|
|
|
/>
|
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">
|
2003-05-07 15:57:01 +00:00
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/impl/data"
|
2003-08-21 23:44:28 +00:00
|
|
|
includes="Transliterator_*.txt,*.icu,*.spp"
|
2003-05-07 15:57:01 +00:00
|
|
|
excludes="**/CVS/**/*,Transliterator_Han_Latin_*.txt"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<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"
|
2003-01-28 18:55:43 +00:00
|
|
|
todir="${build.dir}/com/ibm/icu/dev/data/rbbi"/>
|
|
|
|
<javac includes="com/ibm/icu/dev/data/*.java"
|
|
|
|
excludes="**/CVS/**/*"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2002-07-26 00:24:33 +00:00
|
|
|
debug="on" deprecation="off"/>
|
2003-08-21 23:44:28 +00:00
|
|
|
<copy todir="${build.dir}/com/ibm/icu/dev/data">
|
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/dev/data"
|
|
|
|
includes="*.spp"/>
|
|
|
|
</copy>
|
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 -->
|
|
|
|
<target name="richedit" depends="init">
|
|
|
|
<javac includes="com/ibm/richtext/**/*.java"
|
|
|
|
excludes="**/CVS/**/*"
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
2002-08-03 07:43:29 +00:00
|
|
|
debug="on" deprecation="off"/>
|
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"/>
|
|
|
|
|
2001-11-28 18:04:53 +00:00
|
|
|
<target name="jar" depends="core">
|
|
|
|
<jar jarfile="${jar.file}"
|
2004-01-12 23:54:16 +00:00
|
|
|
compress="true"
|
2002-08-03 07:43:29 +00:00
|
|
|
includes="com/ibm/icu/util/**/*,com/ibm/icu/text/**/*,com/ibm/icu/math/**/*,com/ibm/icu/impl/**/*,com/ibm/icu/lang/**/*"
|
2002-03-31 06:37:20 +00:00
|
|
|
basedir="${build.dir}"
|
|
|
|
manifest="${icu4j.manifest}"/>
|
2001-11-28 18:04:53 +00:00
|
|
|
</target>
|
|
|
|
|
2003-11-21 19:45:03 +00:00
|
|
|
<target name="testJar" depends="tests">
|
|
|
|
<jar jarfile="${testjar.file}"
|
2004-01-12 23:54:16 +00:00
|
|
|
compress="true"
|
2003-11-21 19:45:03 +00:00
|
|
|
includes="com/ibm/icu/dev/test/**/*"
|
|
|
|
basedir="${build.dir}"/>
|
|
|
|
</target>
|
|
|
|
|
2003-09-17 20:36:51 +00:00
|
|
|
<target name="jarSrc" depends="init">
|
|
|
|
<!--Create a jar archive of just the source for distribution. The
|
|
|
|
zip file will be created in the directory above the root ICU4J
|
|
|
|
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="."
|
|
|
|
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.file}"
|
|
|
|
manifest="${icu4j.manifest}"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="jarDocs" depends="docs">
|
|
|
|
<jar jarfile="${jarDocs.file}"
|
|
|
|
compress="true"
|
|
|
|
basedir="${doc.dir}"
|
|
|
|
manifest="${icu4j.manifest}"/>
|
|
|
|
</target>
|
|
|
|
|
2002-08-03 07:43:29 +00:00
|
|
|
<!-- jars up richedit but without tests -->
|
|
|
|
<target name="richeditJar" depends="richedit">
|
|
|
|
<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 -->
|
2002-07-26 00:24:33 +00:00
|
|
|
<target name="richeditDocs" depends="init">
|
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"
|
|
|
|
bottom="<font size=-1>Copyright (c) 1998-2002 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 -->
|
2001-11-28 18:04:53 +00:00
|
|
|
<target name="richeditZip" depends="richeditJar,richeditDocs">
|
|
|
|
<!--Create a zip archive of the richedit jar and readme -->
|
2003-01-28 18:55:43 +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>
|
2002-07-26 00:24:33 +00:00
|
|
|
|
2002-12-02 05:45:46 +00:00
|
|
|
<target name="check" depends="tests">
|
2003-02-28 17:19:50 +00:00
|
|
|
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes">
|
2003-01-28 18:55:43 +00:00
|
|
|
<classpath>
|
2002-12-02 05:45:46 +00:00
|
|
|
<pathelement path="${java.class.path}/"/>
|
2003-12-13 00:30:58 +00:00
|
|
|
<pathelement location="clover.jar"/>
|
2002-12-02 05:45:46 +00:00
|
|
|
<pathelement path="${build.dir}"/>
|
|
|
|
</classpath>
|
2003-01-28 18:55:43 +00:00
|
|
|
</java>
|
2002-12-02 05:45:46 +00:00
|
|
|
</target>
|
|
|
|
|
2003-11-14 21:56:54 +00:00
|
|
|
<target name="secureCheck" depends="tests">
|
|
|
|
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes">
|
|
|
|
<!-- (use for debugging, LOTS of output) jvmarg value="-Djava.security.debug=access" -->
|
|
|
|
<jvmarg value="-Djava.security.manager"/>
|
2004-01-12 23:54:16 +00:00
|
|
|
<jvmarg value="-Djava.security.policy=src/com/ibm/icu/dev/test/security.policy"/>
|
|
|
|
<arg value="-w"/>
|
2003-11-14 21:56:54 +00:00
|
|
|
<classpath>
|
|
|
|
<pathelement path="${java.class.path}/"/>
|
2004-01-12 23:54:16 +00:00
|
|
|
<pathelement location="clover.jar"/>
|
2003-11-14 21:56:54 +00:00
|
|
|
<pathelement path="${build.dir}"/>
|
|
|
|
</classpath>
|
|
|
|
</java>
|
|
|
|
</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}"
|
2002-12-02 05:45:46 +00:00
|
|
|
packagenames="com.ibm.icu.*"
|
|
|
|
excludepackagenames="com.ibm.icu.dev.*,com.ibm.icu.impl.*"
|
|
|
|
classpath="${build.dir}">
|
|
|
|
<doclet name="com.ibm.icu.dev.tool.docs.CheckTags"
|
|
|
|
path="${build.dir}">
|
2003-05-23 19:06:28 +00:00
|
|
|
<!-- <param name="-brief"/> -->
|
2003-01-28 18:55:43 +00:00
|
|
|
</doclet>
|
2002-12-02 05:45:46 +00:00
|
|
|
</javadoc>
|
|
|
|
</target>
|
|
|
|
|
2002-12-03 06:27:55 +00:00
|
|
|
<target name="checktags" depends="anthack1,anthack2,_requires14,_checktags"/>
|
|
|
|
|
2001-11-28 18:04:53 +00:00
|
|
|
<target name="clean" depends="init">
|
|
|
|
<delete dir="${build.dir}"/>
|
|
|
|
<delete dir="${doc.dir}"/>
|
2002-08-03 07:43:29 +00:00
|
|
|
<delete file="${jar.file}"/>
|
2003-01-28 18:55:43 +00:00
|
|
|
<delete dir="${richedit.dir}"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to copy the required *.icu files
|
|
|
|
-->
|
|
|
|
<target name="copyICUData" depends="init">
|
|
|
|
<copy file="${src.dir}/com/ibm/icu/impl/data/unorm.icu"
|
|
|
|
todir="${build.dir}/com/ibm/icu/impl/data/"/>
|
|
|
|
<copy file="${src.dir}/com/ibm/icu/impl/data/uprops.icu"
|
|
|
|
todir="${build.dir}/com/ibm/icu/impl/data/"/>
|
2003-05-16 19:44:21 +00:00
|
|
|
<!-- with introduction of back level normalization
|
2004-01-12 23:54:16 +00:00
|
|
|
we need the below data files to support it -->
|
2003-01-28 18:55:43 +00:00
|
|
|
<copy file="${src.dir}/com/ibm/icu/impl/data/unames.icu"
|
|
|
|
todir="${build.dir}/com/ibm/icu/impl/data/"/>
|
|
|
|
<copy file="${src.dir}/com/ibm/icu/impl/data/pnames.icu"
|
|
|
|
todir="${build.dir}/com/ibm/icu/impl/data/"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="copyICUPropsData" depends="init">
|
|
|
|
<copy file="${src.dir}/com/ibm/icu/impl/data/unorm.icu"
|
|
|
|
todir="${build.dir}/com/ibm/icu/impl/data/"/>
|
|
|
|
<copy file="${src.dir}/com/ibm/icu/impl/data/uprops.icu"
|
|
|
|
todir="${build.dir}/com/ibm/icu/impl/data/"/>
|
|
|
|
<!-- For basic support names data is not needed
|
|
|
|
<copy file="${src.dir}/com/ibm/icu/impl/data/unames.icu"
|
|
|
|
todir="${build.dir}/com/ibm/icu/impl/data/"/> -->
|
|
|
|
<copy file="${src.dir}/com/ibm/icu/impl/data/pnames.icu"
|
|
|
|
todir="${build.dir}/com/ibm/icu/impl/data/"/>
|
|
|
|
|
|
|
|
</target>
|
|
|
|
<target name="copyAllICUData" depends="init">
|
|
|
|
<copy todir="${build.dir}/com/ibm/icu/impl/data">
|
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/impl/data"
|
|
|
|
includes="*.icu"/>
|
|
|
|
</copy>
|
2003-05-16 19:44:21 +00:00
|
|
|
<!-- For basic support names data is not needed -->
|
2003-01-28 18:55:43 +00:00
|
|
|
<delete file="${build.dir}/com/ibm/icu/impl/data/unames.icu"/>
|
|
|
|
</target>
|
|
|
|
<target name="moduleJar" depends="init">
|
|
|
|
<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/**/*"
|
|
|
|
basedir="${build.dir}"
|
2003-06-13 19:27:24 +00:00
|
|
|
manifest="${icu4j.module.manifest}"/>
|
2003-01-28 18:55:43 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only Normalization API and Normalization tests
|
|
|
|
-->
|
|
|
|
<target name="normalizer" depends="init,copyICUData">
|
|
|
|
<javac includes="com/ibm/icu/text/Normalizer.java,com/ibm/icu/text/CanonicalIterator.java,com/ibm/icu/text/UTF16.java,com/ibm/icu/text/UCharacterIterator.java,com/ibm/icu/text/UForwardCharacterIterator.java,com/ibm/icu/text/Replaceable.java,com/ibm/icu/text/ReplaceableString.java,com/ibm/icu/text/UnicodeFilter.java,com/ibm/icu/text/UnicodeSetIterator.java,com/ibm/icu/lang/**/*"
|
|
|
|
excludes="**/CVS/**/*,com/ibm/icu/lang/UScriptRun.java, com/ibm/icu/impl/ICUListResourceBundle.java, com/ibm/icu/impl/UtilityExtensions.java,com/ibm/icu/impl/TrieBuilder.java,com/ibm/icu/impl/IntTrieBuilder.java,com/ibm/icu/impl/BOCU.java,com/ibm/icu/impl/UnicodeCharacterIterator.java"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
<target name="normalizerTests" depends="normalizer">
|
2003-02-01 00:56:57 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/test/TestFmwk.java,com/ibm/icu/dev/test/TestLog.java,com/ibm/icu/dev/test/TestUtil.java,com/ibm/icu/dev/test/UTF16Util.java,com/ibm/icu/dev/test/TestAll.java,com/ibm/icu/dev/test/normalizer/**/*.java"
|
2003-01-28 18:55:43 +00:00
|
|
|
excludes="**/CVS/**/*,com/ibm/icu/dev/test/normalizer/TestDeprecatedNormalizerAPI.java"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only Collation API and Collation tests
|
|
|
|
-->
|
|
|
|
<target name="collator" depends="init,_resources,copyAllICUData">
|
|
|
|
|
|
|
|
<javac includes="com/ibm/icu/text/*Collator*.java,com/ibm/icu/text/*Collation*.java,com/ibm/icu/text/*BreakIterator*.java,com/ibm/icu/text/Normalizer.java,com/ibm/icu/text/UTF16.java,com/ibm/icu/text/Replaceable.java,com/ibm/icu/text/ReplaceableString.java,com/ibm/icu/text/UnicodeFilter.java,com/ibm/icu/text/UnicodeSetIterator.java, com/ibm/icu/impl/data/*Break*.java"
|
|
|
|
excludes="**/CVS/**/*, com/ibm/icu/lang/UScriptRun.java,com/ibm/icu/impl/UtilityExtensions.java,com/ibm/icu/impl/UnicodeCharacterIterator.java"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
<target name="collatorTests" depends="collator">
|
2003-02-01 00:56:57 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/test/TestFmwk.java,com/ibm/icu/dev/test/TestLog.java,com/ibm/icu/dev/test/TestUtil.java,com/ibm/icu/dev/test/UTF16Util.java,com/ibm/icu/dev/test/TestAll.java,com/ibm/icu/dev/test/collator/**/*.java,com/ibm/icu/dev/test/search/**/*.java"
|
2003-12-02 03:08:38 +00:00
|
|
|
excludes="**/CVS/**/*, com/ibm/icu/dev/test/collator/RandomCollator.java"
|
2003-01-28 18:55:43 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only Character properties API and tests
|
|
|
|
-->
|
|
|
|
<target name="propertiesBasic" depends="init, copyICUPropsData">
|
|
|
|
|
|
|
|
<javac includes="com/ibm/icu/lang/**/*, com/ibm/icu/text/*BreakIterator*.java,com/ibm/icu/text/*BreakDictionary*.java,com/ibm/icu/impl/data/*Break*.java,com/ibm/icu/text/UnicodeSetIterator.java,com/ibm/icu/impl/ICUListResourceBundle.java"
|
|
|
|
excludes="**/CVS/**/*,com/ibm/icu/impl/UtilityExtensions.java"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
<target name="propertiesFull" depends="init,_resources, copyICUPropsData">
|
|
|
|
|
|
|
|
<javac includes="com/ibm/icu/lang/**/*, com/ibm/icu/text/*BreakIterator*.java,com/ibm/icu/text/*BreakDictionary*.java,com/ibm/icu/impl/data/*Break*.java,com/ibm/icu/text/UnicodeSetIterator.java,com/ibm/icu/impl/ICUListResourceBundle.java"
|
|
|
|
excludes="**/CVS/**/*,com/ibm/icu/impl/UtilityExtensions.java"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
<copy file="${src.dir}/com/ibm/icu/impl/data/unames.icu"
|
|
|
|
todir="${build.dir}/com/ibm/icu/impl/data/"/>
|
|
|
|
<!-- UScript does not require Collation data, BreakIterator data -->
|
|
|
|
<delete>
|
|
|
|
<fileset DIR="${build.dir}/com/ibm/icu/impl/data/" includes="LocaleElements_*__*.class,LocaleElements_*_*_STROKE.class,*.col,*.brk,*.utf8"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
<target name="propertiesTests" depends="propertiesBasic">
|
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/data/unicode/SpecialCasing.txt"
|
|
|
|
todir="${build.dir}/com/ibm/icu/dev/data/unicode/"/>
|
2003-02-01 00:56:57 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/test/TestFmwk.java,com/ibm/icu/dev/test/TestLog.java,com/ibm/icu/dev/test/TestUtil.java,com/ibm/icu/dev/test/UTF16Util.java,com/ibm/icu/dev/test/TestAll.java,com/ibm/icu/dev/test/lang/**/*.java"
|
2003-01-28 18:55:43 +00:00
|
|
|
excludes="**/CVS/**/*,com/ibm/icu/dev/test/lang/TestUScriptRun.java"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
<!--
|
|
|
|
Targets to build only Compression API API and tests
|
|
|
|
-->
|
|
|
|
<target name="compression" depends="init">
|
|
|
|
|
|
|
|
<javac includes="com/ibm/icu/text/SCSU.java, com/ibm/icu/text/UnicodeCompressor.java, com/ibm/icu/text/UnicodeDecompressor.java"
|
|
|
|
excludes="**/CVS/**/*"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
<target name="compressionTests" depends="compression">
|
2003-02-01 00:56:57 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/test/TestFmwk.java,com/ibm/icu/dev/test/TestLog.java,com/ibm/icu/dev/test/TestUtil.java,com/ibm/icu/dev/test/UTF16Util.java,com/ibm/icu/dev/test/TestAll.java,com/ibm/icu/dev/test/compression/**/*.java"
|
2003-01-28 18:55:43 +00:00
|
|
|
excludes="**/CVS/**/*"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
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
|
|
|
|
-->
|
|
|
|
<target name="calendar" depends="init,_resources,copyICUData">
|
|
|
|
|
|
|
|
<javac includes="com/ibm/icu/util/*Calendar*.java,com/ibm/icu/lang/UCharacter.java,com/ibm/icu/impl/ICUListResourceBundle.java,com/ibm/icu/text/UnicodeSetIterator.java,com/ibm/icu/impl/data/*Calendar*.java,com/ibm/icu/impl/data/*Holiday*.java"
|
|
|
|
excludes="**/CVS/**/*, com/ibm/icu/lang/UScriptRun.java,com/ibm/icu/impl/UtilityExtensions.java,com/ibm/icu/impl/BOCU.java,com/ibm/icu/impl/TrieBuilder.java,com/ibm/icu/impl/IntTrieBuilder.java"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
<!-- Calendar does not require Collation data, BreakIterator data -->
|
|
|
|
<delete>
|
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/impl/data/" includes="LocaleElements_*__*.class,LocaleElements_*_*_STROKE.class,*.col,*.brk,*.utf8"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
<target name="calendarTests" depends="calendar">
|
2003-02-01 00:56:57 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/test/TestFmwk.java,com/ibm/icu/dev/test/TestLog.java,com/ibm/icu/dev/test/TestUtil.java,com/ibm/icu/dev/test/UTF16Util.java,com/ibm/icu/dev/test/TestAll.java,com/ibm/icu/dev/test/calendar/**/*"
|
2003-01-28 18:55:43 +00:00
|
|
|
excludes="**/CVS/**/*"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only Transliterator API and tests
|
|
|
|
-->
|
|
|
|
<target name="transliterator" depends="init,_resources,propertiesBasic">
|
|
|
|
<javac includes="com/ibm/icu/text/*Transliterator*.java,com/ibm/icu/text/UnicodeSetIterator.java,com/ibm/icu/text/RuleBasedBreakIterator.java,com/ibm/icu/text/DictionaryBasedBreakIterator.java,com/ibm/icu/impl/LocaleUtility.java,com/ibm/icu/impl/data/BreakIterator*.java,com/ibm/icu/impl/*Property*.java,com/ibm/icu/impl/*Iterator*.java,com/ibm/icu/impl/ICUListResourceBundle.java,com/ibm/icu/impl/data/ResourceReader.java,com/ibm/icu/impl/UtilityExtensions.java"
|
|
|
|
excludes="**/CVS/**/*, com/ibm/icu/lang/UScriptRun.java,com/ibm/icu/impl/BOCU.java,com/ibm/icu/impl/TrieBuilder.java,com/ibm/icu/impl/IntTrieBuilder.java,com/ibm/icu/text/UnicodeFilterLogic*.java"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
<copy todir="${build.dir}/com/ibm/icu/impl/data">
|
2003-05-07 15:57:01 +00:00
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/impl/data" includes="Transliterator_*.txt"
|
|
|
|
excludes="Transliterator_Han_Latin_*.txt"/>
|
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/impl/data/" includes="unames.icu,unorm.icu"/>
|
2003-01-28 18:55:43 +00:00
|
|
|
</copy>
|
2003-05-07 15:57:01 +00:00
|
|
|
|
|
|
|
<!-- Transliterator does not require Collation data, BreakIterator data -->
|
2003-01-28 18:55:43 +00:00
|
|
|
<delete>
|
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/impl/data/" includes="*.col,*.brk,*.utf8"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
<target name="transliteratorTests" depends="transliterator">
|
2003-02-01 00:56:57 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/test/TestFmwk.java,com/ibm/icu/dev/test/TestLog.java,com/ibm/icu/dev/test/TestUtil.java,com/ibm/icu/dev/test/UTF16Util.java,com/ibm/icu/dev/test/TestAll.java,com/ibm/icu/dev/test/translit/**/*"
|
2003-01-28 18:55:43 +00:00
|
|
|
excludes="**/CVS/**/*,com/ibm/icu/dev/test/translit/UnicodeFilterLogic*.java"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only Format API
|
|
|
|
-->
|
|
|
|
<target name="format" depends="init,_resources,copyAllICUData">
|
|
|
|
|
|
|
|
<javac includes="com/ibm/icu/text/*Format*.java,com/ibm/icu/lang/UCharacter.java,com/ibm/icu/text/*Collator*.java,com/ibm/icu/text/UnicodeSetIterator.java,com/ibm/icu/impl/ICUListResourceBundle.java,com/ibm/icu/impl/data/CalendarData*.java"
|
|
|
|
excludes="**/CVS/**/*, com/ibm/icu/lang/UScriptRun.java,com/ibm/icu/impl/UtilityExtensions.java,com/ibm/icu/impl/BOCU.java,com/ibm/icu/impl/TrieBuilder.java,com/ibm/icu/impl/IntTrieBuilder.java"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
<target name="formatTests" depends="format">
|
2003-02-01 00:56:57 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/test/TestFmwk.java,com/ibm/icu/dev/test/TestLog.java,com/ibm/icu/dev/test/TestUtil.java,com/ibm/icu/dev/test/UTF16Util.java,com/ibm/icu/dev/test/TestAll.java,com/ibm/icu/dev/test/format/**/*"
|
2003-01-28 18:55:43 +00:00
|
|
|
excludes="**/CVS/**/*"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Targets to build only BreakIterator API
|
|
|
|
-->
|
|
|
|
<target name="breakIterator" depends="init,_resources,copyICUPropsData">
|
|
|
|
|
|
|
|
<javac includes="com/ibm/icu/text/*BreakIterator*.java,com/ibm/icu/impl/data/*Break*.java,com/ibm/icu/lang/**/*,com/ibm/icu/impl/UCharacterName.java,com/ibm/icu/impl/ICUListResourceBundle.java,com/ibm/icu/text/UnicodeSetIterator.java"
|
|
|
|
excludes="**/CVS/**/*, com/ibm/icu/lang/UScriptRun.java,com/ibm/icu/impl/UtilityExtensions.java,com/ibm/icu/impl/BOCU.java,com/ibm/icu/impl/TrieBuilder.java,com/ibm/icu/impl/IntTrieBuilder.java"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
<!-- BreakIterator does not require collation data so delete it -->
|
|
|
|
<delete>
|
|
|
|
<fileset dir="${build.dir}/com/ibm/icu/impl/data/" includes="*.col,*.utf8"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
<target name="breakIteratorTests" depends="breakIterator">
|
2003-02-01 00:56:57 +00:00
|
|
|
<javac includes="com/ibm/icu/dev/test/TestFmwk.java,com/ibm/icu/dev/test/TestLog.java,com/ibm/icu/dev/test/TestUtil.java,com/ibm/icu/dev/test/UTF16Util.java,com/ibm/icu/dev/test/TestAll.java,com/ibm/icu/dev/test/rbbi/**/*"
|
2003-01-28 18:55:43 +00:00
|
|
|
excludes="**/CVS/**/*"
|
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
<copy file="${src.dir}/com/ibm/icu/dev/data/th18057.txt"
|
|
|
|
todir="${build.dir}/com/ibm/icu/dev/data/"/>
|
|
|
|
</target>
|
2004-01-12 23:54:16 +00:00
|
|
|
|
2003-05-07 15:57:01 +00:00
|
|
|
<!-- build the extra Transliterator data pertaining to Han-Latin transliteration -->
|
|
|
|
<target name="extraTransliteratorData" depends="init">
|
|
|
|
<copy todir="${build.dir}/com/ibm/icu/impl/data">
|
|
|
|
<fileset dir="${src.dir}/com/ibm/icu/impl/data" includes="Transliterator_Han_Latin_*.txt"/>
|
|
|
|
</copy>
|
|
|
|
</target>
|
2004-01-12 23:54:16 +00:00
|
|
|
<!-- Taget for builing XLIFF2ICUConverter Jar -->
|
|
|
|
<target name="xliff" depends="init">
|
|
|
|
<javac includes="com/ibm/icu/dev/tool/localeconverter/XLIFF2ICUConverter.java,com/ibm/icu/dev/tool/localeconverter/CalculateCRC32.java,com/ibm/icu/dev/tool/UOption.java,com/ibm/icu/dev/tool/xmlcomparator/XMLValidator.java"
|
2003-10-24 17:57:09 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpathref="build.classpath"
|
|
|
|
debug="on" deprecation="off"/>
|
|
|
|
<jar jarfile="xliff.jar"
|
|
|
|
compress="true"
|
2003-11-24 22:27:54 +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,com/ibm/icu/dev/tool/xmlcomparator/XMLValidator*.class"
|
2003-10-24 17:57:09 +00:00
|
|
|
basedir="${build.dir}"
|
|
|
|
manifest="${icu4j.module.manifest}"/>
|
|
|
|
</target>
|
2000-03-10 01:33:53 +00:00
|
|
|
</project>
|