Hi again,
Am 26.11.2010 um 22:08 schrieb Brian Topping: > For one thing, using a colon in a filename on OSX is bound to lead to > problems in a lot of different applications. That is the directory separator > for MFS and HFS volumes, and while HFS+ and has deprecated use of colon, I > believe it is still supported in strange ways. yes, I know that one should not use spaces, colons, ä, ö, ü, $ and such in file or directory names. But IMHO if the operating system and file system supports it (and yes, Mac OS X with HFS+ supports : in filenames[1]), why shouldn't a user actually use them? And again IMHO if some application does not support that, it's a bug in this application. And if you follow this idea, some time in future it will be possible (without any problems) to use all this characters in filenames! So in future you don't need to explain to stupid people like me, that they should not use colons ;-) What is the technical (not historical) reason not to use special characters? Of course you need(?) one character to separate directories (the slash on most systems), so this character is not allowed by the operating system (and it refuses to create a file containing this character). But the others? Am 27.11.2010 um 06:04 schrieb Wayne Fay: >> is it only my setup or is there a problem if there is a colon in the project >> path? > > Rename your directory and remove the colon. Including colons in > directory names is generally a bad idea for a lot of reasons on most > operating systems. Yes, I know I could do that (and I will, until it is supported)... >> Should I report this as a bug? > > Definitely not. > > Does this even work in vanilla javac or give a similar problem? I'm > thinking it would also break. (ps I just tried on Ubuntu with > openjdk-6 and the colon in my package name broke javac, not surprised) I think it was not clear what I wanted to explain: I'm aware that Java package names are not allowed to contain colons (and most other special characters). I'm talking about some parent directory of your project: I understand that /tmp/foobar/src/main/java/colon:issue/Foo.java is not allowed, but /tmp/foo:bar/src/main/java/colon_issue/Foo.java should (and java(c) does not have any problems with that, I just tried it out)! [1] Well, the Finder and most Mac applications show the colon as "/" and tell you that ":" is not allowed, but "under the hood" the slash is represented as colon. You can see this if you create a file with a slash in the name and do a "ls" in the directory. -- Thank you and have fun, Siegmar --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
