Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 88928 invoked from network); 12 Jan 2007 05:23:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jan 2007 05:23:32 -0000 Received: (qmail 11295 invoked by uid 500); 12 Jan 2007 05:23:35 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 10938 invoked by uid 500); 12 Jan 2007 05:23:33 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 10927 invoked by uid 500); 12 Jan 2007 05:23:33 -0000 Received: (qmail 10924 invoked by uid 99); 12 Jan 2007 05:23:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 21:23:33 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 21:23:26 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 5EEBD1A981A; Thu, 11 Jan 2007 21:22:25 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r495488 - in /ant/core/trunk: docs/faq.html xdocs/faq.xml Date: Fri, 12 Jan 2007 05:22:25 -0000 To: ant-cvs@apache.org From: bodewig@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070112052225.5EEBD1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Thu Jan 11 21:22:23 2007 New Revision: 495488 URL: http://svn.apache.org/viewvc?view=rev&rev=495488 Log: junit.jar is required to build 1.7.0 from sources Modified: ant/core/trunk/docs/faq.html ant/core/trunk/xdocs/faq.xml Modified: ant/core/trunk/docs/faq.html URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/faq.html?view=diff&rev=495488&r1=495487&r2=495488 ============================================================================== --- ant/core/trunk/docs/faq.html (original) +++ ant/core/trunk/docs/faq.html Thu Jan 11 21:22:23 2007 @@ -343,6 +343,10 @@

Known Problems

    +
  • + Ant 1.7.0 doesn't build from sources without + JUnit +
  • <chmod> or <exec> doesn't work in Ant 1.3 on Unix @@ -1623,6 +1627,27 @@ files that your project does, since it will give the correct results for properties that were specified on the Ant command line.

    + + 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:

    +
      + +
    1. Add junit.jar to your CLASSPATH when building Ant.
    2. + +
    3. Change Ant's buildfile and remove test-jar from the + depends list of the dist-lite target.
    4. + +
    +

    <chmod> or <exec> doesn't work in Ant 1.3 on Unix Modified: ant/core/trunk/xdocs/faq.xml URL: http://svn.apache.org/viewvc/ant/core/trunk/xdocs/faq.xml?view=diff&rev=495488&r1=495487&r2=495488 ============================================================================== --- ant/core/trunk/xdocs/faq.xml (original) +++ ant/core/trunk/xdocs/faq.xml Thu Jan 11 21:22:23 2007 @@ -1329,6 +1329,35 @@ + + 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:

    + +
      + +
    1. Add junit.jar to your CLASSPATH when building Ant.
    2. + +
    3. Change Ant's buildfile and remove test-jar from the + depends list of the dist-lite target.
    4. + +
    + + + + <chmod> or <exec> doesn't work in Ant 1.3 on Unix --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org