<delete-cache>

Purpose/Function

Remove the Trebuchet cache from the disk (delete the file). Requires a cache reference from the environment.

Attributes

NAME

TYPE

DEFAULT VALUE

DESCRIPTION

cache

ncsa.tools.trebuchet.core.cache.OperationCache

(required)

cache to delete

Elements

None.

ReturnValues

None.

NOTES

Examples

<ogrescript>
   ...
   <declare name="cache"/>
   <ls dir="file:/tmp/dir0">
   	<return-value assignedName="cache" defaultName="listCache"/>
   </ls>
   <print-cache cache="${cache}" stdout="true"/>
   <delete-cache cache="${cache}"/>
   ...	
</ogrescript>
  • No labels