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 239631

Summary: "Line Endings" option not respected for license.txt
Product: contrib Reporter: err <err>
Component: License ChangerAssignee: nhoffmann
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.4   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description err 2013-12-18 22:27:33 UTC
Given the "Line Endings" options set to "Force Newline", working on java file.

I tried this in two cases
    (1) File initially had NL endings
    (2) File initially had CRLF endings

In both cases when licensechanger completed, the newly inserted license header
had CRLF endings. The rest of the file had NL endings.

Interestingly, case (2) shows that the option mostly works and only fails for
stuff from license.txt. BTW, the license.txt file on disk had NL endings.
Comment 1 nhoffmann 2013-12-20 09:23:03 UTC
Thanks for spotting this bug. The issue should be resolved within the next version.
Comment 2 nhoffmann 2014-01-13 13:33:47 UTC
Fixed in changeset http://hg.netbeans.org/main/contrib/rev/129e2a086639.