ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5219] - PathConvert task only allows single character path separators
Date Wed, 30 Jan 2002 02:52:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5219>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5219

PathConvert task only allows single character path separators





------- Additional Comments From umagesh@apache.org  2002-01-30 02:52 -------
Comments from Alan:

> 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