diff --git a/CHANGES.txt b/CHANGES.txt
index ad264c1a141..be01212d54c 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -818,6 +818,9 @@ Build
3. LUCENE-1529: Properly test "drop-in" replacement of jar with
backwards-compatibility tests. (Mike McCandless, Michael Busch)
+ 4. LUCENE-1851: Change 'javacc' and 'clean-javacc' targets to build
+ and clean contrib/surround files. (Luis Alves via Michael Busch)
+
Test Cases
1. LUCENE-1791: Enhancements to the QueryUtils and CheckHits utility
diff --git a/build.xml b/build.xml
index fae44b76e6e..5afe3aadf08 100644
--- a/build.xml
+++ b/build.xml
@@ -552,14 +552,18 @@
outputfile="${build.dir}/docs/grammars/QueryParser.html"
javacchome="${javacc.home}"
/>
-
+
+
@@ -571,6 +575,9 @@
+
+
+
@@ -580,13 +587,13 @@
-
+
-
+
+
+
+
+
diff --git a/contrib/surround/build.xml b/contrib/surround/build.xml
index df316783f42..37584dd6a04 100644
--- a/contrib/surround/build.xml
+++ b/contrib/surround/build.xml
@@ -25,9 +25,9 @@
-
+