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


Reply via email to