Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 9612 invoked from network); 1 Dec 2008 12:24:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 12:24:12 -0000 Received: (qmail 61967 invoked by uid 500); 1 Dec 2008 12:24:20 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 61935 invoked by uid 500); 1 Dec 2008 12:24:20 -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 61924 invoked by uid 99); 1 Dec 2008 12:24:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 04:24:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.201.183.194] (HELO sscd0003.dmz.huk.de) (193.201.183.194) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 12:22:53 +0000 Received: from sscd0028.dmz.huk.de ([10.148.152.146]) by sscd0003.dmz.huk.de with Microsoft SMTPSVC(6.0.3790.3959); Mon, 1 Dec 2008 13:23:37 +0100 Received: by sscd0028.dmz.huk.de (Postfix, from userid 8) id 74390278E83; Mon, 1 Dec 2008 13:19:25 +0100 (CET) Received: from sscd0003.dmz.huk.de (sscd0003.dmz.huk.de [10.148.152.133]) by sscd0028.dmz.huk.de (Postfix) with ESMTP id 4DDFF278E82 for ; Mon, 1 Dec 2008 13:19:25 +0100 (CET) Received: from SMX00002.lan.huk-coburg.de (unverified) by sscd0003.dmz.huk.de (HUK-COBURG Mailrelay2) with ESMTP id for ; Mon, 1 Dec 2008 13:23:37 +0100 Received: from VMX00100.lan.huk-coburg.de ([10.130.66.152]) by SMX00002.lan.huk-coburg.de ([10.131.34.183]) with mapi; Mon, 1 Dec 2008 13:23:37 +0100 From: "Rebhan, Gilbert" To: 'Ant Users List' Date: Mon, 1 Dec 2008 13:23:37 +0100 Subject: RE: ANT failing from command line Thread-Topic: ANT failing from command line Thread-Index: AclTqNVozHlXvEApTdKi/MTK6gRRcgABflOg Message-ID: References: <3360D96DC965E646A7801B794FEAEED805009E3A@LONEXCH310.corp.kbr.com> In-Reply-To: <3360D96DC965E646A7801B794FEAEED805009E3A@LONEXCH310.corp.kbr.com> Accept-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE MIME-Version: 1.0 Content-Language: de-DE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 01 Dec 2008 12:23:37.0741 (UTC) FILETIME=[A317FBD0:01C953AF] X-Virus-Checked: Checked by ClamAV on apache.org -----Original Message----- From: Ammar Khalid [mailto:Ammar.Khalid@kbr.com] Sent: Monday, December 01, 2008 12:35 PM To: user@ant.apache.org Subject: ANT failing from command line /* I have written an ANT script and tested in my eclipse environment and it works fine from within eclipse environment. When I run the script using command line command: ... On checking the web, I saw that this maybe due to older version of ANT such as 1.6.2. But I have ANT 1.7.1, however when I run the command: ant -version, it shows the following: */ Eclipse ships with its own builtin Ant version. As your ${ant.version} says 1.6.2, i assume you're using Eclipse version 3.2, right ? To make eclipse use another ant version, you have to change the Ant Home En= tries via Window | Preferences | Ant | Runtime | Ant Home Entries Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org