ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44347] Directories not deleted when a filename contains a backslash
Date Wed, 14 May 2008 00:23:38 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44347


Colm Smyth <lateralcoder@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lateralcoder@gmail.com
             Status|NEW                         |NEEDINFO




--- Comment #1 from Colm Smyth <lateralcoder@gmail.com>  2008-05-13 17:23:38 PST ---
This bug can't be reproduced on Ant 1.7.0 on Windows; I get exactly the same
error for both the non-existent folder "/notexist" and "\notexist".

I don't have access to a Mac; what does the following program print on your
system? (it should be two "false" lines).

public class SlashFileTest {

    public static void main(String[] args) {
        System.err.println(new java.io.File("\\notexist").exists());
        System.err.println(new java.io.File("/notexist").exists());
    }
}


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message