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/19 18:03:00 UTC
[lucene-solr] branch jira/SOLR-13452_gradle updated (4f0269e ->
fc2abe8)
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a change to branch jira/SOLR-13452_gradle
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git.
from 4f0269e SOLR-13452: Move jflex dependency configuration to buildSrc where it belongs.
new c0f3533 SOLR-13452: Fix runjflex description.
new fc2abe8 SOLR-13452: A little cleanup around forbiddenapis and get apache rat running on src directories (more to cover with rat).
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
build.gradle | 8 ++
buildSrc/build.gradle | 17 ++-
.../apache/lucene/gradle/CheckWorkingCopy.groovy | 2 +
.../gradle/LuceneSolrForbiddenApisPlugin.groovy | 20 +--
.../org/apache/lucene/gradle/RatSources.groovy | 143 +++++++++++++++++++++
gradle.properties | 1 -
lucene/analysis/common/build.gradle | 4 +
.../apache/lucene/analysis/compound/da_UTF8.xml | 25 ++--
.../analysis/compound/hyphenation-LUCENE-8124.xml | 23 ++--
.../lucene/analysis/compound/hyphenation.dtd | 25 ++--
lucene/core/build.gradle | 2 +-
lucene/highlighter/build.gradle | 6 +-
lucene/suggest/build.gradle | 6 +-
solr/core/build.gradle | 6 +
solr/solrj/build.gradle | 2 +-
15 files changed, 235 insertions(+), 55 deletions(-)
create mode 100644 buildSrc/src/main/groovy/org/apache/lucene/gradle/RatSources.groovy
[lucene-solr] 02/02: SOLR-13452: A little cleanup around
forbiddenapis and get apache rat running on src directories (more to cover
with rat).
Posted by ma...@apache.org.
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
commit fc2abe85b6f3956c731feac761d3bc42152cdf6d
Author: markrmiller <ma...@apache.org>
AuthorDate: Sun May 19 13:02:44 2019 -0500
SOLR-13452: A little cleanup around forbiddenapis and get apache rat running on src directories (more to cover with rat).
---
build.gradle | 8 ++
buildSrc/build.gradle | 17 ++-
.../apache/lucene/gradle/CheckWorkingCopy.groovy | 2 +
.../gradle/LuceneSolrForbiddenApisPlugin.groovy | 20 +--
.../org/apache/lucene/gradle/RatSources.groovy | 143 +++++++++++++++++++++
gradle.properties | 1 -
lucene/analysis/common/build.gradle | 4 +
.../apache/lucene/analysis/compound/da_UTF8.xml | 25 ++--
.../analysis/compound/hyphenation-LUCENE-8124.xml | 23 ++--
.../lucene/analysis/compound/hyphenation.dtd | 25 ++--
lucene/highlighter/build.gradle | 6 +-
lucene/suggest/build.gradle | 6 +-
solr/core/build.gradle | 6 +
solr/solrj/build.gradle | 2 +-
14 files changed, 234 insertions(+), 54 deletions(-)
diff --git a/build.gradle b/build.gradle
index 547a655..9972e9c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -47,6 +47,14 @@ configure(luceneSolrProjects) {
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
+
+ task ratSources(type: org.apache.lucene.gradle.RatSources) {
+ group = 'Verification'
+ description = "Checks source files for proper license headers."
+ excludes = ['**/TODO', '**/*.txt,', '**/*.iml']
+ }
+
+ check.dependsOn ratSources
}
// -> lucene-solr sub module config - configure all lucene-solr modules (excludes the root project)
diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
index 55b0de3..89c883f 100644
--- a/buildSrc/build.gradle
+++ b/buildSrc/build.gradle
@@ -25,24 +25,23 @@ repositories {
mavenCentral()
}
-// we create new implementationTran and testImplementationTran configurations that are transitive
-project.apply from: new File(projectDir, "common/configure-impltran.gradle")
-
dependencies {
- implementationTran gradleApi()
- implementationTran localGroovy()
+ implementation gradleApi()
+ implementation localGroovy()
- implementationTran 'org.eclipse.jgit:org.eclipse.jgit:4.6.0.201612231935-r'
- implementationTran 'de.thetaphi:forbiddenapis:2.6'
- implementationTran 'org.apache.rat:apache-rat:0.11'
- implementationTran 'com.ibm.icu:icu4j:62.1'
+ implementation 'org.eclipse.jgit:org.eclipse.jgit:4.6.0.201612231935-r'
+ implementation 'de.thetaphi:forbiddenapis:2.6'
+ implementation 'com.ibm.icu:icu4j:62.1'
+ implementation "org.apache.rat:apache-rat:0.11"
}
configurations {
jflex
+ rat
}
dependencies {
jflex "de.jflex:jflex:1.7.0"
+ rat "org.apache.rat:apache-rat:0.11"
}
diff --git a/buildSrc/src/main/groovy/org/apache/lucene/gradle/CheckWorkingCopy.groovy b/buildSrc/src/main/groovy/org/apache/lucene/gradle/CheckWorkingCopy.groovy
index 570120d..e475350 100644
--- a/buildSrc/src/main/groovy/org/apache/lucene/gradle/CheckWorkingCopy.groovy
+++ b/buildSrc/src/main/groovy/org/apache/lucene/gradle/CheckWorkingCopy.groovy
@@ -40,6 +40,8 @@ class CheckWorkingCopy extends DefaultTask {
@Inject
CheckWorkingCopy(boolean failonmodifications) {
this.failonmodifications = failonmodifications
+ this.group = 'Verification'
+ this.description = "Checks the local project working copy."
}
@TaskAction
diff --git a/buildSrc/src/main/groovy/org/apache/lucene/gradle/LuceneSolrForbiddenApisPlugin.groovy b/buildSrc/src/main/groovy/org/apache/lucene/gradle/LuceneSolrForbiddenApisPlugin.groovy
index b18ccdf..1fac768 100644
--- a/buildSrc/src/main/groovy/org/apache/lucene/gradle/LuceneSolrForbiddenApisPlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/lucene/gradle/LuceneSolrForbiddenApisPlugin.groovy
@@ -11,7 +11,6 @@ class LuceneSolrForbiddenApisPlugin implements Plugin<Project> {
void apply(Project project) {
project.pluginManager.apply(ForbiddenApisPlugin.class)
project.forbiddenApis {
-
failOnUnsupportedJava = false
bundledSignatures = ['jdk-unsafe', 'jdk-deprecated', 'jdk-non-portable', 'jdk-reflection']
signaturesURLs = [getClass().getResource('/forbidden/base.txt')]
@@ -23,19 +22,20 @@ class LuceneSolrForbiddenApisPlugin implements Plugin<Project> {
signaturesURLs = project.forbiddenApis.signaturesURLs +
[getClass().getResource('/forbidden/tests.txt')]
}
- if (project.group.equals("org.apache.lucene")) {
+ if (project.group.matches(".*?\\.lucene(?:\\.\\w+)?")) {
signaturesURLs = project.forbiddenApis.signaturesURLs +
[getClass().getResource('/forbidden/lucene.txt')]
}
- if (project.group.equals("org.apache.solr") ) {
- if (project.name.equals("solrj")) {
- signaturesURLs = project.forbiddenApis.signaturesURLs +
- [getClass().getResource('/forbidden/solrj.txt')]
- } else {
- signaturesURLs = project.forbiddenApis.signaturesURLs +
- [getClass().getResource('/forbidden/solr.txt'), getClass().getResource('/forbidden/servlet-api.txt')]
- }
+ if (project.group.endsWith(".*?\\.solr(?:\\.\\w+)?")) {
+ signaturesURLs = project.forbiddenApis.signaturesURLs +
+ [getClass().getResource('/forbidden/solr.txt'), getClass().getResource('/forbidden/servlet-api.txt')]
+ }
+
+ if (project.name.equals("solrj")) {
+ signaturesURLs = project.forbiddenApis.signaturesURLs +
+ [getClass().getResource('/forbidden/solrj.txt')]
}
+ //println "group " + project.group + " name:" + project.name + " sigs: " + signaturesURLs
}
}
}
diff --git a/buildSrc/src/main/groovy/org/apache/lucene/gradle/RatSources.groovy b/buildSrc/src/main/groovy/org/apache/lucene/gradle/RatSources.groovy
new file mode 100644
index 0000000..1c23c96
--- /dev/null
+++ b/buildSrc/src/main/groovy/org/apache/lucene/gradle/RatSources.groovy
@@ -0,0 +1,143 @@
+package org.apache.lucene.gradle
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/** Task script that is called by Ant's build.xml file:
+ * Checks GIT working copy for unversioned or modified files.
+ */
+
+import org.eclipse.jgit.api.Git
+import org.eclipse.jgit.api.Status
+import org.eclipse.jgit.lib.Repository
+import org.eclipse.jgit.storage.file.FileRepositoryBuilder
+import org.eclipse.jgit.errors.*
+import org.gradle.api.DefaultTask
+import org.gradle.api.GradleException
+import org.gradle.api.tasks.Input
+import org.gradle.api.tasks.Optional
+import org.gradle.api.tasks.OutputFile
+import org.gradle.api.tasks.TaskAction
+import javax.inject.Inject
+
+class RatSources extends DefaultTask {
+
+ @Optional
+ @Input
+ List<String> excludes = new ArrayList<>()
+
+ @TaskAction
+ void rat() {
+ File logFile = File.createTempFile("temp",".tmp")
+ logFile.deleteOnExit()
+
+ def excludeString = ""
+ excludes.each {
+ if (it == null) return
+ if (excludeString.length() > 0)
+ excludeString += ','
+ excludeString += it
+ }
+
+ ant.taskdef(resource: 'org/apache/rat/anttasks/antlib.xml', classpath: project.rootProject.allprojects.find { project -> project.name == 'buildSrc'}.configurations.rat.asPath)
+
+ ant.report(reportFile: logFile.getAbsolutePath(), addDefaultLicenseMatchers: 'true') {
+ ant.fileset(dir: ".", includes: "*.xml", excludes: excludeString)
+
+ if (project.sourceSets.hasProperty('main') && project.sourceSets.main.hasProperty('java')) {
+ project.sourceSets.main.java.srcDirs.each { dir ->
+ ant.fileset(dir: dir, excludes: excludeString, erroronmissingdir: "false")
+ }
+ }
+
+ if (project.sourceSets.hasProperty('test') && project.sourceSets.test.hasProperty('java')) {
+ project.sourceSets.test.java.srcDirs.each { dir ->
+ ant.fileset(dir: dir, excludes: excludeString, erroronmissingdir: "false")
+ }
+ }
+
+ // BSD-like stuff
+ ant.substringMatcher(licenseFamilyCategory: "BSD ", licenseFamilyName: "Modified BSD License") {
+ // brics automaton
+ ant.pattern(substring: "Copyright (c) 2001-2009 Anders Moeller")
+ // snowball
+ ant.pattern(substring: "Copyright (c) 2001, Dr Martin Porter")
+ // UMASS kstem
+ ant.pattern(substring: "THIS SOFTWARE IS PROVIDED BY UNIVERSITY OF MASSACHUSETTS AND OTHER CONTRIBUTORS")
+ // Egothor
+ ant.pattern(substring: "Egothor Software License version 1.00")
+ // JaSpell
+ ant.pattern(substring: "Copyright (c) 2005 Bruno Martins")
+ // d3.js
+ ant.pattern(substring: "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS")
+ // highlight.js
+ ant.pattern(substring: "THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS")
+ }
+
+ // MIT-like
+ ant.substringMatcher(licenseFamilyCategory: "MIT ", licenseFamilyName: "The MIT License") {
+ // ICU license
+ ant.pattern(substring: "Permission is hereby granted, free of charge, to any person obtaining a copy")
+ }
+
+ // Generated
+ ant.substringMatcher(licenseFamilyCategory: "GEN ", licenseFamilyName: "Generated") {
+ // svg files generated by gnuplot
+ ant.pattern(substring: "Produced by GNUPLOT")
+ // snowball stemmers generated by snowball compiler
+ ant.pattern(substring: "This file was generated automatically by the Snowball to Java compiler")
+ // parsers generated by antlr
+ ant.pattern(substring: "ANTLR GENERATED CODE")
+ }
+
+ // Apache
+ ant.substringMatcher(licenseFamilyCategory: "AL ", licenseFamilyName: "Apache") {
+ ant.pattern(substring: "Licensed to the Apache Software Foundation (ASF) under")
+ ant.pattern(substring: "Licensed under the Apache License, Version 2.0 (the "License")")
+
+ // a handful of Solr files came in with this a MITRE Corporation copyright, with ASF 2 license
+ ant.pattern(substring: "This software was produced for the U. S. Government")
+ }
+
+ // * Licensed under the Apache License, Version 2.0 (the "License");
+
+ // built in approved licenses
+ ant.approvedLicense(familyName: "Apache")
+ ant.approvedLicense(familyName: "The MIT License")
+ ant.approvedLicense(familyName: "Modified BSD License")
+ ant.approvedLicense(familyName: "Generated")
+ }
+
+ ant.delete() {
+ ant.fileset(file: logFile.getAbsolutePath()) {
+ ant.and() {
+ ant.containsregexp(expression: "^0 Unknown Licenses")
+ ant.not() {
+ ant.containsregexp(expression: "^\\s+!")
+ }
+ }
+ }
+ }
+
+ if (logFile.exists()) {
+ println logFile.getText("UTF-8")
+ throw new GradleException("Rat problems were found!")
+ }
+
+ }
+}
+
+
diff --git a/gradle.properties b/gradle.properties
index 244c57b..c92444b 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,6 +1,5 @@
# Default build params - override in ~/.gradle/gradle.properties
-group=org.apache.lucene
version=8.1.0
# by default we disable the gradle daemon - override in ~/.gradle/gradle.properties
diff --git a/lucene/analysis/common/build.gradle b/lucene/analysis/common/build.gradle
index 5847686..849558b 100644
--- a/lucene/analysis/common/build.gradle
+++ b/lucene/analysis/common/build.gradle
@@ -41,6 +41,10 @@ dependencies {
testImplementationTran project(':lucene:lucene-test-framework')
}
+ratSources {
+ excludes = ['**/*.aff', '**/*.dic', '**/*.txt', '**/charfilter/*.htm*', '**/*LuceneResourcesWikiPage.html']
+}
+
task regenerate {
doFirst {
println "--> regenerate"
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/da_UTF8.xml b/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/da_UTF8.xml
index 2c8d203..06dfa8f 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/da_UTF8.xml
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/da_UTF8.xml
@@ -1,19 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd">
<!--
- Copyright 1999-2004 The Apache Software Foundation
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
-->
<!--
This file contains the hyphenation patterns for danish.
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/hyphenation-LUCENE-8124.xml b/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/hyphenation-LUCENE-8124.xml
index 8710eab..1c0572b 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/hyphenation-LUCENE-8124.xml
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/hyphenation-LUCENE-8124.xml
@@ -1,17 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd">
<!--
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
-->
<!--
This file contains the hyphenation patterns for danish.
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/hyphenation.dtd b/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/hyphenation.dtd
index fb3db16..6da51d6 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/hyphenation.dtd
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/hyphenation.dtd
@@ -1,18 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright 1999-2004 The Apache Software Foundation
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
-->
<!-- Id: hyphenation.dtd,v 1.3 2004/02/27 18:34:59 jeremias Exp $ -->
diff --git a/lucene/highlighter/build.gradle b/lucene/highlighter/build.gradle
index 668e252..380a062 100644
--- a/lucene/highlighter/build.gradle
+++ b/lucene/highlighter/build.gradle
@@ -25,4 +25,8 @@ dependencies {
testImplementationTran project(':lucene:lucene-test-framework')
testImplementationTran project(':lucene:analysis:analyzers-common')
-}
\ No newline at end of file
+}
+
+ratSources {
+ excludes = ['**/*.utf8']
+}
diff --git a/lucene/suggest/build.gradle b/lucene/suggest/build.gradle
index c42df3f..940e413 100644
--- a/lucene/suggest/build.gradle
+++ b/lucene/suggest/build.gradle
@@ -22,4 +22,8 @@ dependencies {
implementationTran project(':lucene:analysis:analyzers-common')
testImplementationTran project(':lucene:lucene-test-framework')
-}
\ No newline at end of file
+}
+
+ratSources {
+ excludes = ['**/Top50KWiki.utf8', '**/stop-snowball.txt']
+}
diff --git a/solr/core/build.gradle b/solr/core/build.gradle
index 9b324cd..4b3a499 100644
--- a/solr/core/build.gradle
+++ b/solr/core/build.gradle
@@ -175,3 +175,9 @@ dependencies {
testImplementationTran project(':solr:contrib:analysis-extras')
}
+
+ratSources {
+ excludes = ['**/htmlStripReaderTest.html', '**/*.iml']
+}
+
+
diff --git a/solr/solrj/build.gradle b/solr/solrj/build.gradle
index ef9a0cd..66c84cd 100644
--- a/solr/solrj/build.gradle
+++ b/solr/solrj/build.gradle
@@ -66,4 +66,4 @@ dependencies {
testImplementationTran project(':lucene:lucene-test-framework')
testImplementationTran project(':lucene:analysis:analyzers-common')
testImplementationTran project(':solr:example:example-DIH')
-}
\ No newline at end of file
+}
[lucene-solr] 01/02: SOLR-13452: Fix runjflex description.
Posted by ma...@apache.org.
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
commit c0f3533dabcea9014f9f96a1b33007f27863d706
Author: markrmiller <ma...@apache.org>
AuthorDate: Sun May 19 00:24:23 2019 -0500
SOLR-13452: Fix runjflex description.
---
lucene/core/build.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lucene/core/build.gradle b/lucene/core/build.gradle
index e5aaae0..4b0565f 100644
--- a/lucene/core/build.gradle
+++ b/lucene/core/build.gradle
@@ -124,7 +124,7 @@ installMoman.dependsOn downloadMoman
task runjflex(type: org.apache.lucene.gradle.JFlex) {
group = 'Build Regenerate'
- description = "Regenerates StandardTokenizerImpl jflex src files."
+ description = "Runs jflex for StandardTokenizerImpl."
source = new File("${projectDir}/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.jflex")
target = new File("${projectDir}/src/java/org/apache/lucene/analysis/standard")