This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 128249 - Use a slash / instead of back slashes \\ when storing paths
Summary: Use a slash / instead of back slashes \\ when storing paths
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-24 02:17 UTC by entonio
Modified: 2009-01-06 14:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

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 project.properties), 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 
possible.)
Comment 1 Peter Pis 2008-02-26 08:57:16 UTC
Reassigning to "core".