mirror of https://github.com/apache/lucene.git
LUCENE-1353: Javacc target to generate precedence query parser.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@685114 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4d33a23bd2
commit
027307857e
|
@ -267,6 +267,9 @@ Build
|
||||||
regardless of whether tests are run globally or in the specific
|
regardless of whether tests are run globally or in the specific
|
||||||
contrib directories.
|
contrib directories.
|
||||||
|
|
||||||
|
3. LUCENE-1353: Javacc target in contrib/miscellaneous for
|
||||||
|
generating the precedence query parser.
|
||||||
|
|
||||||
Test Cases
|
Test Cases
|
||||||
|
|
||||||
1. LUCENE-1238: Fixed intermittent failures of TestTimeLimitedCollector.testTimeoutMultiThreaded.
|
1. LUCENE-1238: Fixed intermittent failures of TestTimeLimitedCollector.testTimeoutMultiThreaded.
|
||||||
|
|
|
@ -26,4 +26,18 @@
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<import file="../contrib-build.xml"/>
|
<import file="../contrib-build.xml"/>
|
||||||
|
|
||||||
|
<property name="javacc.path" location="src/java/org/apache/lucene/queryParser/precedence"/>
|
||||||
|
|
||||||
|
<target name="javacc" depends="javacc-check" description="generate precedence query parser from jj (requires javacc 3.2)">
|
||||||
|
<delete>
|
||||||
|
<fileset dir="${javacc.path}" includes="*.java">
|
||||||
|
<containsregexp expression="Generated.*By.*JavaCC"/>
|
||||||
|
</fileset>
|
||||||
|
</delete>
|
||||||
|
<invoke-javacc target="${javacc.path}/PrecedenceQueryParser.jj"
|
||||||
|
outputDir="${javacc.path}"
|
||||||
|
/>
|
||||||
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue