----- Original Message ----- From: "Alan Gates" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 8:00 PM Subject: Bug 5219
> You wrote: > > ------- Additional Comments From [EMAIL PROTECTED] 2002-01-29 23:43 ------- > Might be a dumb question: but which operating system uses more than one > character for a path separator? I have no problems commiting this patch, but > would like to see the use-case first. > > > I don't know of any OS that uses a multi-character path separator. My > use case is that I have a template java properties file which includes > filepaths. I use this to build a java properties file specific to the > user and OS. To do the paths in the file, I use PathConvert. But if I > tell PathConvert to set the paths to Windows style, it creates paths like: > c:\product\bin\exec. When java reads these in a properies file, it > takes the backslashes to be escapes, so my path ends up as > c:productbinexec in my java program. In order for java to read it > properly from the properties file, the path needs to be written as > c:\\product\\bin\\exec. So that's why I need a multi-character path > separator. > > Alan. > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
