ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@apache.org>
Subject Fw: Bug 5219
Date Wed, 30 Jan 2002 02:21:15 GMT

----- Original Message -----
From: "Alan Gates" <alan_f_gates@yahoo.com>
To: <umagesh@apache.org>
Sent: Tuesday, January 29, 2002 8:00 PM
Subject: Bug 5219


> You wrote:
>
> ------- Additional Comments From umagesh@apache.org  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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message