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.
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.
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.
http://hg.netbeans.org/core-main/rev/17c593e90064 Geertjan, please verify.
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.