Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 89733 invoked from network); 21 Aug 2002 18:01:35 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Aug 2002 18:01:34 -0000 Received: (qmail 18119 invoked by uid 97); 21 Aug 2002 18:01:32 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 18044 invoked by uid 97); 21 Aug 2002 18:01:32 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 17981 invoked by uid 98); 21 Aug 2002 18:01:31 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20020821180055.74592.qmail@web13407.mail.yahoo.com> Date: Wed, 21 Aug 2002 11:00:55 -0700 (PDT) From: Diane Holt Subject: Re: directory name? To: Ant Users List In-Reply-To: <030f01c24939$f7393440$1464a8c0@sv.embracenetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --- Ritesh Trivedi wrote: > You can use ${basedir} property anywhere in the Ant build file which can > be set to the current directory since its one of the attributes in the > project element. Actually ${basedir} doesn't necessarily represent the current working directory, since the build file can be run from a directory other than ${basedir} (eg., via the -find flag), or 'basedir' may be set to some directory other than where the build file actually lives. Use ${user.dir} to get the current working directory. Use to get the last element in the path. Diane ===== (holtdl@yahoo.com) __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: For additional commands, e-mail: