You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Uwe Schindler (Jira)" <ji...@apache.org> on 2021/04/02 11:35:00 UTC

[jira] [Updated] (LUCENE-9901) UnicodeData.java has no regeneration task

     [ https://issues.apache.org/jira/browse/LUCENE-9901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated LUCENE-9901:
----------------------------------
    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

  was:
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


> 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
>            Priority: Major
>
> 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



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

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