You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2008/02/29 14:06:59 UTC

[jira] Resolved: (IVY-638) cachefileset task silently fails with parent dir ".." construct

     [ https://issues.apache.org/jira/browse/IVY-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin resolved IVY-638.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0)
                   2.0-RC1

I've added a unit test and fixed the problem by raising an exception when user starts a cache pattern with '..'

> 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
>            Assignee: Xavier Hanin
>             Fix For: 2.0-RC1
>
>
> 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.