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.
|Summary:||Use a slash / instead of back slashes \\ when storing paths|
|Component:||-- Other --||Assignee:||issues@platform <issues>|
|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".