You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2019/05/14 22:21:49 UTC
[lucene-solr] branch jira/SOLR-13452_gradle updated: SOLR-13452:
Add some output to show what is happening on regenerate - the default is to
not even show what tasks executed.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch jira/SOLR-13452_gradle
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/jira/SOLR-13452_gradle by this push:
new 79fb381 SOLR-13452: Add some output to show what is happening on regenerate - the default is to not even show what tasks executed.
79fb381 is described below
commit 79fb381c7cb86a7c8e00e6d9626e590620aeb245
Author: markrmiller <ma...@apache.org>
AuthorDate: Tue May 14 17:21:42 2019 -0500
SOLR-13452: Add some output to show what is happening on regenerate - the default is to not even show what tasks executed.
---
lucene/analysis/common/build.gradle | 8 +++++++-
lucene/core/build.gradle | 13 ++++++++++++-
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/lucene/analysis/common/build.gradle b/lucene/analysis/common/build.gradle
index bb7f44c..dd112ea 100644
--- a/lucene/analysis/common/build.gradle
+++ b/lucene/analysis/common/build.gradle
@@ -25,10 +25,16 @@ dependencies {
}
task regenerate {
-
+ doFirst {
+ println "--> regenerate"
+ }
}
task unicodeData(type: org.apache.lucene.gradle.GenerateUnicodeData) {
+ doFirst {
+ println "--> Generate Unicode data ..."
+ }
+
unicodePropsFile = new File("${projectDir}" + unicodePropsJavaFile)
}
diff --git a/lucene/core/build.gradle b/lucene/core/build.gradle
index 527c9ea..55e4fa0 100644
--- a/lucene/core/build.gradle
+++ b/lucene/core/build.gradle
@@ -12,6 +12,10 @@ dependencies {
task createLevAutomaton {
+ doFirst {
+ println "--> Creating Lev Automaton ..."
+ }
+
doLast {
exec {
workingDir 'src/java/org/apache/lucene/util/automaton'
@@ -45,6 +49,9 @@ task fixCRLFAutomaton(type: org.apache.lucene.gradle.FixCRLF) {
createLevAutomaton.finalizedBy fixCRLFAutomaton
task createPackedIntSources {
+ doFirst {
+ println "--> Creating packed int sources ..."
+ }
doLast {
exec {
@@ -96,11 +103,15 @@ installMoman.dependsOn downloadMoman
task runjflex(type: org.apache.lucene.gradle.JFlex) {
source = new File("${projectDir}/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.jflex")
target = new File("${projectDir}/src/java/org/apache/lucene/analysis/standard")
+
+ doFirst {
+ println "--> Running jflex ..."
+ }
}
task regenerate {
doFirst {
- println "regenerate core"
+ println "--> regenerate"
}
}