mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 15:42:14 +00:00
ICU-22324 Remove Ant build's shared
directory
This commit is contained in:
parent
623cb1accc
commit
cc777ef48c
10 changed files with 0 additions and 172432 deletions
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>icu4j-shared</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
|
@ -1,3 +0,0 @@
|
|||
#Fri Nov 05 14:19:06 EDT 2010
|
||||
eclipse.preferences.version=1
|
||||
encoding/<project>=UTF-8
|
|
@ -1,389 +0,0 @@
|
|||
<!--
|
||||
* © 2016 and later: Unicode, Inc. and others.
|
||||
* License & terms of use: http://www.unicode.org/copyright.html
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2009-2016, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
-->
|
||||
<project name="common-targets" basedir=".">
|
||||
<dirname property="common-targets.dir" file="${ant.file.common-targets}"/>
|
||||
<property file="${common-targets.dir}/locations.properties"/>
|
||||
|
||||
<!-- global (top-level) properties - need locations.properties loaded first -->
|
||||
<property file="${global.build-local.properties}"/>
|
||||
<property file="${global.build.properties}"/>
|
||||
|
||||
<property file="${common-targets.dir}/common.properties"/>
|
||||
<property environment="env"/>
|
||||
|
||||
<!-- common targets -->
|
||||
|
||||
<target name="@clean">
|
||||
<delete dir="${out.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="@compile">
|
||||
<echo message="build-local: ${global.build-local.properties}"/>
|
||||
|
||||
<echo message="--- java compiler arguments ------------------------"/>
|
||||
<echo message="source dir: ${basedir}/${src.dir}"/>
|
||||
<echo message="output dir: ${basedir}/${bin.dir}"/>
|
||||
<echo message="classpath: ${toString:javac.classpathref}"/>
|
||||
<echo message="source: ${javac.source}"/>
|
||||
<echo message="target: ${javac.target}"/>
|
||||
<echo message="debug: ${javac.debug}"/>
|
||||
<echo message="encoding: ${java.src.encoding}"/>
|
||||
<echo message="compiler arg: ${javac.compilerarg}"/>
|
||||
<echo message="----------------------------------------------------"/>
|
||||
|
||||
<mkdir dir="${bin.dir}"/>
|
||||
<javac
|
||||
srcdir="${src.dir}"
|
||||
destdir="${bin.dir}"
|
||||
classpathref="javac.classpathref"
|
||||
source="${javac.source}"
|
||||
target="${javac.target}"
|
||||
debug="${javac.debug}"
|
||||
encoding="${java.src.encoding}"
|
||||
includeAntRuntime="no">
|
||||
<compilerarg value="${javac.compilerarg}"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="@copy">
|
||||
<mkdir dir="${bin.dir}"/>
|
||||
<copy todir="${bin.dir}">
|
||||
<fileset dir="${src.dir}" defaultexcludes="yes">
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<target name="@jar">
|
||||
<mkdir dir="${jar.dir}"/>
|
||||
|
||||
<copy file="manifest.stub" todir="${out.dir}">
|
||||
<filterset>
|
||||
<filter token="SPECVERSION" value="${jar.spec.version}"/>
|
||||
<filter token="IMPLVERSION" value="${jar.impl.version}"/>
|
||||
<filter token="COPYRIGHT" value="${jar.copyright.info}"/>
|
||||
<filter token="EXECENV" value="${jar.exec.env}"/>
|
||||
</filterset>
|
||||
</copy>
|
||||
|
||||
<jar jarfile="${jar.dir}/${jar.name}" manifest="${out.dir}/manifest.stub" compress="true">
|
||||
<fileset dir="${bin.dir}" includes="**/*"/>
|
||||
<fileset dir="${shared.dir}/licenses">
|
||||
<include name="LICENSE"/>
|
||||
</fileset>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="@src-jar">
|
||||
<mkdir dir="${jar.dir}"/>
|
||||
<jar jarfile="${jar.dir}/${src.jar.name}" compress="true">
|
||||
<fileset dir="${src.dir}" includes="**/*.java"/>
|
||||
<fileset dir="${shared.dir}/licenses">
|
||||
<include name="LICENSE"/>
|
||||
</fileset>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="@build-all">
|
||||
<antcall target="_all.${ant.project.name}"/>
|
||||
</target>
|
||||
|
||||
<target name="@full-locale-names">
|
||||
<echo message="Generating ${res.dir}/fullLocaleNames.lst"/>
|
||||
<pathconvert pathsep="${line.separator}" property="full.locale.names">
|
||||
<fileset dir="${res.dir}">
|
||||
<include name="??.res"/>
|
||||
<include name="??_*.res"/>
|
||||
<include name="???.res"/>
|
||||
<include name="???_*.res"/>
|
||||
<include name="root.res"/>
|
||||
<exclude name="res_index.res"/>
|
||||
</fileset>
|
||||
<chainedmapper>
|
||||
<flattenmapper/>
|
||||
<globmapper from="*.res" to="*"/>
|
||||
</chainedmapper>
|
||||
</pathconvert>
|
||||
<echo message="${full.locale.names}" file="${res.dir}/fullLocaleNames.lst"/>
|
||||
</target>
|
||||
|
||||
<!-- FindBugs targets -->
|
||||
<target name="_findbugs_init">
|
||||
<property name="findbugs.home" value="${env.FINDBUGS_HOME}"/>
|
||||
<echo message="----------------------------------------------------"/>
|
||||
<echo message="findbugs.home: ${findbugs.home}"/>
|
||||
<echo message="----------------------------------------------------"/>
|
||||
|
||||
<fail message="FindBugs task not found. Set environment variable FINDBUGS_HOME properly.">
|
||||
<condition>
|
||||
<not>
|
||||
<or>
|
||||
<available classname="edu.umd.cs.findbugs.anttask.FindBugsTask" property="_findbugs.task.available" />
|
||||
<available file="${findbugs.home}/lib/findbugs-ant.jar" />
|
||||
</or>
|
||||
</not>
|
||||
</condition>
|
||||
</fail>
|
||||
<taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask"
|
||||
classpath="${findbugs.home}/lib/findbugs-ant.jar"/>
|
||||
|
||||
<property name="aux.classpath" value="${toString:javac.classpathref}"/>
|
||||
<condition property="empty.aux.classpath">
|
||||
<length string="${aux.classpath}" when="eq" length="0"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="_findbugs_empty_aux_classpath" if="empty.aux.classpath">
|
||||
<findbugs
|
||||
home="${findbugs.home}"
|
||||
output="html"
|
||||
outputFile="${out.dir}/fb-${ant.project.name}.html"
|
||||
excludeFilter="findbugs-exclude.xml">
|
||||
|
||||
<sourcePath path="${src.dir}"/>
|
||||
<class location="${jar.dir}/${jar.name}"/>
|
||||
</findbugs>
|
||||
</target>
|
||||
|
||||
<target name="_findbugs_non_empty_aux_classpath" unless="empty.aux.classpath">
|
||||
<findbugs
|
||||
home="${findbugs.home}"
|
||||
output="html"
|
||||
outputFile="${out.dir}/fb-${ant.project.name}.html"
|
||||
excludeFilter="findbugs-exclude.xml">
|
||||
|
||||
<sourcePath path="${src.dir}"/>
|
||||
<class location="${jar.dir}/${jar.name}"/>
|
||||
<auxClasspath path="${aux.classpath}"/>
|
||||
</findbugs>
|
||||
</target>
|
||||
|
||||
<target name="@findbugs" depends="_findbugs_init, @build-all, _findbugs_empty_aux_classpath, _findbugs_non_empty_aux_classpath"/>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<!-- collate -->
|
||||
<path id="javac.classpathref.collate">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.collate" depends="_all.core">
|
||||
<ant dir="${icu4j.collate.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- core -->
|
||||
<path id="javac.classpathref.core"/>
|
||||
|
||||
<target name="_all.core">
|
||||
<ant dir="${icu4j.core.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- charset -->
|
||||
<path id="javac.classpathref.charset">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.charset" depends="_all.core">
|
||||
<ant dir="${icu4j.charset.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- currdata -->
|
||||
<path id="javac.classpathref.currdata">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.currdata" depends="_all.core">
|
||||
<ant dir="${icu4j.currdata.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- langdata -->
|
||||
<path id="javac.classpathref.langdata">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.langdata" depends="_all.core">
|
||||
<ant dir="${icu4j.langdata.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- localespi -->
|
||||
<path id="javac.classpathref.localespi">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.collate.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.localespi" depends="_all.core, _all.collate">
|
||||
<ant dir="${icu4j.localespi.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- regiondata -->
|
||||
<path id="javac.classpathref.regiondata">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.regiondata" depends="_all.core">
|
||||
<ant dir="${icu4j.regiondata.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- translit -->
|
||||
<path id="javac.classpathref.translit">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.translit.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.translit" depends="_all.core">
|
||||
<ant dir="${icu4j.translit.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- test-framework -->
|
||||
<path id="javac.classpathref.test-framework">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.test-framework" depends="_all.core">
|
||||
<ant dir="${icu4j.test-framework.dir}" inheritAll = "false"/>
|
||||
</target>
|
||||
|
||||
<!-- core-tests -->
|
||||
<path id="javac.classpathref.core-tests">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.test-framework.jar}"/>
|
||||
<pathelement location="${icu4j.tools.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.core-tests" depends="_all.core, _all.test-framework">
|
||||
<ant dir="${icu4j.core-tests.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- collate-tests -->
|
||||
<path id="javac.classpathref.collate-tests">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.collate.jar}"/>
|
||||
<pathelement location="${icu4j.test-framework.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.collate-tests" depends="_all.core, _all.collate, _all.test-framework">
|
||||
<ant dir="${icu4j.collate-tests.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- charset-tests -->
|
||||
<path id="javac.classpathref.charset-tests">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.core-tests.jar}"/>
|
||||
<pathelement location="${icu4j.charset.jar}"/>
|
||||
<pathelement location="${icu4j.test-framework.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.charset-tests" depends="_all.core, _all.charset, _all.test-framework">
|
||||
<ant dir="${icu4j.charset-tests.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- localespi-tests -->
|
||||
<path id="javac.classpathref.localespi-tests">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.collate.jar}"/>
|
||||
<pathelement location="${icu4j.localespi.jar}"/>
|
||||
<pathelement location="${icu4j.test-framework.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.localespi-tests" depends="_all.core, _all.collate, _all.localespi, _all.test-framework">
|
||||
<ant dir="${icu4j.localespi-tests.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- packaging-tests -->
|
||||
<path id="javac.classpathref.packaging-tests">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.charset.jar}"/>
|
||||
<pathelement location="${icu4j.test-framework.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.packaging-tests" depends="_all.core, _all.charset, _all.test-framework">
|
||||
<ant dir="${icu4j.packaging-tests.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- translit-tests -->
|
||||
<path id="javac.classpathref.translit-tests">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.core-tests.jar}"/>
|
||||
<pathelement location="${icu4j.translit.jar}"/>
|
||||
<pathelement location="${icu4j.test-framework.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.translit-tests" depends="_all.core, _all.translit, _all.test-framework">
|
||||
<ant dir="${icu4j.translit-tests.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- testall -->
|
||||
<path id="javac.classpathref.testall">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.test-framework.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.testall" depends="_all.core, _all.test-framework">
|
||||
<ant dir="${icu4j.testall.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- build-tools -->
|
||||
<path id="javac.classpathref.build-tools">
|
||||
<pathelement location="${env.JAVA_HOME}/lib/tools.jar"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.build-tools">
|
||||
<ant dir="${icu4j.build-tools.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- tools -->
|
||||
<path id="javac.classpathref.tools">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.collate.jar}"/>
|
||||
<pathelement location="${icu4j.translit.jar}"/>
|
||||
<pathelement location="${icu4j.test-framework.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.tools" depends="_all.core, _all.collate, _all.translit, _all.test-framework">
|
||||
<ant dir="${icu4j.tools.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- demos -->
|
||||
<path id="javac.classpathref.demos">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.translit.jar}"/>
|
||||
<pathelement location="${icu4j.charset.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.demos" depends="_all.core, _all.translit, _all.charset">
|
||||
<ant dir="${icu4j.demos.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- samples -->
|
||||
<path id="javac.classpathref.samples">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.collate.jar}"/>
|
||||
<pathelement location="${icu4j.translit.jar}"/>
|
||||
<pathelement location="${icu4j.charset.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.samples" depends="_all.core, _all.collate, _all.translit, _all.charset">
|
||||
<ant dir="${icu4j.samples.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- perf -->
|
||||
<path id="javac.classpathref.perf-tests">
|
||||
<pathelement location="${icu4j.core.jar}"/>
|
||||
<pathelement location="${icu4j.core-tests.jar}"/>
|
||||
<pathelement location="${icu4j.charset.jar}"/>
|
||||
<pathelement location="${icu4j.collate.jar}"/>
|
||||
<pathelement location="${icu4j.tools.jar}"/>
|
||||
</path>
|
||||
|
||||
<target name="_all.perf-tests" depends="_all.core, _all.charset, _all.collate, _all.tools">
|
||||
<ant dir="${icu4j.perf-tests.dir}" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
</project>
|
|
@ -1,65 +0,0 @@
|
|||
# Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
# License & terms of use: http://www.unicode.org/copyright.html
|
||||
#*******************************************************************************
|
||||
#* Copyright (C) 2009-2016, International Business Machines Corporation and *
|
||||
#* others. All Rights Reserved. *
|
||||
#*******************************************************************************
|
||||
|
||||
# Version numbers, etc.
|
||||
icu4j.spec.version = 74
|
||||
icu4j.impl.version = 74.1
|
||||
icu4j.data.version = 74
|
||||
default.exec.env = JavaSE-1.7
|
||||
|
||||
copyright = \u00A9 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html
|
||||
|
||||
# Standard directory structure
|
||||
src.dir = src
|
||||
out.dir = out
|
||||
bin.dir = ${out.dir}/bin
|
||||
jar.dir = ${out.dir}/lib
|
||||
|
||||
# Default java compiler options
|
||||
javac.source = 1.8
|
||||
javac.target = 1.8
|
||||
javac.debug = on
|
||||
javac.compilerarg = -Xlint:none
|
||||
java.src.encoding = UTF-8
|
||||
|
||||
# Manifest attributes
|
||||
jar.spec.version = ${icu4j.spec.version}
|
||||
jar.impl.version = ${icu4j.impl.version}
|
||||
jar.copyright.info = ${copyright}
|
||||
jar.exec.env = ${default.exec.env}
|
||||
|
||||
# Jar locations
|
||||
icu4j.data.jar = ${shared.dir}/data/icudata.jar
|
||||
icu4j.tzdata.jar = ${shared.dir}/data/icutzdata.jar
|
||||
icu4j.testdata.jar = ${shared.dir}/data/testdata.jar
|
||||
|
||||
icu4j.core.jar = ${icu4j.core.dir}/${jar.dir}/icu4j-core.jar
|
||||
icu4j.collate.jar = ${icu4j.collate.dir}/${jar.dir}/icu4j-collate.jar
|
||||
icu4j.charset.jar = ${icu4j.charset.dir}/${jar.dir}/icu4j-charset.jar
|
||||
icu4j.currdata.jar = ${icu4j.currdata.dir}/${jar.dir}/icu4j-currdata.jar
|
||||
icu4j.langdata.jar = ${icu4j.langdata.dir}/${jar.dir}/icu4j-langdata.jar
|
||||
icu4j.localespi.jar = ${icu4j.localespi.dir}/${jar.dir}/icu4j-localespi.jar
|
||||
icu4j.regiondata.jar = ${icu4j.regiondata.dir}/${jar.dir}/icu4j-regiondata.jar
|
||||
icu4j.translit.jar = ${icu4j.translit.dir}/${jar.dir}/icu4j-translit.jar
|
||||
|
||||
icu4j.test-framework.jar = ${icu4j.test-framework.dir}/${jar.dir}/icu4j-test-framework.jar
|
||||
icu4j.core-tests.jar = ${icu4j.core-tests.dir}/${jar.dir}/icu4j-core-tests.jar
|
||||
icu4j.collate-tests.jar = ${icu4j.collate-tests.dir}/${jar.dir}/icu4j-collate-tests.jar
|
||||
icu4j.charset-tests.jar = ${icu4j.charset-tests.dir}/${jar.dir}/icu4j-charset-tests.jar
|
||||
icu4j.localespi-tests.jar = ${icu4j.localespi-tests.dir}/${jar.dir}/icu4j-localespi-tests.jar
|
||||
icu4j.packaging-tests.jar = ${icu4j.packaging-tests.dir}/${jar.dir}/icu4j-packaging-tests.jar
|
||||
icu4j.translit-tests.jar = ${icu4j.translit-tests.dir}/${jar.dir}/icu4j-translit-tests.jar
|
||||
icu4j.testall.jar = ${icu4j.testall.dir}/${jar.dir}/icu4j-testall.jar
|
||||
|
||||
icu4j.build-tools.jar = ${icu4j.build-tools.dir}/${jar.dir}/icu4j-build-tools.jar
|
||||
icu4j.tools.jar = ${icu4j.tools.dir}/${jar.dir}/icu4j-tools.jar
|
||||
|
||||
icu4j.demos.jar = ${icu4j.demos.dir}/${jar.dir}/icu4j-demos.jar
|
||||
icu4j.samples.jar = ${icu4j.samples.dir}/${jar.dir}/icu4j-samples.jar
|
||||
|
||||
# Misc
|
||||
icu4j.data.path = com/ibm/icu/impl/data/icudt${icu4j.data.version}b
|
|
@ -1,33 +0,0 @@
|
|||
# Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
# License & terms of use: http://www.unicode.org/copyright.html
|
||||
#*******************************************************************************
|
||||
#* Copyright (C) 2009-2014, International Business Machines Corporation and *
|
||||
#* others. All Rights Reserved. *
|
||||
#*******************************************************************************
|
||||
shared.dir = ${workspace_loc:/icu4j-shared}
|
||||
|
||||
icu4j.core.dir = ${workspace_loc:/icu4j-core}
|
||||
icu4j.charset.dir = ${workspace_loc:/icu4j-charset}
|
||||
icu4j.collate.dir = ${workspace_loc:/icu4j-collate}
|
||||
icu4j.currdata.dir = ${workspace_loc:/icu4j-currdata}
|
||||
icu4j.langdata.dir = ${workspace_loc:/icu4j-langdata}
|
||||
icu4j.localespi.dir = ${workspace_loc:/icu4j-localespi}
|
||||
icu4j.regiondata.dir = ${workspace_loc:/icu4j-regiondata}
|
||||
icu4j.translit.dir = ${workspace_loc:/icu4j-translit}
|
||||
|
||||
icu4j.test-framework.dir = ${workspace_loc:/icu4j-test-framework}
|
||||
icu4j.core-tests.dir = ${workspace_loc:/icu4j-core-tests}
|
||||
icu4j.collate-tests.dir = ${workspace_loc:/icu4j-collate-tests}
|
||||
icu4j.charset-tests.dir = ${workspace_loc:/icu4j-charset-tests}
|
||||
icu4j.localespi-tests.dir = ${workspace_loc:/icu4j-localespi-tests}
|
||||
icu4j.packaging-tests.dir = ${workspace_loc:/icu4j-packaging-tests}
|
||||
icu4j.translit-tests.dir = ${workspace_loc:/icu4j-translit-tests}
|
||||
icu4j.testall.dir = ${workspace_loc:/icu4j-testall}
|
||||
|
||||
icu4j.build-tools.dir = ${workspace_loc:/icu4j-build-tools}
|
||||
icu4j.tools.dir = ${workspace_loc:/icu4j-tools}
|
||||
|
||||
icu4j.demos.dir = ${workspace_loc:/icu4j-demos}
|
||||
icu4j.samples.dir = ${workspace_loc:/icu4j-samples}
|
||||
|
||||
icu4j.perf-tests.dir = ${workspace_loc:/icu4j-perf-tests}
|
|
@ -1,35 +0,0 @@
|
|||
# Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
# License & terms of use: http://www.unicode.org/copyright.html
|
||||
#*******************************************************************************
|
||||
#* Copyright (C) 2009-2014, International Business Machines Corporation and *
|
||||
#* others. All Rights Reserved. *
|
||||
#*******************************************************************************
|
||||
|
||||
icu4j.collate.dir = ${shared.dir}/../classes/collate
|
||||
icu4j.core.dir = ${shared.dir}/../classes/core
|
||||
icu4j.charset.dir = ${shared.dir}/../classes/charset
|
||||
icu4j.currdata.dir = ${shared.dir}/../classes/currdata
|
||||
icu4j.langdata.dir = ${shared.dir}/../classes/langdata
|
||||
icu4j.localespi.dir = ${shared.dir}/../classes/localespi
|
||||
icu4j.regiondata.dir = ${shared.dir}/../classes/regiondata
|
||||
icu4j.translit.dir = ${shared.dir}/../classes/translit
|
||||
|
||||
icu4j.test-framework.dir = ${shared.dir}/../tests/framework
|
||||
icu4j.core-tests.dir = ${shared.dir}/../tests/core
|
||||
icu4j.collate-tests.dir = ${shared.dir}/../tests/collate
|
||||
icu4j.charset-tests.dir = ${shared.dir}/../tests/charset
|
||||
icu4j.localespi-tests.dir = ${shared.dir}/../tests/localespi
|
||||
icu4j.packaging-tests.dir = ${shared.dir}/../tests/packaging
|
||||
icu4j.translit-tests.dir = ${shared.dir}/../tests/translit
|
||||
icu4j.testall.dir = ${shared.dir}/../tests/testall
|
||||
|
||||
icu4j.build-tools.dir = ${shared.dir}/../../tools/build
|
||||
icu4j.tools.dir = ${shared.dir}/../../tools/misc
|
||||
|
||||
icu4j.demos.dir = ${shared.dir}/../../demos
|
||||
icu4j.samples.dir = ${shared.dir}/../../samples
|
||||
|
||||
icu4j.perf-tests.dir = ${shared.dir}/../../perf-tests
|
||||
|
||||
global.build.properties = ${shared.dir}/../../build.properties
|
||||
global.build-local.properties = ${shared.dir}/../../build-local.properties
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,60 +0,0 @@
|
|||
//#* © 2016 and later: Unicode, Inc. and others.
|
||||
//#* License & terms of use: http://www.unicode.org/copyright.html
|
||||
//#
|
||||
//#*******************************************************************************
|
||||
//#* Copyright (C) 1997-2015, International Business Machines Corporation and *
|
||||
//#* others. All Rights Reserved. *
|
||||
//#*******************************************************************************
|
||||
//#* This is the ant build file for ICU4J. See readme.html for more information.
|
||||
//#*
|
||||
// policies needed to run tests
|
||||
grant
|
||||
{
|
||||
// temporary for debugging
|
||||
// permission java.lang.RuntimePermission "getProtectionDomain";
|
||||
|
||||
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
||||
|
||||
// needed for Locale.setDefault, only used in tests and demos
|
||||
permission java.util.PropertyPermission "user.language", "write";
|
||||
|
||||
// for charsets
|
||||
permission java.lang.RuntimePermission "charsetProvider", "read";
|
||||
|
||||
// IBM 1.6 on Windows does not allow to use reflection to access
|
||||
// getDSTSavings in TimeZone implementation class in sun.util.clanedar.
|
||||
permission java.lang.RuntimePermission "accessClassInPackage.sun.util.calendar";
|
||||
|
||||
// for testing lenient decimal/group separator parsing
|
||||
permission java.util.PropertyPermission "com.ibm.icu.text.DecimalFormat.SkipExtendedSeparatorParsing", "write";
|
||||
|
||||
// for setting the default time zone by the test framework
|
||||
permission java.util.PropertyPermission "user.timezone", "write";
|
||||
|
||||
// for creating a fallback class loader
|
||||
permission java.lang.RuntimePermission "createClassLoader";
|
||||
};
|
||||
|
||||
// there must be a way for code in one jar file to call code in another jar
|
||||
// file and give the called code permission to read the calling code's
|
||||
// jar. they're in different protection domains despite being on the
|
||||
// same classpath and being loaded by the same class loader, so the class
|
||||
// loader doesn't disambiguate which protection domain we're using. it's
|
||||
// not easy to figure out the security docs, sigh.
|
||||
//
|
||||
// this is so ICUData (in icu4j.jar), called from test code (in core/charset tests jar)
|
||||
// can read test resource files (in core/charset tests jar)
|
||||
//
|
||||
grant codebase "file:${user.dir}/icu4j.jar"
|
||||
{
|
||||
permission java.io.FilePermission "${/}${user.dir}${/}icu4jtests.jar", "read";
|
||||
permission java.io.FilePermission "${/}${user.dir}${/}icu4j-charset.jar", "read";
|
||||
|
||||
permission java.util.PropertyPermission "com.ibm.icu.util.TimeZone.DefaultTimeZoneType", "read";
|
||||
permission java.util.PropertyPermission "com.ibm.icu.text.DecimalFormat.SkipExtendedSeparatorParsing", "read";
|
||||
};
|
||||
|
||||
grant codebase "file:${user.dir}/icu4jtests.jar"
|
||||
{
|
||||
permission java.io.FilePermission "${/}${user.dir}${/}icu4j.jar", "read";
|
||||
};
|
|
@ -1,18 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>ICU License - moved to LICENSE</title>
|
||||
</head>
|
||||
|
||||
<body BGCOLOR="#ffffff">
|
||||
<p>
|
||||
The ICU license is now in plain text format, see <a href="./LICENSE">LICENSE</a>.
|
||||
Update links and software appropriately.
|
||||
</p>
|
||||
<i>© 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html</i>
|
||||
<!-- i>Copyright (c) 1995-2016 International Business Machines Corporation and others</i -->
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Reference in a new issue