ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Sanders (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVY-1112) Do not use unsupported characters (" * : < > ? \ / |) in Windows filenames
Date Thu, 20 Aug 2009 14:25:14 GMT

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

Brian Sanders updated IVY-1112:
-------------------------------

    Attachment: IvyPatternHelperTest.patch

A patch for the IvyPatternHelper test case that exposes the problem

> Do not use unsupported characters (" * : < > ? \ / |) in Windows filenames
> --------------------------------------------------------------------------
>
>                 Key: IVY-1112
>                 URL: https://issues.apache.org/jira/browse/IVY-1112
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0, 2.1.0-RC1, 2.1.0-RC2
>         Environment: Windows, NTFS
>            Reporter: Brian Sanders
>            Priority: Minor
>         Attachments: IvyPatternHelperTest.patch
>
>
> Windows disallows certain characters in filenames (" * : < > ? \ / |) which are
valid org or module values.  Ivy should strip these characters (possibly in IvyPatternHelper)
when building filenames on Windows.
> Particularly, the JetBrains build server TeamCity uses colons as part of module names.
 When resolving artifacts on Linux, everything works as expected.  On Windows, resolution
fails when writing the file to cache because the filename "resolved-org.example-foo::bar-1.0.xml"
cannot be created under windows.
> As a partial workaround, I've overridden all of the cache patterns exception for the
"resolvedIvyPattern" and "resolvedIvyPropertiesPattern"(there isn't a way through the Ant
tasks or config files to set the patterns in DefaultResolutionCacheManager).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message