# cachefileset

Constructs an ant fileset consisting of artifacts in ivy cache for a configuration (since 1.2).
This is a post resolve task, with all the behaviour and attributes common to all post resolve tasks. Note that this task
does not rely on retrieve, because built fileset is made of artifacts direcly in ivy cache.
Please prefer the use of retrieve + standard ant path creation, which make your build
more independent from ivy (once artifacts are properly retrieved, ivy is not required any more).
Built fileset is registered in ant with a given id, and can thus be used like any other ant fileset using
refid.

Attribute | Description | Required
--- | --- | ---
setid | the id to reference the built fileset | Yes
conf | a comma separated list of the configurations to put in the created path | No. Defaults to the configurations resolved by the last resolve call, or * if no resolve was explicitly called
type | comma separated list of artifact types to accept in the path, * for all | No. Defaults to *
settingsRef | (since 2.0) A reference to the ivy settings that must be used by this task | No, 'ivy.instance' is taken by default.