mirror of https://github.com/apache/lucene.git
always regenerate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4335@1506278 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7a7003bdc0
commit
2456ccf20f
|
@ -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"/>
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue