2009-06-16 05:52:23 +00:00
|
|
|
<!--
|
|
|
|
*******************************************************************************
|
2011-01-14 21:35:42 +00:00
|
|
|
* Copyright (C) 2009-2011, International Business Machines Corporation and *
|
2009-06-16 05:52:23 +00:00
|
|
|
* others. All Rights Reserved. *
|
|
|
|
*******************************************************************************
|
|
|
|
-->
|
|
|
|
<project name="core" default="build" basedir=".">
|
|
|
|
<property file="build-local.properties"/>
|
|
|
|
<property file="build.properties"/>
|
|
|
|
<import file="${shared.dir}/build/common-targets.xml"/>
|
|
|
|
|
|
|
|
<path id="javac.classpathref">
|
|
|
|
<path refid="javac.classpathref.${ant.project.name}"/>
|
|
|
|
</path>
|
2010-06-11 17:02:51 +00:00
|
|
|
<property name="jar.name" value="icu4j-${ant.project.name}.jar"/>
|
|
|
|
<property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/>
|
2009-06-16 05:52:23 +00:00
|
|
|
|
2010-06-11 17:02:51 +00:00
|
|
|
<target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/>
|
2009-06-16 05:52:23 +00:00
|
|
|
|
|
|
|
<target name="build-all" depends="@build-all" description="Build the project including all dependencies"/>
|
|
|
|
|
|
|
|
<target name="clean" depends="@clean" description="Clean up the build outputs"/>
|
|
|
|
|
|
|
|
<target name="compile" depends="@compile" description="Compile java source files"/>
|
|
|
|
|
|
|
|
<target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory"/>
|
|
|
|
|
|
|
|
<target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/>
|
|
|
|
|
2011-10-17 21:10:07 +00:00
|
|
|
<target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/>
|
2010-06-11 17:02:51 +00:00
|
|
|
|
2011-12-29 18:13:00 +00:00
|
|
|
<target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." />
|
|
|
|
|
2009-06-16 05:52:23 +00:00
|
|
|
<target name="copy-data" description="Extract pre-built ICU core data files and copy them to the project's binary directory">
|
|
|
|
<unjar src="${icu4j.data.jar}" dest="${bin.dir}">
|
|
|
|
<patternset>
|
2011-01-14 21:35:42 +00:00
|
|
|
<exclude name="${icu4j.data.path}/coll/**"/>
|
|
|
|
<exclude name="${icu4j.data.path}/curr/**"/>
|
|
|
|
<exclude name="${icu4j.data.path}/lang/**"/>
|
|
|
|
<exclude name="${icu4j.data.path}/region/**"/>
|
|
|
|
<exclude name="${icu4j.data.path}/translit/**"/>
|
2009-06-16 05:52:23 +00:00
|
|
|
<exclude name="**/*.cnv"/>
|
2010-08-16 17:15:59 +00:00
|
|
|
<exclude name="**/cnvalias.icu"/>
|
2009-06-16 05:52:23 +00:00
|
|
|
</patternset>
|
|
|
|
</unjar>
|
2011-09-26 15:30:39 +00:00
|
|
|
<unjar src="${icu4j.tzdata.jar}" dest="${bin.dir}">
|
|
|
|
<patternset>
|
|
|
|
<include name="**/*.res" />
|
|
|
|
</patternset>
|
|
|
|
</unjar>
|
2011-01-14 21:35:42 +00:00
|
|
|
|
|
|
|
<antcall target="@full-locale-names">
|
|
|
|
<param name="res.dir" value="${bin.dir}/${icu4j.data.path}"/>
|
|
|
|
</antcall>
|
|
|
|
|
|
|
|
<antcall target="@full-locale-names">
|
|
|
|
<param name="res.dir" value="${bin.dir}/${icu4j.data.path}/brkitr"/>
|
|
|
|
</antcall>
|
|
|
|
|
|
|
|
<antcall target="@full-locale-names">
|
|
|
|
<param name="res.dir" value="${bin.dir}/${icu4j.data.path}/rbnf"/>
|
|
|
|
</antcall>
|
|
|
|
|
|
|
|
<antcall target="@full-locale-names">
|
2011-01-14 22:15:49 +00:00
|
|
|
<param name="res.dir" value="${bin.dir}/${icu4j.data.path}/zone"/>
|
2011-01-14 21:35:42 +00:00
|
|
|
</antcall>
|
2009-06-16 05:52:23 +00:00
|
|
|
</target>
|
2009-07-07 19:24:00 +00:00
|
|
|
</project>
|