How can I delete files depending on their age?

Erik Hatcher

Unfortunately at the moment you can't implement this without resorting to using <exec> to a command-line script or some other roundabout way. It appears that in Ant 1.5 that filesets will actually be extensible (and other datatypes) so that a fileset that implemented this kind of date checking could be developed and plugged in easily to all tasks taking a FileSet.

Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact