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 255626 - Change license on NBI stub source code files
Summary: Change license on NBI stub source code files
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P1 normal with 2 votes (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-29 18:31 UTC by phansson
Modified: 2015-10-12 07:27 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phansson 2015-09-29 18:31:22 UTC
Currently the NBI stub files (e.g. the ConfigurationLogic.java in org.mycompany package) have the same license header as every other NB Platform files, meaning the CDDL/GPLv2 license.

I don't think this has ever been the intention of anyone. What it means is that people cannot customize the installer stub without having to make their work publicly available. This makes it difficult to use the NBI in a commercial product.

Suggest to change the license headers on NBI stub/harness source code files to something more permissive.

I bet there are tons of NB based closed-source applications out there which has already violated this, not out of malicious intent, but simply because I don't think anyone has thought about this. After all you are supposed/encouraged to customize the stubs in the harness.

Just to be clear: What I believe should be under a different license is all source code / plain text files in the NBI harness, e.g. ant build scripts, Java source code files, properties files, etc. In unpacked form, i.e. on an IDE install, this equals all files under <ide-install-dir>/harness/nbi.
Comment 1 Geertjan Wielenga 2015-09-30 08:30:06 UTC
Changing this to a P1. This must be done, no workaround, clearly a simple mistake when checking in these files, let's fix it -- a matter of removing those license headers which should never have been there in the first place.
Comment 2 Antonin Nebuzelsky 2015-10-09 16:05:32 UTC
http://hg.netbeans.org/core-main/rev/17c593e90064

Geertjan, please verify.
Comment 3 emi 2015-10-09 18:55:48 UTC
I don't believe this is sufficient.

After this update, what exactly is the stub license? Is it BSD, is it public domain?

Not having an explicit license header doesn't make things easier. An overly defensive advisor would still suggest that no license implies the default codebase license which is GPLv2 w/ CPE and CDDL. So we are back where we started.

I believe the stub should have a license header, but it should be something permissive, like the 2-clause BSD license.