ICU-6411 Fix the JDK name for Java 6, Updated build.xml to avoid the default JDK name to be included in the conditional source files.

X-SVN-Rev: 25286
This commit is contained in:
Yoshito Umaoka 2009-01-22 18:10:20 +00:00
parent 6070262c2f
commit bc4ee2dd9d
2 changed files with 8 additions and 2 deletions

View File

@ -24,7 +24,7 @@ current.year=2009
api.report.out=${api.dir}/icu4j_compare_${icu4j.previous.version.number}_${icu4j.version.number}.html
copyright=Copyright (c) 2000-2009, International Business Machines Corporation and others. All Rights Reserved.
corp=IBM Corporation
default.target.rt.version=J2SE16
default.target.rt.version=JAVASE6
icu4j.plugin.impl.version.string=4.1.2
copyright.eclipse=Licensed Materials - Property of IBM \n (C) Copyright IBM Corp. 2000, 2009. All Rights Reserved. \n IBM is a registered trademark of IBM Corp.

View File

@ -250,8 +250,14 @@
<include name="com/ibm/icu/dev/tool/docs/CodeMangler.java" />
</javac>
<!-- Run CodeMangler -->
<condition property="mangler.cmd.args" value="-d${default.target.rt.version} -n @preprocessor.txt">
<equals arg1="${default.target.rt.version}" arg2="${target.rt.version}"/>
</condition>
<property name="mangler.cmd.args" value="-d${target.rt.version} @preprocessor.txt"/>
<antcall target="doMangle">
<param name="mangler.args" value="-d${target.rt.version} @preprocessor.txt"/>
<param name="mangler.args" value="${mangler.cmd.args}"/>
</antcall>
</target>