Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 38908 invoked from network); 10 Jul 2008 13:31:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2008 13:31:37 -0000 Received: (qmail 71752 invoked by uid 500); 10 Jul 2008 13:31:34 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 71717 invoked by uid 500); 10 Jul 2008 13:31:34 -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 71706 invoked by uid 99); 10 Jul 2008 13:31:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 06:31:34 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [207.69.200.58] (HELO pop05.mail.atl.earthlink.net) (207.69.200.58) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 13:30:40 +0000 Received: from nc-71-49-176-136.dhcp.embarqhsd.net ([71.49.176.136] helo=flossware.homelinux.org) by pop05.mail.atl.earthlink.net with esmtp (Exim 3.36 #1) id 1KGwEd-00067D-00 for user@ant.apache.org; Thu, 10 Jul 2008 09:30:59 -0400 Received: from adminserver.flossware.com (adminserver.flossware.com [192.168.168.2]) by flossware.homelinux.org (Postfix) with ESMTP id EB65B1B8499 for ; Thu, 10 Jul 2008 09:30:58 -0400 (EDT) Date: Thu, 10 Jul 2008 09:30:58 -0400 (EDT) From: "Scot P. Floess" X-X-Sender: sfloess@adminserver.flossware.com To: Ant Users List Subject: Re: How to have Dynamic Propert in ant In-Reply-To: Message-ID: References: <18376782.post@talk.nabble.com> User-Agent: Alpine 1.10 (LRH 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org True, however, unless the timestamp is recomputed it won't matter... Meaning the timestamp will be the same for each use of the property containing the initially computed timestamp. On Thu, 10 Jul 2008, Andrew Clegg wrote: > Or use variables from ant-contrib... > > Andrew. > > 2008/7/10 Scot P. Floess : >> Properties are immutable in Ant. In your example, even if properties were >> mutable, the timestamp would not be recomputed - you'd have to re-execute >> the tstamp task. The only way you can have this recomputation is by using a >> second property as someone else has responded... >> >> On Wed, 9 Jul 2008, sukanya wrote: >> >>> >>> Hi, >>> >>> Here is the problem I am now facing: >>> >>> >>> >>> >>> >>> >>> >>> ${TSTAMP} >>> >>> ant.version: '${ant.version}' >>> ant.home: '${ant.home}' >>> java.version: '${java.version}' >>> ${TSTAMP} >>> >>> >>> >>> Here the time values are added to a file. >>> Where the file has the same time value twice. But i need to have different >>> time values with a single element and property. How property >>> values >>> can be changed dynamically? >>> >>> Appreciate your suggestion to solve this problem. >>> >>> Thanks, >>> Sukanya >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/How-to-have-Dynamic-Propert-in-ant-tp18376782p18376782.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 >>> >>> >> >> Scot P. Floess >> 27 Lake Royale >> Louisburg, NC 27549 >> >> 252-478-8087 (Home) >> 919-754-4592 (Work) >> >> Chief Architect JPlate http://sourceforge.net/projects/jplate >> Chief Architect JavaPIM http://sourceforge.net/projects/javapim >> >> Architect Keros http://sourceforge.net/projects/keros >> >> --------------------------------------------------------------------- >> 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 > > Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252-478-8087 (Home) 919-754-4592 (Work) Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim Architect Keros http://sourceforge.net/projects/keros --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org