Make work with ant 3.1 beta

X-SVN-Rev: 1123
This commit is contained in:
Alan Liu 2000-04-13 22:52:41 +00:00
parent e45f4fd7cb
commit c6794e2bba

View File

@ -6,29 +6,32 @@
******************************************************************************* *******************************************************************************
* *
* $Source: /xsrl/Nsvn/icu/icu4j/build.xml,v $ * $Source: /xsrl/Nsvn/icu/icu4j/build.xml,v $
* $Date: 2000/03/15 00:40:28 $ * $Date: 2000/04/13 22:52:41 $
* $Revision: 1.4 $ * $Revision: 1.5 $
* *
******************************************************************************* *******************************************************************************
* This is the ant build file for ICU4J. See readme.html for more information.
*/ */
--> -->
<project name="ICU4J" default="core" basedir="."> <project name="ICU4J" default="core" basedir=".">
<property name="src.dir" value="src"/> <target name="init">
<property name="doc.dir" value="doc"/> <property name="src.dir" value="src"/>
<property name="build.dir" value="classes"/> <property name="doc.dir" value="doc"/>
<property name="classpath" value="${build.dir}"/> <property name="build.dir" value="classes"/>
<property name="build.compiler" value="classic"/> <property name="classpath" value="${build.dir}"/>
<property name="build.compiler" value="classic"/>
</target>
<target name="all" depends="core,tests,tools,demos,jar,docs"/> <target name="all" depends="core,tests,tools,demos,jar,docs"/>
<target name="core"> <target name="core">
<mkdir dir="${build.dir}"/> <mkdir dir="${build.dir}"/>
<copyfile src="${src.dir}/com/ibm/text/resources/thai_dict" <copyfile src="${src.dir}/com/ibm/text/resources/thai_dict"
dest="${build.dir}/com/ibm/text/resources/thai_dict"/> dest="${build.dir}/com/ibm/text/resources/thai_dict"/>
<compile srcfiles="com/ibm/util,com/ibm/text" <javac includes="com/ibm/util/**/*.java,com/ibm/text/**/*.java,com/ibm/math/**/*.java"
srcdir="${src.dir}" srcdir="${src.dir}"
destdir="${build.dir}" destdir="${build.dir}"
classpath="${classpath}" classpath="${classpath}"
debug="on" deprecation="off" target="1.2"/> debug="on" deprecation="off" target="1.2"/>
@ -36,7 +39,7 @@
<target name="tests" depends="core"> <target name="tests" depends="core">
<mkdir dir="${build.dir}"/> <mkdir dir="${build.dir}"/>
<compile srcfiles="com/ibm/test" <javac includes="com/ibm/test/**/*.java"
srcdir="${src.dir}" srcdir="${src.dir}"
destdir="${build.dir}" destdir="${build.dir}"
classpath="${classpath}" classpath="${classpath}"
@ -45,7 +48,7 @@
<target name="demos" depends="core"> <target name="demos" depends="core">
<mkdir dir="${build.dir}"/> <mkdir dir="${build.dir}"/>
<compile srcfiles="com/ibm/demo" <javac includes="com/ibm/demo/**/*.java"
srcdir="${src.dir}" srcdir="${src.dir}"
destdir="${build.dir}" destdir="${build.dir}"
classpath="${classpath}" classpath="${classpath}"
@ -56,30 +59,30 @@
<target name="tools" depends="core"> <target name="tools" depends="core">
<mkdir dir="${build.dir}"/> <mkdir dir="${build.dir}"/>
<compile srcfiles="com/ibm/tools" <javac includes="com/ibm/tools/**/*.java"
srcdir="${src.dir}" srcdir="${src.dir}"
destdir="${build.dir}" destdir="${build.dir}"
classpath="${classpath}" classpath="${classpath}"
debug="on" deprecation="off" target="1.2"/> debug="on" deprecation="off" target="1.2"/>
</target> </target>
<target name="docs" depends="core,tests,tools"> <target name="docs" depends="core">
<mkdir dir="${doc.dir}"/> <mkdir dir="${doc.dir}"/>
<docs sourcepath="${src.dir}" <javadoc packagenames="com.ibm.util,com.ibm.text,com.ibm.math"
sourcepath="${src.dir}"
destdir="${doc.dir}" destdir="${doc.dir}"
nodeprecatedlist="true" nodeprecatedlist="true"
windowtitle="ICU4J" windowtitle="ICU4J"
doctitle="ICU4J" doctitle="ICU4J"
encoding="iso-8859-1" encoding="iso-8859-1"
docencoding="iso-8859-1" docencoding="iso-8859-1"
bottom="&quot;&lt;font size=-1>Copyright (c); 1998-2000 IBM Corporation.&lt;/font>&quot;" bottom="&lt;font size=-1>Copyright (c) 1998-2000 IBM Corporation.&lt;/font>"
sourcefiles="src/com/ibm/text/*.java src/com/ibm/util/*.java"
/> />
</target> </target>
<target name="jar" depends="core"> <target name="jar" depends="core">
<jar jarfile="ICU4J.jar" basedir="${build.dir}" includes="com"/> <jar jarfile="ICU4J.jar" basedir="${build.dir}"/>
</target> </target>
<target name="clean"> <target name="clean">