On Tue, Jun 16, 2009 at 11:30 AM, Shawn
Castrianni wrote:
> I needed something similar. Both of our requirements requires the age of a
> file/directory to be determined. Therefore, the easiest approach I found was
> to write my own ANT condition. By writing a condition, you can use it inside
ttwoch, 17. Juni 2009 13:48
An: Ant Users List
Betreff: AW: delete directory structures older than X days
Hello again,
thanks for this.
Still I've got some question:
The preset value of _age seems to be some kind of magic number which is only
used
to check out if it has been set to another
t'
Betreff: RE: delete directory structures older than X days
I needed something similar. Both of our requirements requires the age of a
file/directory to be determined. Therefore, the easiest approach I found was
to write my own ANT condition. By writing a condition, you can use it inside
t-
Von: David Weintraub [mailto:qazw...@gmail.com]
Gesendet: Dienstag, 16. Juni 2009 20:13
An: Ant Users List
Betreff: Re: delete directory structures older than X days
I just ran a test:
And, this works great.
One of the things I notic
I just ran a test:
And, this works great.
One of the things I noticed is that the directory timestamp is updated when
a file in that directory is deleted. Wonder if your "checkdirs" parameter
might be affecting that.
Try copying the bui
ay, June 16, 2009 10:58 AM
To: user@ant.apache.org
Subject: delete directory structures older than X days
Hello,
I googled the mailing list archive and found a matching solution based on
javascript for ant 1.5.
I'm using ant 1.7.1 and tried this to delete NBS-folders (NightlyBuildSystem)
Hello,
I googled the mailing list archive and found a matching solution based on
javascript for ant 1.5.
I'm using ant 1.7.1 and tried this to delete NBS-folders (NightlyBuildSystem)
older than a specific amount of time.