ICU-8591 Add ICU4J performance test to main build.xml

X-SVN-Rev: 30298
This commit is contained in:
Michael Ow 2011-07-08 20:46:34 +00:00
parent 834901f20c
commit f521ddb4f4
6 changed files with 62 additions and 2 deletions

View file

@ -94,6 +94,7 @@
<ant dir="${icu4j.build-tools.dir}" target="clean" inheritAll="false"/>
<ant dir="${icu4j.tools.dir}" target="clean" inheritAll="false"/>
<ant dir="${icu4j.demos.dir}" target="clean" inheritAll="false"/>
<ant dir="${icu4j.perf.dir}" target="clean" inheritAll="false"/>
<!-- delete all .jar files root directory -->
<delete>
@ -109,7 +110,7 @@
</target>
<!-- meta build targets -->
<target name="all" depends="info, main, tests, build-tools, tools, demos, jar, docs" description="Build all primary targets"/>
<target name="all" depends="info, main, tests, build-tools, tools, demos, perf, jar, docs" description="Build all primary targets"/>
<target name="main" depends="info, core, collate, charset, currdata, langdata, regiondata, translit, localespi" description="Build ICU4J runtime library classes"/>
<target name="tests" depends="info, core-tests, charset-tests, collate-tests, packaging-tests, translit-tests, localespi-tests" description="Build ICU4J test classes"/>
<target name="release" depends="info, releaseBinaries, releaseSrcJars, releaseDocs, releaseSourceArchiveTgz" description="Build all ICU4J release files for distribution"/>
@ -564,6 +565,9 @@
<target name="tools" depends="core, core-tests, collate, translit, translit-tests" description="Build tool classes">
<ant dir="${icu4j.tools.dir}" inheritAll="false"/>
</target>
<target name="perf" depends="core, charset, collate, tools" description="Build performance test classes">
<ant dir="${icu4j.perf.dir}" inheritAll="false"/>
</target>
<!-- doc targets -->
<target name="docs" depends="info, build-tools" description="Build API documents">

View file

@ -287,6 +287,15 @@
<target name="_all.demos" depends="_all.core, _all.translit, _all.charset">
<ant dir="${icu4j.demos.dir}" inheritAll="false"/>
<!-- perf -->
</target>
<path id="javac.classpathref.perf">
<pathelement location="${icu4j.core.jar}"/>
<pathelement location="${icu4j.charset.jar}"/>
<pathelement location="${icu4j.collate.jar}"/>
<pathelement location="${icu4j.tools.jar}"/>
</path>
</project>

View file

@ -1,5 +1,5 @@
#*******************************************************************************
#* Copyright (C) 2009, International Business Machines Corporation and *
#* Copyright (C) 2009-2011, International Business Machines Corporation and *
#* others. All Rights Reserved. *
#*******************************************************************************
@ -24,3 +24,5 @@ icu4j.build-tools.dir = ${shared.dir}/../../tools/build
icu4j.tools.dir = ${shared.dir}/../../tools/misc
icu4j.demos.dir = ${shared.dir}/../../demos
icu4j.perf.dir = ${shared.dir}/../../perf-tests

View file

@ -0,0 +1,5 @@
#*******************************************************************************
#* Copyright (C) 2011, International Business Machines Corporation and *
#* others. All Rights Reserved. *
#*******************************************************************************
shared.dir = ../main/shared

View file

@ -0,0 +1,31 @@
<!--
*******************************************************************************
* Copyright (C) 2011, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
-->
<project name="perf" 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.name" value="icu4j-${ant.project.name}.jar"/>
<property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/>
<target name="build" depends="compile, copy, src-jar, 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" 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="src-jar" depends="@src-jar" description="Create the project's source jar file"/>
</project>

View file

@ -0,0 +1,9 @@
Manifest-Version: 1.0
Specification-Title: ICU for Java Performance Tests
Specification-Version: @SPECVERSION@
Specification-Vendor: ICU
Implementation-Title: ICU for Java Performance Tests
Implementation-Version: @IMPLVERSION@
Implementation-Vendor: IBM Corporation
Implementation-Vendor-Id: com.ibm
Copyright-Info: @COPYRIGHT@