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.
Adding this option to NetBeans 6.9.app/Contents/Resources/NetBeans/etc/netbeans.conf causes several errors. One example: Preferences in ~/.netbeans/6.9/config/Window2Local are being overwritten with minimal versions that have <state opened="false" />. Adding this option to the netbeans.conf does not cause this change immediately, only after restarting the application. Deleting the local preferences will set the app back to valid defaults, but as soon as the app is closed it will rewrite those defaults back to different (and very annoying) values. My suspicion is that the LF setting causes NB to look for prefs that use LFs as well instead of the OS default, and it is creating new ones instead of using the existing pref files that use CRs. Other users that tried this in my office have reported that it would add "LF" to the end of remote connections and that would make the project unusable but I have not investigated that further. A way to set this as an actual preference for non LF-based OSes would be appreciated, possibly with a conversion function as well. Feel free to contact me if you need further specifics. Thanks. Brian
Well, there definitely is something weird happening when using this setting. After I added this to my command: -J-Dline.separator=LF NetBeans started forgetting the projects that were open on close, ie , NetBeans starts with no windows and projects open. Very annoying, but the setting for the line separator is too important for me no to use.
(In reply to comment #1) > Well, there definitely is something weird happening when using this setting. > After I added this to my command: > > -J-Dline.separator=LF > > NetBeans started forgetting the projects that were open on close, ie , NetBeans > starts with no windows and projects open. > > Very annoying, but the setting for the line separator is too important for me > no to use. Note: my version: Product Version: NetBeans IDE 7.2 (Build 201207171143) Java: 1.6.0_26; Java HotSpot(TM) Client VM 20.1-b02 System: Windows XP version 5.1 running on x86; Cp1252; nl_NL (nb)
Same here on windows 7 x64, it's really anoying Product Version: NetBeans IDE 7.3 (Build 201302132200) Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Windows 7 version 6.1 running on amd64; Cp1252; fr_FR (nb) The message log is full of "LF" chars where it should be /r/n or /n and it seems it prevent the loading of latest opened projects.
I am sorry but I cannot reproduce in Build 20131125-5f4e1598a7f9. Steps I followed: 1) started dev build with -Dline.separator=LF 2) created a j2se project 3) created a class 4) created junit test for that class 5) tested the project 6) closed ide with both files open in editor mode, the test file selected in Projects window, Output window open and Test Results window open having changed the default options in TRW 7) restarted dev build with -Dline.separator=LF 8) all perviously opened windows, project and files were open and the test file was selected. Also the modified options in TRW were restored. Please try a latest build and reopen if you can still reproduce desribing exact steps. Thank you
Still have major problems with this issue in Netbeans 7.4. All this files were corrupted with "LF" instead of an orinary line ending. C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Preferences\org\netbeans\modules\autoupdate\certified-update-provider.properties C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Preferences\org\netbeans\modules\autoupdate\distribution-update-provider.properties C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Preferences\org\netbeans\modules\autoupdate\ui.properties C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Preferences\org\netbeans\modules\editor\search\SearchProperties.properties C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Preferences\org\netbeans\modules\uihandler.properties C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Preferences\org\netbeans\modules\utilities\RecentFilesHistory.properties C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Preferences\org\netbeans\api\search\SearchHistory.properties C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Windows2Local\Components\CssStylesTC.settings C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Windows2Local\Components\find-usages.settings C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Windows2Local\Components\output.settings C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Windows2Local\Components\refactoring-preview.settings This file was also somehow corrupted. C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Preferences\org\netbeans\modules\keyring\win32.properties Deleting the files solved the problems. For all the nbproject\private\private.xml within the projects and all files in this folder C:\Users\myusername\AppData\Roaming\NetBeans\7.4\config\Preferences\org\netbeans\modules\php\project\RemoteConnections\ replacing "LF" with \r\n fixed the problem here. valli
This is still an issue on 8.0. I need a way to be able to force all new files to be created with LF line endings rather than CRLF line endings as all of our projects are stored on Linux servers. I am using a plugin which changes the line endings on save but it would be better if I could get them to be created correctly in the first place
This is really easy to know about the how this online online portal. This is main http://ginrummy.me option to find about the free games gin rummy.