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 - "Line Endings" option not respected for license.txt
Summary: "Line Endings" option not respected for license.txt
Alias: None
Product: contrib
Classification: Unclassified
Component: License Changer (show other bugs)
Version: 7.4
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: nhoffmann
Depends on:
Reported: 2013-12-18 22:27 UTC by err
Modified: 2014-01-13 13:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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