From user-return-69031-apmail-ant-user-archive=ant.apache.org@ant.apache.org Fri Oct 02 14:31:55 2009 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 53553 invoked from network); 2 Oct 2009 14:31:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Oct 2009 14:31:55 -0000 Received: (qmail 25588 invoked by uid 500); 2 Oct 2009 14:31:54 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 25510 invoked by uid 500); 2 Oct 2009 14:31:54 -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 25500 invoked by uid 99); 2 Oct 2009 14:31:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 14:31:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of qazwart@gmail.com designates 209.85.216.201 as permitted sender) Received: from [209.85.216.201] (HELO mail-px0-f201.google.com) (209.85.216.201) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 14:31:43 +0000 Received: by pxi39 with SMTP id 39so1182507pxi.10 for ; Fri, 02 Oct 2009 07:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=9iVR0CLxm5A3YsMHB7SAvC7m8717o/TsbR+vZkMT9Tc=; b=tT2FDhH2Y60QhDHyAVE//ulMiwW2eJdJNBmBosghyJvm9QLhdZDzkoiP1IkNl7xHt7 Ccq/46DbCAQDqbN8phRMZbI94/YvpugXYh97cLHaiaxoc+298p9K1LKVzOjtK0aB37pq bdB1Q7vC5/BBxSUa/V8ke+PRXNYh8qhYHgAcQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=xPSBWYQlypTwE6zEeU96ZRoZy3h4ngV+UbWWoF/4ffvMrFsrZEzkK91PCMIQoEAO+w rCTw1yUG1sKyUOk6BWUaGHI1B7a8FM3WCdJw32T+NLykZZ9xZRyJTSp/5nsJmvYeV5OW nBe/ZLrOWdUlvYtkzox+oE8JLYGkGW8dzJMRQ= Received: by 10.115.80.15 with SMTP id h15mr3768258wal.186.1254493882183; Fri, 02 Oct 2009 07:31:22 -0700 (PDT) Received: from ?192.168.1.18? (pool-71-187-89-205.nwrknj.east.verizon.net [71.187.89.205]) by mx.google.com with ESMTPS id 22sm733032pxi.14.2009.10.02.07.31.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 07:31:20 -0700 (PDT) References: <25704095.post@talk.nabble.com> Message-Id: From: David Weintraub To: Ant Users List In-Reply-To: <25704095.post@talk.nabble.com> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPod Mail (7C145) Mime-Version: 1.0 (iPod Mail 7C145) Subject: Re: properties echo with absolute values Date: Fri, 2 Oct 2009 10:31:01 -0400 Cc: "user@ant.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org A property is just a string. It may or may not be a file name. You can try the task to see if that will put the full path to a file. This type of task isn't all that simple and requires some assumptions about the OS. I always prepend file and directory names in my ant script with ${dirname}. -- David Weintraub David@Weintraub.name Sent from my iPhone while riding in my Ferrari. (Jealous?) On Oct 1, 2009, at 2:18 PM, Raja Nagendra Kumar wrote: > > How to echo the absolution location of a property.. > > say > > should print the abosolute path of the key store file even if the > value > stored is ./build/tejasoft/keystore.ks etc. > > Regards, > Raja Nagendra Kumar, > C.T.O > www.tejasoft.com > -- > View this message in context: http://www.nabble.com/properties-echo-with-absolute-values-tp25704095p25704095.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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