ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlton Brown <cblists...@gmail.com>
Subject Re: Suggestion for clean cache.
Date Thu, 17 Jun 2010 18:29:20 GMT
There's no documented way to do this... your best bet is to do 
ivy:settings to populate the ivy.cache.dir variable, then use 
appropriate Ant tasks to get the granularity you want.   But I don't 
know what is the risk of partially deleting the cache.

On 6/16/2010 12:58 PM, Shaikh Almas wrote:
> Hi,
>
> Can we have cache cleaning based on input parameter that specifies number of
> days or hours, based on which ivy will clean the cache?
>
> For e.g. if i give
>
> <ivy:cleancache numberOfDays="-10" />
>
> This would mean, i need to keep cached elements of last 10 days.
>
> Thanks,
> Almas
>
>    


Mime
View raw message