Github user twogee commented on the issue:

    https://github.com/apache/ant-ivy/pull/20
  
    I can assure you that colon in version has NEVER have worked on Windows. 
Test case
    
    ```
    import java.io.*;
    
    public class TestColonNTFS {
       public static void main(String[] args) throws IOException {
          try (Writer writer = new BufferedWriter(new OutputStreamWriter(new 
FileOutputStream("file:name.txt"), "utf-8"))) {
             writer.write("something");
          }
       }
    }
    ```
    produces
    
    ```
    >dir
    ...
    2017-05-20  20:39                 0 file
    ...
    >dir /r file
    ...
    2017-05-20  20:39                 0 file
                                      9 file:name.txt:$DATA
    ```
    And that is the correct behaviour of NTFS: create an [alternate data 
stream](https://msdn.microsoft.com/en-us/library/windows/desktop/aa364404). You 
can use that for versioning, for sure ;-) But this is not portable.
    
    Now, should we introduce a special treatment for reserved and unsafe URL 
characters, we will create a lock-in unless all other tools accept the same 
conventions, which is unlikely. And that defeats the very idea of flexibility.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to