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 189112

Summary: IDE should read -J-Dline.separator=LF
Product: platform Reporter: nbphpuser <nbphpuser>
Component: Options&SettingsAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 7.0   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description nbphpuser 2010-08-01 12:26:45 UTC
With 6.9 I've used -J-Dline.separator=LF command line switch to create new files only in UNIX style. However with dev builds IDE is unusable with this switch. I think it is not parsed correctly, because regexp pattter to ignore files was broke n then and I could see something like "separator=LF" there.

Biggest problem was that windows behavior was strange:
project and navigator windows, which were usually on the left as sidebar, acted  files window.
Reset windows didn't help. But new user dir and skipping this switch solved the problem.

Please fix this issue - creating files in UNIX style is very important, as target system in majority of projects is LINUX or UNIX.

Thanks
Comment 1 Jiri Rechtacek 2010-08-02 12:23:50 UTC
IDE hasn't contained this option among supported options yet. IDE should read this option, also UI in IDE Options could contain similar switch for this.
Comment 2 nbphpuser 2010-08-02 12:53:59 UTC
see also http://netbeans.org/bugzilla/show_bug.cgi?id=72515