1<!-- 2******************************************************************************* 3* Copyright (C) 2016 and later: Unicode, Inc. and others. * 4* License & terms of use: http://www.unicode.org/copyright.html#License * 5******************************************************************************* 6******************************************************************************* 7* Copyright (C) 2009-2011, International Business Machines Corporation and * 8* others. All Rights Reserved. * 9******************************************************************************* 10--> 11<project name="charset-tests" default="build" basedir="."> 12 <property file="build-local.properties"/> 13 <property file="build.properties"/> 14 <import file="${shared.dir}/build/common-targets.xml"/> 15 16 <path id="javac.classpathref"> 17 <path refid="junit.jars"/> 18 <path refid="javac.classpathref.${ant.project.name}"/> 19 </path> 20 <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> 21 <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> 22 23 <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> 24 25 <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> 26 27 <target name="clean" depends="@clean" description="Clean up the build outputs"/> 28 29 <target name="compile" depends="@compile" description="Compile java source files"/> 30 31 <target name="copy" depends="@copy, copy-charset-test-data" description="Copy non-java runtime files to the project's binary directory"/> 32 33 <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> 34 35 <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> 36 37 <target name="copy-charset-test-data" description="Extract pre-built ICU charset test data files and copy them to the project's binary directory"> 38 <unjar src="${icu4j.testdata.jar}" dest="${bin.dir}"> 39 <patternset> 40 <include name="**/*.cnv"/> 41 <include name="**/conversion.res"/> 42 </patternset> 43 </unjar> 44 </target> 45 46</project> 47