Description
Background: ucd-dev email thread “Unicode Tools vs. UnicodeProperty.java”
We have two versions of org/unicode/cldr/util/props/UnicodeProperty.java, one in CLDR and one in the Unicode Tools.
Until 1.5 years ago they were identical, but they have been diverging and are now no longer even interface-compatible. The CLDR version is the newer one.
For now, I am adding a note to the setup instructions to move cldr-code above unicodetools in the build path, but of course that's evil and brittle.
We had agreed to move UnicodeProperty from CLDR into the Unicode Tools, but other CLDR code depends on this class, and I am not sure if I have time to get through that.
Maybe I just rename the unused Unicode Tools version at first.
There is also a third version of UnicodeProperty.java, in the UnicodeJsps code, but thankfully it is in a different package. Still, this is confusing and error-prone; we should either merge the classes or give them distinct names.
- https://github.com/unicode-org/cldr/blob/master/tools/cldr-code/src/main/java/org/unicode/cldr/util/props/UnicodeProperty.java
- https://github.com/unicode-org/unicodetools/blob/main/unicodetools/src/main/java/org/unicode/cldr/util/props/UnicodeProperty.java (location after Mavenization move)
https://github.com/unicode-org/unicodetools/blob/main/UnicodeJsps/src/main/java/org/unicode/jsp/UnicodeProperty.javaRemoved in Remove the ancient and unused copy of UnicodeProperty #649, 2024-01-20.