Uwe Schindler created LUCENE-9901:
-------------------------------------

             Summary: UnicodeData.java has no regeneration task
                 Key: LUCENE-9901
                 URL: https://issues.apache.org/jira/browse/LUCENE-9901
             Project: Lucene - Core
          Issue Type: Sub-task
          Components: modules/analysis
            Reporter: Uwe Schindler


When proting to gradle, we lost the following groovy script, which is used to 
regenerate the UnicodeData.java file to be in line with the actually used ICU4J 
version.

The groovy script is still in the repository, but it's no longer used by the 
build system:
https://github.com/apache/lucene/blob/d5d6dc079395c47cd6d12dcce3bcfdd2c7d9dc63/lucene/analysis/common/src/tools/groovy/generate-unicode-data.groovy

To execute it, we need to convert it to a Gradle task that depends on the same 
version of ICU4J that we use as analysis/icu dependency.

The file should also be hashed and put into the regenerated file hases:
https://github.com/apache/lucene/blob/d5d6dc079395c47cd6d12dcce3bcfdd2c7d9dc63/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/UnicodeProps.java

Old Ant task is here:
https://github.com/apache/lucene-solr/blob/branch_8x/lucene/analysis/common/build.xml#L91-L94



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to