diff --git a/CHANGES.txt b/CHANGES.txt
index e769cbc2ae5..38204cdce95 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -249,6 +249,9 @@ Build
3. LUCENE-900: "ant test" now enables Java assertions (in Luecene packages).
(Doron Cohen)
+ 4. LUCENE-894: Add custom build file for binary distributions that includes
+ targets to build the demos. (Chris Hostetter, Michael Busch)
+
======================= Release 2.1.0 2007-02-14 =======================
Changes in runtime behavior
diff --git a/build.xml b/build.xml
index ba9fd352dfd..f48fd4d6699 100644
--- a/build.xml
+++ b/build.xml
@@ -6,7 +6,7 @@
-
+
@@ -54,7 +54,8 @@
includes="${final.name}.jar,${demo.war.name}.war,${demo.name}.jar,docs/,contrib/*/*.jar"
/>
@@ -159,7 +160,13 @@
-
+
+
+
+
+
+
+
@@ -178,6 +185,7 @@
+
@@ -198,6 +206,7 @@
+
diff --git a/src/demo/demo-build.template b/src/demo/demo-build.template
new file mode 100644
index 00000000000..d46576926a7
--- /dev/null
+++ b/src/demo/demo-build.template
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ##################################################################
+ ${common.dir}/${core.name}.jar not found.
+ ##################################################################
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+