Re: AW: use fileinfo in ant

2004-12-07 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: [SNIP] > I first need to delete all the files in the > directories, then I delete > all the empty folders, here is my code: If you care to go beyond basic Ant, you could use ant-contrib's : (having tied the "ac" ns to the antcontrib antlib) T

Re: AW: use fileinfo in ant

2004-12-07 Thread Ivan Ivanov
Try HTH Ivan --- [EMAIL PROTECTED] wrote: > > Jan, > > Thank you for your help. I was able to solve my > problem :) > > A question remains: My solution seems more > complicated than I would > epect it to be. For instance I want to delete some > directories if they > are older than 7 days. My

AW: use fileinfo in ant

2004-12-07 Thread lists
Jan, Thank you for your help. I was able to solve my problem :) A question remains: My solution seems more complicated than I would epect it to be. For instance I want to delete some directories if they are older than 7 days. My solution looks as follows: I first need to delete all the files in

AW: use fileinfo in ant

2004-12-07 Thread Jan . Materne
Dezember 2004 11:48 > An: [EMAIL PROTECTED] > Betreff: use fileinfo in ant > > > Hello all, > > I would like to process (i.e. delete) files depending on > their creation > or modification date or size (testing if the file is empty). > > Doe Ant provide tools f

use fileinfo in ant

2004-12-07 Thread lists
Hello all, I would like to process (i.e. delete) files depending on their creation or modification date or size (testing if the file is empty). Doe Ant provide tools for that? Do I need to write my own java-task? The problem seems to be so simple that I have the impression many people might h