2009-06-16 05:52:23 +00:00
|
|
|
<!--
|
|
|
|
*******************************************************************************
|
|
|
|
* Copyright (C) 2009, International Business Machines Corporation and *
|
|
|
|
* 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>
|
|
|
|
<property name="jar.file" value="${icu4j.core.jar}"/>
|
|
|
|
|
|
|
|
<target name="build" depends="compile, copy, jar" description="Build the project"/>
|
|
|
|
|
|
|
|
<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"/>
|
|
|
|
|
|
|
|
<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>
|
2009-12-11 20:59:29 +00:00
|
|
|
<exclude name="**/coll/*"/>
|
|
|
|
<exclude name="**/curr/*"/>
|
2009-06-16 05:52:23 +00:00
|
|
|
<exclude name="**/*.cnv"/>
|
|
|
|
<exclude name="**/convalias.icu"/>
|
2009-12-11 20:59:29 +00:00
|
|
|
<exclude name="**/lang/*"/>
|
|
|
|
<exclude name="**/region/*"/>
|
|
|
|
<exclude name="**/translit/*"/>
|
2009-06-16 05:52:23 +00:00
|
|
|
</patternset>
|
|
|
|
</unjar>
|
|
|
|
</target>
|
2009-07-07 19:24:00 +00:00
|
|
|
</project>
|