From d4e406ad2299394c0b49563487385f2847700bde Mon Sep 17 00:00:00 2001 From: Doron Cohen Date: Tue, 13 Mar 2007 20:50:56 +0000 Subject: [PATCH] LUCENE-814: javacc build targets now fix line-end-style of generated files, and deleting all javacc generated files before calling javacc. git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@517863 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 4 ++++ build.xml | 15 +++++++++------ common-build.xml | 3 +++ .../lucene/analysis/standard/ParseException.java | 3 +++ 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index a78dcc89fc8..89135fdba3f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -66,6 +66,10 @@ Bug fixes is consumed. Now a ParseException is thrown if a query contains too many closing parentheses. (Andreas Neumann via Michael Busch) + 9. LUCENE-814: javacc build targets now fix line-end-style of generated files. + Now also deleting all javacc generated files before calling javacc. + (Steven Parkes, Doron Cohen) + New features 1. LUCENE-759: Added two n-gram-producing TokenFilters. diff --git a/build.xml b/build.xml index e62c6d6fdbb..c0845540a93 100644 --- a/build.xml +++ b/build.xml @@ -287,12 +287,15 @@ - - - - - - + + + + + + + + + diff --git a/common-build.xml b/common-build.xml index 4616eb727b0..8e6032e06ab 100644 --- a/common-build.xml +++ b/common-build.xml @@ -307,6 +307,9 @@ debuglookahead="${javacc.debug.lookahead}" javacchome="${javacc.home}" /> + + + diff --git a/src/java/org/apache/lucene/analysis/standard/ParseException.java b/src/java/org/apache/lucene/analysis/standard/ParseException.java index 8fa1f391f3d..5165cb19e02 100644 --- a/src/java/org/apache/lucene/analysis/standard/ParseException.java +++ b/src/java/org/apache/lucene/analysis/standard/ParseException.java @@ -1,6 +1,9 @@ /* Generated By:JavaCC: Do not edit this line. ParseException.java Version 0.7pre6 */ package org.apache.lucene.analysis.standard; +/* Note: This file was also manually modified. + * Regenerating it by JavaCC might undo these changes!. */ + /** * This exception is thrown when parse errors are encountered. * You can explicitly create objects of this exception type by