From user-return-41520-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Mar 02 08:58:51 2004 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 53733 invoked from network); 2 Mar 2004 08:58:51 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Mar 2004 08:58:51 -0000 Received: (qmail 26826 invoked by uid 500); 2 Mar 2004 08:58:18 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 26731 invoked by uid 500); 2 Mar 2004 08:58:18 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 26714 invoked from network); 2 Mar 2004 08:58:17 -0000 Received: from unknown (HELO mail.eris.qinetiq.com) (128.98.1.1) by daedalus.apache.org with SMTP; 2 Mar 2004 08:58:17 -0000 Received: (qmail 14376 invoked from network); 2 Mar 2004 09:10:28 -0000 Received: from mailhost.eris.qinetiq.com (HELO mailhost.eris.dera.gov.uk) (qmailr@128.98.2.2) by ns0.eris.qinetiq.com with SMTP; 2 Mar 2004 09:10:28 -0000 Received: (qmail 5627 invoked from network); 2 Mar 2004 08:56:40 -0000 Received: from unknown (HELO ?128.98.12.105?) (128.98.12.105) by mailhost.eris.qinetiq.com with SMTP; 2 Mar 2004 08:56:40 -0000 Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: <404369B0.9040903@antbuild.com> References: <05010834-6B90-11D8-B48E-000A95A79334@eris.qinetiq.com> <404369B0.9040903@antbuild.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Hugh Field-Richards Subject: Re: Ant 1.6.1 Build fail on Mac OX X 10.3.2 (G5) Date: Tue, 2 Mar 2004 08:58:34 +0000 To: "Ant Users List" X-Mailer: Apple Mail (2.612) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Much better - thanks very much Hugh F-R Dr Hugh S. Field-Richards QinetiQ, St Andrew's Road, Malvern, Worcs, WR14 3PS, UK Tel: ++1684 895075 Fax: ++1684 896113 Email: h.field-richards@eris.qinetiq.com The views expressed above area are entirely those of the writer and do not represent the views, policy or understanding of any other person or official body. On 1 Mar 2004, at 16:49, Antoine L=E9vy-Lambert wrote: > Try : > ./bootstrap.sh > ./build.sh install-lite > > you are probably hit by remnants of older versions of ant in the=20 > bootstrap dir. > > Cheers, > > Antoine > > Hugh Field-Richards wrote: > >> Hi >> >> I am upgrading from 1.5.3 and am having a few problems. I get the >> following failure when I try to build the 1.6.1 source on a Dual G5 >> running OS X 10.3.2. >> >> apache-ant-1.6.1 > ./build.sh install-lite >> ... Bootstrapping Ant Distribution >> ... Compiling Ant Classes >> Note: Some input files use or override a deprecated API. >> Note: Recompile with -deprecation for details. >> ... Copying Required Files >> ... Building Ant Distribution >> Buildfile: build.xml >> >> bootstrap: >> >> prepare: >> >> check_for_optional_packages: >> >> build: >> Created dir: /Library/Packages/apache-ant-1.6.1/build/lib >> >> BUILD FAILED >> file:/Library/Packages/apache-ant-1.6.1/build.xml:602: The =20= >> data type doesn't support the "unless" attribute. >> >> Total time: 2 seconds >> ... Failed Building Ant Distribution ! >> Bootstrap FAILED >> apache-ant-1.6.1 > >> >> This looks as though it s using an old ant version, but the old 1.5.3=20= >> ant is no longer >> in any path. I also tried using the binary distribution but got >> >> java.lang.InstantiationException: org.apache.tools.ant.Main >> at java.lang.Class.newInstance0(Class.java:293) >> at java.lang.Class.newInstance(Class.java:261) >> at = org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) >> at = org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) >> >> (This also happened on a Linux box). The JAVA_HOME, ANT_HOME,=20 >> CLASSPATH >> and PATH are all seem to be set correctly as far as I can tell - it=20= >> certainly was ok for 1.5.3. >> The problems certainly look like paths not being set up correctly,=20 >> but I am at loss >> to see which. >> >> Any help here would be appreciated. >> >> TIA >> >> Hugh F-R >> >> >> >> >> Dr Hugh S. Field-Richards >> QinetiQ, St Andrew's Road, Malvern, Worcs, WR14 3PS, UK >> Tel: ++1684 895075 Fax: ++1684 896113 >> Email: h.field-richards@eris.qinetiq.com >> >> The views expressed above area are entirely those of the writer and >> do not represent the views, policy or understanding of any other >> person or official body. >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org