From 0aa45a08bb7242f80908d0e262b0de3c6ab71eae Mon Sep 17 00:00:00 2001
From: Stefan Bodewig Known Problems
+
+ + Ant 1.7.0 doesn't build from sources without + JUnit +
+When building Ant 1.7.0 from the source release without + junit.jar the build fails with the message "We cannot build + the test jar unless JUnit is present".
+With Ant 1.7.0 we've started to add ant-testutil.jar as + part of the distribution and this causes a hard dependency on + JUnit - at least in version 1.7.0. Unfortunately the + installation docs don't say so.
+There are two workarounds:
+
<chmod> or <exec> doesn't work in Ant
1.3 on Unix
diff --git a/xdocs/faq.xml b/xdocs/faq.xml
index 78e19cd44..c89266ca1 100644
--- a/xdocs/faq.xml
+++ b/xdocs/faq.xml
@@ -1329,6 +1329,35 @@ public void buildFinished(BuildEvent e) {
When building Ant 1.7.0 from the source release without
+ junit.jar the build fails with the message "We cannot build
+ the test jar unless JUnit is present". With Ant 1.7.0 we've started to add ant-testutil.jar as
+ part of the distribution and this causes a hard dependency on
+ JUnit - at least in version 1.7.0. Unfortunately the
+ installation docs don't say so. There are two workarounds:
+
+
+
+