Description
In case when conf contains no artifacts cachefileset returns all.
For example ivy.xml contains one conf ("default" and "runtime") where "runtime" conf have no dependencies and "xxx" conf is not declared anywhere:
<ivy-module version="1.0">
<info organisation="cft" module="vp" status="stable"/>
<configurations>
<conf name="default"/>
<conf name="runtime"/>
</configurations>
<dependencies>
<dependency org="sun" name="servlet" rev="2.3" conf="default"/>
</dependencies>
</ivy-module>
In build.xml:
<ivy:cachefileset setid="p1" conf="xxx" type="jar"/> <!-- all files instead 0 (there are no such conf at all) -->
<ivy:cachefileset setid="p2" conf="runtime" type="jar"/> <!-- all files instead 0 (no declared dependencies for runtime) -->
<ivy:cachefileset setid="p3" conf="default" type="jar"/> <!-- one file. that's right -->
<ivy:cachefileset setid="p4" conf="runtime,xxx" type="jar"/> <!- all files instead 0 -->
<ivy:cachefileset setid="p5" conf="runtime,xxx,default" type="jar"/> <!-- one file. that's right -->
In same cases using ivy:retrieve givs rights results.
With best regards? Ivlev Dmitry.