2000-03-10 04:18:06 +00:00
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
*******************************************************************************
|
|
|
|
* Copyright (C) 1997-2000, International Business Machines Corporation and *
|
|
|
|
* others. All Rights Reserved. *
|
|
|
|
*******************************************************************************
|
|
|
|
*
|
|
|
|
* $Source: /xsrl/Nsvn/icu/icu4j/build.xml,v $
|
2000-04-21 00:19:24 +00:00
|
|
|
* $Date: 2000/04/21 00:19:24 $
|
|
|
|
* $Revision: 1.13 $
|
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=".">
|
|
|
|
|
2000-04-13 22:52:41 +00:00
|
|
|
<target name="init">
|
2000-04-14 22:59:53 +00:00
|
|
|
<tstamp/>
|
2000-04-13 22:52:41 +00:00
|
|
|
<property name="src.dir" value="src"/>
|
|
|
|
<property name="doc.dir" value="doc"/>
|
|
|
|
<property name="build.dir" value="classes"/>
|
2000-04-14 22:59:53 +00:00
|
|
|
<property name="obsolete.dir" value="build"/>
|
2000-04-14 00:20:03 +00:00
|
|
|
<property name="jar.file" value="icu4j.jar"/>
|
2000-04-14 22:59:53 +00:00
|
|
|
<property name="zip.file" value="../icu4j${DSTAMP}.zip"/>
|
|
|
|
<property name="zipsrc.file" value="../icu4jsrc${DSTAMP}.zip"/>
|
2000-04-13 22:52:41 +00:00
|
|
|
<property name="classpath" value="${build.dir}"/>
|
|
|
|
<property name="build.compiler" value="classic"/>
|
2000-04-21 00:19:24 +00:00
|
|
|
<property name="richedit.dist.dir" value="richeditDist"/>
|
|
|
|
<property name="richedit.cont.dir" value="richedit"/>
|
|
|
|
<property name="richedit.archive.dir" value="${richedit.dist.dir}/${richedit.cont.dir}"/>
|
|
|
|
<property name="richedit.jar.file" value="${richedit.archive.dir}/richedit.jar"/>
|
|
|
|
<property name="richedit.zip.file" value="${richedit.dist.dir}/richedit.zip"/>
|
|
|
|
<property name="richedit.manifest" value="${richedit.dist.dir}/manifest.stub"/>
|
2000-04-13 22:52:41 +00:00
|
|
|
</target>
|
|
|
|
|
2000-03-10 01:33:53 +00:00
|
|
|
<target name="all" depends="core,tests,tools,demos,jar,docs"/>
|
|
|
|
|
|
|
|
<target name="core">
|
|
|
|
<mkdir dir="${build.dir}"/>
|
|
|
|
<copyfile src="${src.dir}/com/ibm/text/resources/thai_dict"
|
|
|
|
dest="${build.dir}/com/ibm/text/resources/thai_dict"/>
|
2000-04-20 17:57:12 +00:00
|
|
|
<javac includes="com/ibm/util/**/*.java,com/ibm/text/**/*.java,com/ibm/math/**/*.java,com/ibm/richtext/**/*.java"
|
2000-04-13 23:08:38 +00:00
|
|
|
excludes="**/CVS/**/*"
|
2000-04-13 22:52:41 +00:00
|
|
|
srcdir="${src.dir}"
|
2000-03-10 01:33:53 +00:00
|
|
|
destdir="${build.dir}"
|
|
|
|
classpath="${classpath}"
|
|
|
|
debug="on" deprecation="off" target="1.2"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="tests" depends="core">
|
2000-04-13 22:52:41 +00:00
|
|
|
<javac includes="com/ibm/test/**/*.java"
|
2000-04-13 23:08:38 +00:00
|
|
|
excludes="**/CVS/**/*"
|
2000-03-10 01:33:53 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpath="${classpath}"
|
|
|
|
debug="on" deprecation="off" target="1.2"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="demos" depends="core">
|
2000-04-13 22:52:41 +00:00
|
|
|
<javac includes="com/ibm/demo/**/*.java"
|
2000-04-13 23:08:38 +00:00
|
|
|
excludes="**/CVS/**/*"
|
2000-03-10 01:33:53 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpath="${classpath}"
|
|
|
|
debug="on" deprecation="off" target="1.2"/>
|
2000-03-13 19:18:54 +00:00
|
|
|
<copyfile src="${src.dir}/com/ibm/demo/rbbi/english_dict"
|
|
|
|
dest="${build.dir}/com/ibm/text/resources/english_dict"/>
|
2000-03-10 01:33:53 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="tools" depends="core">
|
2000-04-13 22:52:41 +00:00
|
|
|
<javac includes="com/ibm/tools/**/*.java"
|
2000-04-13 23:08:38 +00:00
|
|
|
excludes="**/CVS/**/*"
|
2000-03-10 01:33:53 +00:00
|
|
|
srcdir="${src.dir}"
|
|
|
|
destdir="${build.dir}"
|
|
|
|
classpath="${classpath}"
|
|
|
|
debug="on" deprecation="off" target="1.2"/>
|
|
|
|
</target>
|
|
|
|
|
2000-04-13 22:52:41 +00:00
|
|
|
<target name="docs" depends="core">
|
2000-03-10 01:33:53 +00:00
|
|
|
<mkdir dir="${doc.dir}"/>
|
2000-04-21 00:19:24 +00:00
|
|
|
<javadoc packagenames="com.ibm.util,com.ibm.text,com.ibm.math,com.ibm.richtext.awtui,com.ibm.richtext.swingui,com.ibm.richtext.textpanel,com.ibm.richtext.styledtext,com.ibm.textlayout.attributes,com.ibm.richtext.print"
|
2000-04-13 22:52:41 +00:00
|
|
|
sourcepath="${src.dir}"
|
2000-03-10 01:33:53 +00:00
|
|
|
destdir="${doc.dir}"
|
|
|
|
nodeprecatedlist="true"
|
|
|
|
windowtitle="ICU4J"
|
|
|
|
doctitle="ICU4J"
|
|
|
|
encoding="iso-8859-1"
|
|
|
|
docencoding="iso-8859-1"
|
2000-04-14 01:15:08 +00:00
|
|
|
bottom="<font size=-1>Copyright (c) 1998-2000 IBM Corporation and others.</font>"
|
2000-04-13 22:52:41 +00:00
|
|
|
/>
|
2000-03-10 01:33:53 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="jar" depends="core">
|
2000-04-14 22:59:53 +00:00
|
|
|
<jar jarfile="${jar.file}"
|
2000-04-21 00:19:24 +00:00
|
|
|
includes="com/ibm/util/**/*,com/ibm/text/**/*,com/ibm/math/**/*,com/ibm/richtext/**/*"
|
2000-04-14 22:59:53 +00:00
|
|
|
basedir="${build.dir}"/>
|
|
|
|
</target>
|
|
|
|
|
2000-04-21 00:19:24 +00:00
|
|
|
<target name="richeditJar" depends="core">
|
|
|
|
<jar jarfile="${richedit.jar.file}"
|
|
|
|
includes="com/ibm/richtext/**/*,com/ibm/textlayout/**/*"
|
|
|
|
basedir="${build.dir}"
|
|
|
|
manifest="${richedit.manifest}"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="richeditZip" depends="richeditJar">
|
|
|
|
<!--Create a zip archive of the richedit jar and readme -->
|
|
|
|
<zip zipfile="${richedit.zip.file}"
|
|
|
|
basedir="${richedit.dist.dir}"
|
|
|
|
includes="${richedit.cont.dir}/**/*"/>
|
|
|
|
</target>
|
|
|
|
|
2000-04-14 22:59:53 +00:00
|
|
|
<target name="zip" depends="docs,jar">
|
|
|
|
<!--Create a zip archive of the source, docs, and jar file for
|
|
|
|
distribution. The zip file will be created in the directory above
|
|
|
|
the root ICU4J directory.-->
|
|
|
|
<zip zipfile="${zip.file}"
|
|
|
|
basedir="."
|
2000-04-21 00:19:24 +00:00
|
|
|
excludes="${richedit.dist.dir},${obsolete.dir}/**,**/*~,${src.dir}/**/*.class,${build.dir}/**,**/CVS/**/*"/>
|
2000-04-14 22:59:53 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="zipsrc">
|
|
|
|
<!--Create a zip archive of just the source for distribution. The
|
|
|
|
zip file will be created in the directory above the root ICU4J
|
|
|
|
directory.-->
|
|
|
|
<zip zipfile="${zipsrc.file}"
|
|
|
|
basedir="."
|
2000-04-21 00:19:24 +00:00
|
|
|
excludes="${richedit.dist.dir},${obsolete.dir}/**,**/*~,${src.dir}/**/*.class,${build.dir}/**,${doc.dir}/**,${jar.file},**/CVS/**/*"/>
|
2000-03-10 01:33:53 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="clean">
|
|
|
|
<deltree dir="${build.dir}"/>
|
|
|
|
<deltree dir="${doc.dir}"/>
|
2000-04-14 00:20:03 +00:00
|
|
|
<delete file="${jar.file}"/>
|
2000-03-10 01:33:53 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
</project>
|