diff --git a/build.xml b/build.xml
index 9cd70f625d7..6a77fa472ec 100644
--- a/build.xml
+++ b/build.xml
@@ -41,6 +41,9 @@
+
+
+
@@ -65,7 +68,8 @@
description="Prints out instructions">
-
+
+
@@ -141,7 +145,7 @@
bottom="Copyright © ${year} The Apache Software Foundation"
>
-
+
@@ -188,7 +192,7 @@
-
+
@@ -259,7 +263,7 @@
description="Creates the demo WAR file."
depends="compile">
-
@@ -270,11 +274,11 @@
-
+
-
@@ -283,15 +287,15 @@
description="Creates the binary distribution."
depends="compile">
-
-
+
@@ -302,10 +306,10 @@
-
+ depends="example">
+
@@ -314,22 +318,36 @@
-
+ depends="dist, example, javadoc">
+
+
+ prefix="${fullnamever}"
+ includes="*.txt *.xml lib/** src/** example/**"
+ excludes="**/data/ **/logs/ **/classes/" />
+ prefix="${fullnamever}"
+ includes="dist/*.jar dist/*.war" />
+ prefix="${fullnamever}/docs/api/" />
+
+
+
+
+
+
+
+ depends="test, package">