Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 24598 invoked from network); 4 Feb 2008 21:28:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 21:28:24 -0000 Received: (qmail 5920 invoked by uid 500); 4 Feb 2008 21:28:13 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 5882 invoked by uid 500); 4 Feb 2008 21:28:13 -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 5871 invoked by uid 99); 4 Feb 2008 21:28:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 13:28:13 -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: domain of qazwart@gmail.com designates 209.85.128.185 as permitted sender) Received: from [209.85.128.185] (HELO fk-out-0910.google.com) (209.85.128.185) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 21:27:45 +0000 Received: by fk-out-0910.google.com with SMTP id 18so2431001fks.12 for ; Mon, 04 Feb 2008 13:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=5/+/S3n0n8e06vaxF648X52Q5Sh+zGk6tnMxsjQPJOQ=; b=vm/WHkH8iLS+UqSEPKgZu39VdmN6MJ3UK17Be+L2Ex7U9tGJq/oDRV3aDS54z7PnFLGD45owEreBmZt1alfMnKKVMjaiAtXQo5ZuBq/WtgKoqCZE8m8tjv52TVJFeiXBWN5Rszmfvxl0K4c5ubXMpnQoJk+b1LyV+b9tQ1/I++s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OUp5WJNxE7iXsPs/qfuWX4ihZ/Diu56+vdLyeSPCOIvn96wqZZw8f/j/j173y3RamLnGL25RSYWmx8ncr40dDvC524/o/5DyHkI1W9qCjiWVh8nrJhIJL/j46+qqIKhgAT+F5/VizvkV7dNkK/jNAn142uTfmhtBEMtmIGWGmOk= Received: by 10.82.148.7 with SMTP id v7mr13909423bud.10.1202160471955; Mon, 04 Feb 2008 13:27:51 -0800 (PST) Received: by 10.82.100.16 with HTTP; Mon, 4 Feb 2008 13:27:51 -0800 (PST) Message-ID: Date: Mon, 4 Feb 2008 16:27:51 -0500 From: "David Weintraub" To: "Ant Users List" Subject: Re: Using -buildfile without setting the basedir? In-Reply-To: <1D9CA740-2933-487F-93C8-D5FEEFE6DE91@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1D9CA740-2933-487F-93C8-D5FEEFE6DE91@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org basedir is set in the attribute in the build.xml file. Try setting it on the command line: $ ant -Dbasedir=$PWD -f /a/b/build.xml That *should* override the setting. On Feb 3, 2008 6:14 PM, Francisco Tolmasky wrote: > I'm trying to use a build file that is located in a different > directory by doing the following: > > ant -f a/b/thebuild.xml > > However, this has the side effect of changing my basedir to a/b/ as > well, which I don't want, > I just want to run ant in my current directory with the build file of > a different directory. Any > thoughts? > > Thanks, > > Francisco > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > -- -- David Weintraub qazwart@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org