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.1.0-RC2, 2.1.0-RC1, 2.0
Environment: Windows, NTFS
Reporter: Brian Sanders
Priority: Minor
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.