Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 94038 invoked from network); 23 Mar 2004 15:07:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Mar 2004 15:07:07 -0000 Received: (qmail 3563 invoked by uid 500); 23 Mar 2004 15:06:52 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 3537 invoked by uid 500); 23 Mar 2004 15:06:52 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 3521 invoked from network); 23 Mar 2004 15:06:51 -0000 Received: from unknown (HELO besec550.swift.com) (195.99.94.5) by daedalus.apache.org with SMTP; 23 Mar 2004 15:06:51 -0000 Received: by besec550.swift.com with ESMTP id i2NF4isr029767 for ; Tue, 23 Mar 2004 15:04:44 GMT Date: Tue, 23 Mar 2004 16:06:49 +0100 From: RADEMAKERS Tanguy Subject: Re: how to timestamp a copied file using ANT In-reply-to: <20040323150149.34840.qmail@web20310.mail.yahoo.com> To: Ant Users List Message-id: <40605289.2050007@swift.com> Organization: S.W.I.F.T. sc MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 References: <20040323150149.34840.qmail@web20310.mail.yahoo.com> X-MASF: 0.00% X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Shailesh, Do you want to add a timestamp to the file names, or do you want to change the last modified property of the files? /t Shailesh Sharma wrote: >Honestly - I have no clue what you are suggesting. > >All i want is this: > >I have 2 files (or more) in a folder called say "from" and when iam copying these 2 file into a folder called say "to" ....i wanted to add timestamp to the copied files. > >any simple and easy way in ANT ??? > > > >Rob van Oostrum wrote: >you'll have to be more specific about what it is you want then ... > > > > > >if you're talking about a collection of files you'll want to look at type="regexp" /> and map work the ${timestamp} into the to-mapping somehow >.... > > > >>-----Original Message----- >>From: Shailesh Sharma [mailto:shailesh_scea@yahoo.com] >>Sent: Monday, March 22, 2004 4:39 PM >>To: Ant Users List >>Subject: RE: how to timestamp a copied file using ANT >> >> >>I have looked at the but iam not been able to figure >>out ....how to use in my case. >> >>As iam doing a copy of all the files from a directory to >>another directory ....am confused in adding a TIMESTAMP. >> >>any ideas ? >> >> >>Rob van Oostrum wrote: >>look at and append the property value to the target filename ... >> >> >> >>>-----Original Message----- >>>From: Shailesh Sharma [mailto:shailesh_scea@yahoo.com] >>>Sent: Monday, March 22, 2004 4:08 PM >>>To: Ant Users List >>>Subject: how to timestamp a copied file using ANT >>> >>> >>> >>>Hi, >>> >>>Iam copying a file from one directory to another after my >>>build is about to completed. >>> >>> >>> >>> >>> >>>----doing something here...... >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>But apart from doing the copy, i also wanted to add a >>>timestamp to the copied file ............. >>> >>>Does somebody know how to do this....Please advise. >>> >>> >>> >>>Thanks, shailesh >>> >>> >>>Do you Yahoo!? >>>Yahoo! Finance Tax Center - File online. File on time. >>> >>> >>> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>For additional commands, e-mail: user-help@ant.apache.org >> >>Do you Yahoo!? >>Yahoo! Finance Tax Center - File online. File on time. >> >> >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > >Do you Yahoo!? >Yahoo! Finance Tax Center - File online. File on time. > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org