mirror of https://github.com/apache/lucene.git
Because we're doing something atypical, storing generated artifacts in the repository, its tricky to ensure
up-to-dateness. Because generation is an infrequent activity, deleting the main .java file for each of the .jj files is good enough to ensure everything gets regenerated. git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156445 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be8ae58254
commit
c33696e120
13
build.xml
13
build.xml
|
@ -596,7 +596,18 @@
|
|||
/>
|
||||
</target>
|
||||
|
||||
<target name="javacc" depends="javacc-StandardAnalyzer,javacc-QueryParser,javacc-PrecedenceQueryParser,javacc-HTMLParser"/>
|
||||
<target name="clean-javacc">
|
||||
<delete>
|
||||
<fileset dir="src">
|
||||
<include name="java/org/apache/lucene/analysis/standard/StandardTokenizer.java"/>
|
||||
<include name="java/org/apache/lucene/queryParser/QueryParser.java"/>
|
||||
<include name="java/org/apache/lucene/queryParser/precedence/PrecedenceQueryParser.java"/>
|
||||
<include name="demo/org/apache/lucene/demo/html/HTMLParser.java"/>
|
||||
</fileset>
|
||||
</delete>
|
||||
</target>
|
||||
|
||||
<target name="javacc" depends="clean-javacc,javacc-StandardAnalyzer,javacc-QueryParser,javacc-PrecedenceQueryParser,javacc-HTMLParser"/>
|
||||
|
||||
<macrodef name="invoke-javacc">
|
||||
<attribute name="target"/>
|
||||
|
|
Loading…
Reference in New Issue