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
Hi,
I want to zip and then delete the selected files from the src folder.I am
using following 2 targets.
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
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
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
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
, 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 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
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
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
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
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
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
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
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
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
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
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
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
, 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
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
-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
>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
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
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
[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
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
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
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
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
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
"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
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,
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
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
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
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
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
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
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
40 matches
Mail list logo