mirror of https://github.com/apache/lucene.git
LUCENE-9557: regeneration should use python3, not python2
python2 will change the DFA, but using python3 re-generates the sources as they exist today. plus, we don't want to depend on EOL python2.
This commit is contained in:
parent
f6c4f8a755
commit
7eee4fd102
|
@ -149,7 +149,7 @@ configure(project(":lucene:analysis:common")) {
|
|||
def target = file('src/java/org/apache/lucene/analysis/charfilter/HTMLCharacterEntities.jflex')
|
||||
target.withOutputStream { output ->
|
||||
project.exec {
|
||||
executable = project.externalTool("python2")
|
||||
executable = project.externalTool("python3")
|
||||
workingDir = target.parentFile
|
||||
standardOutput = output
|
||||
args += [
|
||||
|
|
Loading…
Reference in New Issue