ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie Wither (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-1112) [PATCH] Do not use unsupported characters (" * : < > ? \ / |) in Windows filenames
Date Thu, 07 Jan 2010 12:21:54 GMT

    [ https://issues.apache.org/jira/browse/IVY-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797605#action_12797605
] 

Jamie Wither commented on IVY-1112:
-----------------------------------

This patch only works for me if I change the windows detection routine to convert the os name
to lowercase as follows:

           windowsPlatform = System.getProperty("os.name").toLowerCase().indexOf("windows")
> -1;</>


> [PATCH] 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: WindowsFilenameCharacters.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 built-in Ivy support in 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.

-- 
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