Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 77456 invoked from network); 9 Feb 2007 15:26:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2007 15:26:00 -0000 Received: (qmail 53474 invoked by uid 500); 9 Feb 2007 15:26:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 53222 invoked by uid 500); 9 Feb 2007 15:26:02 -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 53211 invoked by uid 99); 9 Feb 2007 15:26:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 07:26:02 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of cknell@onebox.com designates 69.25.242.15 as permitted sender) Received: from [69.25.242.15] (HELO securemail.onebox.com) (69.25.242.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 07:25:53 -0800 Received: from outgoing.onebox.com (unverified [172.21.6.72]) by securemail.onebox.com (Rockliffe SMTPRA 7.0.3) with SMTP id for ; Fri, 9 Feb 2007 10:25:32 -0500 Message-ID: From: cknell@onebox.com To: user@ant.apache.org Subject: RE: Re: Adding a year to tstamp date Date: Fri, 09 Feb 2007 10:25:31 -0500 Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org Thanks, I just noticed the oversight of omitting the unit attribute. I solved the issue this way. -- Charles Knell cknell@onebox.com - email -----Original Message----- From: Joel Klein Sent: Fri, 09 Feb 2007 08:57:11 -0600 To: Ant Users List Subject: Re: Adding a year to tstamp date cknell@onebox.com wrote: > > > > > > But the offset isn't applied. When I ${current.fy} I get "2007". > > Can someone offer me a solution to this? > Looks like you can specify the units for offset, so try setting unit to "year". The example from tstamp docs: -- Joel Klein --------------------------------------------------------------------- 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