Subant output - timestamp the output file

2009-09-29 Thread isaacsteele
If I have something like: ... Is there any way to make the "testOutput.xml" have a timestamped filename? Thanks! -- View this message in context: http://www.nabble.com/Subant-output---timestamp-the-output-file-tp25669356p25669356.html Sent from the Ant - Use

Reg:Zipping and deleting files on the basis of timestamp

2009-08-18 Thread S G
Hi,     I want to zip and then delete the selected files from the src folder.I am using following 2 targets.                

Re: Reg:Selection of files on the basis of timestamp

2009-08-17 Thread David Weintraub
On Mon, Aug 17, 2009 at 10:25 AM, S G wrote: > Hi, > I have a folder which has files of different extension. > I have to select files on the basis of timestamp. > For eg : 5 days old. > How to do this? > Thanks & Regards > Sulabh Have you looke

Reg:Selection of files on the basis of timestamp

2009-08-17 Thread S G
Hi,     I have a folder which has files of different extension.     I have to select files on the basis of timestamp. For eg : 5 days old. How to do this? Thanks & Regards Sulabh

Re: How to make exec not run by timestamp?

2008-12-30 Thread Scot P. Floess
om wrote: How can I make the exec task smart enough so that it won't do anything if the file generated by the task has already been created? For example, does nothing the second time. Not sure how it works, but maybe if the timestamp of destFile.txt is equal to or larger than srcFile.txt

Re: How to make exec not run by timestamp?

2008-12-30 Thread David Weintraub
t;... > > > > > > > > > > > On Mon, 29 Dec 2008, removeps-gene...@yahoo.com wrote: > >> How can I make the exec task smart enough so that it won't do anything if >> the file generated by the task has already been created

Re: How to make exec not run by timestamp?

2008-12-30 Thread Scot P. Floess
, removeps-gene...@yahoo.com wrote: How can I make the exec task smart enough so that it won't do anything if the file generated by the task has already been created? For example, does nothing the second time. Not sure how it works, but maybe if the timestamp of destFile.txt is equ

How to make exec not run by timestamp?

2008-12-29 Thread removeps-generic
How can I make the exec task smart enough so that it won't do anything if the file generated by the task has already been created? For example, does nothing the second time. Not sure how it works, but maybe if the timestamp of destFile.txt is equal to or larger than srcFile.txt

I need to See the timestamp on some file

2007-03-20 Thread manawwar
Hi While doing the build i need to see the timestamp on some file so that in future if somone like to see the timestamp of the build he simply see the file when it is done can anyone guide me how i approach for this.right now i am able to see the time when my build is running. I am writing the

AW: not able to add timestamp task in build.xml

2007-03-20 Thread Jan.Materne
Please keep on the list. > I am doing the following > > > > > > > > > But i need the timestamp in some file U get my point? Just echo out to file ... Jan - To unsubscribe, e-mail: [E

AW: not able to add timestamp task in build.xml

2007-03-20 Thread Jan.Materne
Have you tried the steps you got on the dev-list? Jan >-Ursprüngliche Nachricht- >Von: manawwar [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 20. März 2007 11:18 >An: user@ant.apache.org >Betreff: not able to add timestamp task in build.xml > > >Hi > I am

not able to add timestamp task in build.xml

2007-03-20 Thread manawwar
Hi I am not able to see the time of doing the build while adding the timestamp please guide me to come up this issue what else i have to do Manauwar -- View this message in context: http://www.nabble.com/not-able-to-add-timestamp-task-in-build.xml-tf3432755

Re: Property Task's timestamp

2006-05-08 Thread Jeffrey E Care
Not part of the "spec" per-se, but IIRC yes: writing out a properties file using the APIs in java.util.Properties will put a timestamp in the serialized output. Jeffrey E. (Jeff) Car

Re: Property Task's timestamp

2006-05-08 Thread Vinny
Jan >-Ursprüngliche Nachricht- >Von: Vinny [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 25. April 2006 18:07 >An: user@ant.apache.org >Betreff: Property Task's timestamp > >Is there anyway Ant to not put timestamps on the top of a >created/modified property

Re: AW: TimeStamp

2006-05-04 Thread Matt Benson
n > > >-Ursprüngliche Nachricht- > >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > >Gesendet: Donnerstag, 4. Mai 2006 07:20 > >An: Ant Users List > >Betreff: TimeStamp > > > > > >hi , > > > >can anyone tell me how can i

AW: TimeStamp

2006-05-03 Thread Jan.Materne
gt;Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 4. Mai 2006 07:20 >An: Ant Users List >Betreff: TimeStamp > > >hi , > >can anyone tell me how can i get the timestamp of a file in a >property..i am not getting the task for it. > > &g

TimeStamp

2006-05-03 Thread ankur1 . a
hi , can anyone tell me how can i get the timestamp of a file in a property..i am not getting the task for it. Ankur Agarwal Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Notice: The information contained in this e-mail message and/or attachments to

AW: Property Task's timestamp

2006-04-28 Thread Jan.Materne
Maybe with an empty comment Jan >-Ursprüngliche Nachricht- >Von: Vinny [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 25. April 2006 18:07 >An: user@ant.apache.org >Betreff: Property Task's timestamp > >Is there anyway Ant to not put timestamps on the t

Property Task's timestamp

2006-04-25 Thread Vinny
Is there anyway Ant to not put timestamps on the top of a created/modified property file via the Property Task? Thank You -- Ghetto Java: http://www.ghettojava.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

RE: How can I check an xml file timestamp and execute with a java in build file

2006-03-10 Thread Yagna Boorada
, March 10, 2006 1:11 PM To: user@ant.apache.org Subject: AW: How can I check an xml file timestamp and execute with a java in build file A fileset selects files. include/exclude uses name patterns for selecting special files. For more precise selection you could specify nested selectors [1]. For

AW: How can I check an xml file timestamp and execute with a java in build file

2006-03-09 Thread Jan.Materne
A fileset selects files. include/exclude uses name patterns for selecting special files. For more precise selection you could specify nested selectors [1]. For a simple timestamp check, you could use . If you use generated files (which content could be unchanged, but completetly new created

RE: How can I check an xml file timestamp and execute with a java in build file

2006-03-09 Thread Yagna Boorada
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 12:53 PM To: user@ant.apache.org Subject: AW: How can I check an xml file timestamp and execute with a java in build file >I would like to check the timestamp of each one of of the xml fi

AW: How can I check an xml file timestamp and execute with a java in build file

2006-03-09 Thread Jan.Materne
>I would like to check the timestamp of each one of of the >xml files and process only those. Those which are what? Try nested selectors in . Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

How can I check an xml file timestamp and execute with a java in build file

2006-03-09 Thread Yagna Boorada
Hi I am currently using a java class to parse a set of xml files. I would like to check the timestamp of each one of of the xml files and process only those. It would be a great help for me if I get one. Yagna If your mind can conceive it and heart can believe it then you

RE: Copy task and timestamp

2005-08-02 Thread Ramnish Kalsi
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 August 2005 14:23 To: user@ant.apache.org Subject: Copy task and timestamp Hi All, While you use Copy task it will change the timestamp of that file, i.e. if "old.txt" file was created on July 12, 2000 when you copy this file on Aug 1

Re: Copy task and timestamp

2005-08-02 Thread Nicolas Vervelle
[EMAIL PROTECTED] wrote: Hi All, While you use Copy task it will change the timestamp of that file, i.e. if "old.txt" file was created on July 12, 2000 when you copy this file on Aug 12, 2005 to certain location Copy task will change its timestamp(or modified date) to Au

Copy task and timestamp

2005-08-02 Thread pritesh.saharey
Hi All, While you use Copy task it will change the timestamp of that file, i.e. if "old.txt" file was created on July 12, 2000 when you copy this file on Aug 12, 2005 to certain location Copy task will change its timestamp(or modified date) to Aug 12, 2005, hope people are

Re: fixing crlf without changing timestamp

2005-03-05 Thread Brian Colfer
What version control system are you using? Many will do this automatically... I can only think of build avoidence as the reason to fake out the time stamp... Do you really want to do this? On Thu, 24 Feb 2005 16:02:10 -0800, michael sorens <[EMAIL PROTECTED]> wrote: > Is it possible to run wit

Re: fixing crlf without changing timestamp

2005-03-03 Thread Martijn Kruithof
Matt Benson wrote: I have applied this patch to CVS HEAD and plan to put it in for Ant 1.6.3 . Would've been even better with docs and tests, ;) Thanks, Matt --- Yuji Yamano <[EMAIL PROTECTED]> wrote: "michael sorens" <[EMAIL PROTECTED]> writes: Is it possible to run without changing a

Re: fixing crlf without changing timestamp

2005-03-03 Thread Matt Benson
I have applied this patch to CVS HEAD and plan to put it in for Ant 1.6.3 . Would've been even better with docs and tests, ;) Thanks, Matt --- Yuji Yamano <[EMAIL PROTECTED]> wrote: > "michael sorens" <[EMAIL PROTECTED]> writes: > > > Is it possible to run without changing a > file's > > modi

Re: fixing crlf without changing timestamp

2005-03-03 Thread michael sorens
I'm not familiar with applying ant patches, plus I don't have a strong need for the fixcrlf right now, so I'm going to have to postpone any trials for the time being... On Fri, 04 Mar 2005 00:35:58 +0900 (JST), Yuji Yamano <[EMAIL PROTECTED]> wrote: "michael sorens" <[EMAIL PROTECTED]> writes: I

Re: fixing crlf without changing timestamp

2005-03-03 Thread Yuji Yamano
"michael sorens" <[EMAIL PROTECTED]> writes: > Is it possible to run without changing a file's > modification time? Or perhaps a way to use to restore the > original modification time after the (on a group of > files)? I actually want to run fixcrlf in conjunction with copy > (which has the pr

Re: fixing crlf without changing timestamp

2005-02-25 Thread Stefan Bodewig
On Thu, 24 Feb 2005, michael sorens <[EMAIL PROTECTED]> wrote: > Is it possible to run without changing a file's > modification time? No, there is an enhancement request for this in bugzilla as well as one that turns into a filterreader usable within (exactly your usecase). Both have patches,

fixing crlf without changing timestamp

2005-02-24 Thread michael sorens
Is it possible to run without changing a file's modification time? Or perhaps a way to use to restore the original modification time after the (on a group of files)? I actually want to run fixcrlf in conjunction with copy (which has the preservelastmodified attribute to retain the modificati

unjar/unzip timestamp question

2004-12-31 Thread EJ Ciramella
When I extract a jar/zip file that was created on a windows machine on a unix machine, the timestamps are ignored and the time of extraction is used instead. Is there any way around this? - To unsubscribe, e-mail: [EMAIL PROTEC

RE: and update timestamp even if overwrite="false"

2004-07-31 Thread Jacob Kjome
Quoting Dominique Devienne <[EMAIL PROTECTED]>: > > From: Jacob Kjome [mailto:[EMAIL PROTECTED] > > > > I have noticed that the and tasks update the file > timestamp > > even > > if overwrite="false", making it somewhat hard to determine whether it > i

RE: and update timestamp even if overwrite="false"

2004-07-31 Thread Jacob Kjome
At 10:49 PM 7/30/2004 +, you wrote: Quoting Dominique Devienne <[EMAIL PROTECTED]>: > > From: Jacob Kjome [mailto:[EMAIL PROTECTED] > > > > I have noticed that the and tasks update the file > timestamp > > even > > if overwrite="false", mak

how to timestamp a copied file using ANT

2004-03-22 Thread Shailesh Sharma
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

Re: File Timestamp Comparision

2003-08-14 Thread Antoine Levy-Lambert
Hi, I do not know a generic way. Some tasks do this "spontaneously" such as copy. excerpt from doc of copy : Copies a file or FileSet to a new file or directory. By default, files are only copied if the source file is newer than the destination file, or when the destination file does not exist. H

cvs & timestamp

2003-08-04 Thread Rebhan, Gilbert
Hi, Problem = the timestamp of files that are checked out of a cvs repository are always altered to the actual time/date. AFAIK, there's no way with cvs to change that behaviour. But maybe there's a specific Ant Task for that ?! I want to have the choice whether to keep the original