Skip to content

Apache Lucene open-source search software

always regenerate

Robert Muir2456ccf20f33
diff --git a/lucene/analysis/common/build.xml b/lucene/analysis/common/build.xml
index 8c3dac7174a..9405a8ce810 100644
--- a/lucene/analysis/common/build.xml
+++ b/lucene/analysis/common/build.xml
@@ -29,8 +29,6 @@
<import file="../analysis-module-build.xml"/>
- <target name="compile-core" depends="jflex-notice, common.compile-core"/>
-
<target name="jflex" depends="jflex-check,clean-jflex,gen-uax29-supp-macros,
jflex-StandardAnalyzer,jflex-UAX29URLEmailTokenizer,
jflex-wiki-tokenizer,jflex-HTMLStripCharFilter"/>
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 724144fd53a..98cc690c43e 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -445,20 +445,6 @@
</sequential>
</macrodef>
- <target name="jflex-uptodate-check">
- <uptodate property="jflex.files.uptodate">
- <srcfiles dir="${src.dir}" includes="**/*.jflex" />
- <mapper type="glob" from="*.jflex" to="*.java"/>
- </uptodate>
- </target>
-
- <target name="jflex-notice" depends="jflex-uptodate-check" unless="jflex.files.uptodate">
- <echo>
- One or more of the JFlex .jflex files is newer than its corresponding
- .java file. Run the "jflex" target to regenerate the artifacts.
- </echo>
- </target>
-
<target name="jflex-check">
<available property="jflex.present" classname="jflex.anttask.JFlexTask">
<classpath refid="jflex.classpath"/>