<!--
*******************************************************************************
-* Copyright (C) 2012, International Business Machines Corporation and *
+* Copyright (C) 2012-2013, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
-->
<property name="res.dir" value="${out.dir}/res"/>
<property name="xml.dir" value="${out.dir}/xml"/>
- <property name="base.url" value="http://www.currency-iso.org/"/>
+ <property name="base.url" value="http://www.currency-iso.org/content/dam/isocy/downloads/"/>
<property name="current.xml" value="dl_iso_table_a1.xml"/>
- <property name="historic.xml" value="dl_iso_tables_a3.xml"/>
+ <property name="historic.xml" value="dl_iso_table_a3.xml"/>
<target name="build" depends="check, resource" description="Verify ICU's local data and generate ISO 4217 alpha-numeric code mapping data resource"/>
*******************************************************************************
-* Copyright (C) 2012, International Business Machines Corporation and *
+* Copyright (C) 2012-2013, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
Table A.1 contains current currencies and funds and Table A.3 contains
historic denominations.
-The tool supports 3 commands - check / print / build.
+The tool supports 2 commands - check / resource.
1) check
This command compares the hardcoded mapping data in NumericCodeData.java
with the ISO 4217 XML data files side by side and check differences.
-2) print
-
-This command prints out body of String[][] CODE_MAP_DATA from the ISO
-4217 XML data files.
-
-3) build
+2) resource
This command writes out the hardcoded mapping data in NumericCodeData.java
in ICU resource bundle source format - currencyNumericCodes.txt.
You can either edit the table in NumericCodeData manually, or run the tool
command "print" and copy the output and paste it to the table.
-Once you make sure "ant check" returns no errors, run "ant build". This
+Once you make sure "ant check" returns no errors, run "ant resource". This
target generate out/res/currencyNumericCodes.txt. The file should go to
<icu4c>/source/data/misc directory.
/*
*******************************************************************************
- * Copyright (C) 2012, International Business Machines Corporation and *
+ * Copyright (C) 2012-2013, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
{"ZAL", "991"},
{"ZAR", "710"},
{"ZMK", "894"},
+ {"ZMW", "967"},
{"ZRN", "180"},
{"ZRZ", "180"},
{"ZWD", "716"},