You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: help/regeneration.txt
+43-34Lines changed: 43 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,11 @@ resource (binary) files, others are Java source files that are stored
7
7
8
8
If you're reading this, chances are that:
9
9
10
-
1) you've hit a precommit check error that said you've modified a generated
10
+
1) you've hit a build check error that said you've modified a generated
11
11
resource and some checksums are out of sync.
12
12
13
-
2) you need to regenerate one (or more) of these resources.
13
+
2) you need to regenerate one (or more) of these resources because of
14
+
third party library updates or other reasons.
14
15
15
16
In many cases hitting (1) means you'll have to do (2) so let's discuss
16
17
these in order.
@@ -20,44 +21,58 @@ Checksum validation errors
20
21
--------------------------
21
22
22
23
LUCENE-9868 introduced a system of storing (and validating) checksums of
23
-
generated files so that they are not accidentally modified. This checksums
24
+
generated files so that they are not accidentally modified. This checksum-checking
24
25
system will fail the build with a message similar to this one:
25
26
26
-
Execution failed for task ':lucene:core:generateStandardTokenizerChecksumCheck'.
27
-
> Checksums mismatch for derived resources; you might have modified a generated resource (regenerate task: :lucene:core:generateStandardTokenizerIfChanged):
Execution failed for task ':lucene:core:regenerateStandardTokenizerChecksumCheck'.
28
+
> Checksums mismatch for generated resources; you might have modified a generated resource (regenerate task: regenerateStandardTokenizer, checksum file: .../lucene/core/src/generated/checksums/regenerateStandardTokenizer.json).
0 commit comments