[
https://issues.apache.org/jira/browse/IVY-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542139
]
Blaine Simpson commented on IVY-638:
------------------------------------
Became much easier to diagnose once I had a working cachefileset to compare to
the non-working one. I didn't think it was related to the Ivy "setup", since
the setup works as-is for cache paths.
cachefilesets are rooted at defaultCache. Therefore, a fileset can't be
constructed if one goes outside of that directory branch with relative
directory constructs in cacheArtifactPattern. This is certainly understandable
and the issue would never have been raised if an issue or error were generated,
instead of silently returning an empty fileset.
> cachefileset task silently fails with parent dir ".." construct
> ---------------------------------------------------------------
>
> Key: IVY-638
> URL: https://issues.apache.org/jira/browse/IVY-638
> Project: Ivy
> Issue Type: Bug
> Components: Ant
> Affects Versions: 1.4.1, 2.0.0-alpha-2
> Reporter: Blaine Simpson
>
> WIth both 1.4.1 and 2.0.0-alpha-2, cachefileset task returns an empty file
> set. If I just swap it out for a cachepath, I get a good path.
> I've verified that this is not due to a mistake examining the output fileset,
> by swapping the cachefileset task out for a normal ant fileset definition:
> The path is echoed correctly from the fileset id.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.