ICU-6685 rewrite api gen to not use JDK 1.4

X-SVN-Rev: 25265
This commit is contained in:
Steven R. Loomis 2009-01-17 08:21:00 +00:00
parent da0817558c
commit bdb3565ee6
4 changed files with 42 additions and 15 deletions

2
.gitattributes vendored
View File

@ -357,6 +357,8 @@ icu4j/src/com/ibm/icu/impl/data/icudata.jar -text
icu4j/src/com/ibm/icu/text/CurrencyPluralInfo.java -text icu4j/src/com/ibm/icu/text/CurrencyPluralInfo.java -text
icu4j/src/com/ibm/richtext/textapps/resources/unicode.arabic.red -text icu4j/src/com/ibm/richtext/textapps/resources/unicode.arabic.red -text
icu4j/src/com/ibm/richtext/textapps/resources/unicode.hebrew.red -text icu4j/src/com/ibm/richtext/textapps/resources/unicode.hebrew.red -text
tools/release/java/.classpath -text
tools/release/java/.project -text
tools/release/java/Makefile -text tools/release/java/Makefile -text
tools/release/java/icu4c.css -text tools/release/java/icu4c.css -text
tools/unicodetools/com/ibm/rbm/docs/images/TitleLogo_transparent.gif -text tools/unicodetools/com/ibm/rbm/docs/images/TitleLogo_transparent.gif -text

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
# Copyright (C) 2009 IBM and Others. All Rights Reserved
-->
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="classes"/>
</classpath>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
# Copyright (C) 2009 IBM and Others. All Rights Reserved
-->
<projectDescription>
<name>toolsj</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@ -1,20 +1,16 @@
# Copyright (C) 2008 IBM and Others. All Rights Reserved # Copyright (C) 2009 IBM and Others. All Rights Reserved
A tool to generate a report of API status changes between two ICU releases A tool to generate a report of API status changes between two ICU releases
To use the utility To use the utility
1. Generate the XML files 1. setup ICU
(put the two ICU releases on your machine ^_^ ) (put the two ICU releases on your machine ^_^
(generate 'Doxygen' file on Windows platform with Cygwin's help) run 'configure' in both releases (or runConfigureICU)
Edit the generated 'Doxygen' file under ICU4C source directory 2. create a Makefile.local with these two lines:
a) GENERATE_XML = YES OLD_ICU=/xsrl/E/icu-1.0
b) Sync the ALIASES definiation NEW_ICU=/xsrl/E/icu-6.8
(For example, copy the ALIASES defination from ICU 3.6 ( where these are the paths to the parent of 'source', etc)
Doxygen file to ICU 3.4 Doxygen file.) 3. Build the API docs
c) gerenate the XML files make
2. Build the tool 4. allow APIChangeReport.html to cool before use.
ant doctools
3. Edit the api-report.properties and change the values of olddir, newdir ( don't need to set oldver or newver)
4. Run the tool to generate the report
ant apireport