Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • modules/analysis
    • None
    • New

    Description

      When moving build system 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 Not sure how to do this, maybe it's easy using palantir).

      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

      Attachments

        Issue Links

          Activity

            People

              dweiss Dawid Weiss
              uschindler Uwe Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h