Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37BCD10320 for ; Wed, 22 Jan 2014 03:24:53 +0000 (UTC) Received: (qmail 31610 invoked by uid 500); 22 Jan 2014 03:24:52 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 31141 invoked by uid 500); 22 Jan 2014 03:24:47 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 31131 invoked by uid 99); 22 Jan 2014 03:24:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jan 2014 03:24:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of antoine@gmx.de designates 212.227.17.22 as permitted sender) Received: from [212.227.17.22] (HELO mout.gmx.net) (212.227.17.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jan 2014 03:24:39 +0000 Received: from 192.168.1.73 ([72.89.106.61]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MFMIO-1W944t0WRg-00ELbJ for ; Wed, 22 Jan 2014 04:24:19 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: Ant build from source instructions incorrect? From: Antoine Levy Lambert In-Reply-To: <82A2FF62-AF29-491A-8F7A-7633D4FE6CC8@gmail.com> Date: Tue, 21 Jan 2014 22:24:16 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4CD6BE96-A484-4ABF-A74A-E37527C53AC3@highwire.stanford.edu> <82A2FF62-AF29-491A-8F7A-7633D4FE6CC8@gmail.com> To: "Ant Users List" X-Mailer: Apple Mail (2.1283) X-Provags-ID: V03:K0:b/HJCoeMQU1gIAhpnOzJCJqutIFJ1L2skFet9II+Q6HF9SjHRkT mAxfz8qgfNaxj802vKMWCeCBBNVCXhq1tYUlPen67TjrgFW13qb43CBmgpxL+ma2GMyAH1Y AMJtJEg6Uk5OxEL1u09+gWiLaChqlnfwClQ1gdq4aHZ2IKl9K7fnilE4FQqG2Ko+W1Nw6EG m4ZSLP+55xHPskA2LErGw== X-Virus-Checked: Checked by ClamAV on apache.org Hello Michael, are you using build.sh ? or build.bat ? There are two junit jars which are in svn and live under lib/optional. = So even without running fetch.xml they should be around. I build releases of ant using a script called release.sh which is a = wrapper around build.sh and can give you some clues. Regards, Antoine On Jan 21, 2014, at 6:50 PM, Carlos Araya wrote: > Is that the only error you're getting? What does the build log say? >=20 > Sent from my iPad >=20 >> On Jan 21, 2014, at 2:52 PM, Michael Durket = wrote: >>=20 >> I'm attempting to build Ant 1.9.3 from the source distribution on = Redhat Linux 5 using Oracle Java 1.7.0. It seems to build correctly but = fails the post-build tests with this error message: >>=20 >> error: package org.junit does not exist. >>=20 >> =46rom my research, this seems to be a common issue in general with = Ant. >>=20 >> Here are the exact directions I followed (from this page = http://ant.apache.org/manual/install.html#buildingant): >>=20 >> "As of version 1.7.0 Ant has a hard dependency on JUnit. The = fetch.xml build script will download JUnit automatically, but if you = don't use this you must install it manually into lib/optional (download = it from JUnit.org) if you are using a source distribution of Ant." >>=20 >> Since I don't have an ant that works with fetch.xml, I went to = JUnit.org as indicated in the instructions and downloaded junit.jar and = copied the file to apache-ant-1.9.3/lib/optional. >>=20 >> Given that the instructions for building Ant are incorrect, could you = please post the correct instructions to your website so I could build = the current version of Ant please? >>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >> For additional commands, e-mail: user-help@ant.apache.org >>=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org