Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 128249 - Use a slash / instead of back slashes \\ when storing paths
Use a slash / instead of back slashes \\ when storing paths
Status: NEW
Product: platform
Classification: Unclassified
Component: -- Other --
All All
: P3 (vote)
Assigned To: issues@platform
Depends on:
  Show dependency treegraph
Reported: 2008-02-24 02:17 UTC by entonio
Modified: 2009-01-06 14:15 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description entonio 2008-02-24 02:17:16 UTC
I apoloise as this probably isn't the right section.
All throughout the IDE, when paths are written to files (ex: a lib path in, the system dependent 
directory separator is used. I propose that the call to write them be ncapsulated so that a slash is always used. I'm not at 
all a unix person, but the slash requires no escaping, making it more readable and less error-prone, relative paths can look 
exactly the same regardless of platform, and the File APIs are able to parse both separators anyway.
(I tag this as defect and not feature simply because I feel that such files should reflect as litle platform environment as 
Comment 1 Peter Pis 2008-02-26 08:57:16 UTC
Reassigning to "core".

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo