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

Summary: Use a slash / instead of back slashes \\ when storing paths
Product: platform Reporter: entonio <entonio>
Component: -- Other --Assignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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".