diff --git a/bootstrap.bat b/bootstrap.bat
index 1a40629a76..372d4615ce 100755
--- a/bootstrap.bat
+++ b/bootstrap.bat
@@ -52,7 +52,7 @@ echo.
echo ... Building Ant Distribution
SET CLASSPATH=%LOCALCLASSPATH%;build\classes
-call build.bat
+call build.bat %1 %2 %3 %4 %5 %6 %7 %8
echo.
echo ... Done Bootstrapping Ant Distribution
diff --git a/bootstrap.sh b/bootstrap.sh
index fce2686e00..c263757c58 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -86,6 +86,6 @@ if $cygwin; then
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
fi
-${JAVA_HOME}/bin/java -classpath ${CLASSPATH} org.apache.tools.ant.Main
+${JAVA_HOME}/bin/java -classpath ${CLASSPATH} org.apache.tools.ant.Main $*
echo ... Done Bootstrapping Ant Distribution
diff --git a/build.bat b/build.bat
index 52018c702b..fc74e36274 100755
--- a/build.bat
+++ b/build.bat
@@ -2,7 +2,7 @@
if exist build\classes\org\apache\tools\ant\Main.class goto doBuild
-bootstrap.bat
+bootstrap.bat %1 %2 %3 %4 %5 %6 %7 %8
:doBuild
diff --git a/build.sh b/build.sh
index d151c1686f..8a2c7b52d2 100755
--- a/build.sh
+++ b/build.sh
@@ -1,7 +1,7 @@
#!/bin/sh
if test ! -f build\classes\org\apache\tools\ant\Main.class ; then
- ./bootstrap.sh
+ ./bootstrap.sh $*
fi
diff --git a/build.xml b/build.xml
index e57b25397d..fde600a2c1 100644
--- a/build.xml
+++ b/build.xml
@@ -21,10 +21,10 @@
Set the properties for source directories
===================================================================
-->
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
+
@@ -76,9 +70,11 @@
-
-
-
+
@@ -89,17 +85,38 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
@@ -310,7 +327,8 @@
-
+
+
@@ -335,12 +353,92 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-