nb-javac icon indicating copy to clipboard operation
nb-javac copied to clipboard

Include, link and clarify the license in final JAR files

Open JaroslavTulach opened this issue 4 years ago • 5 comments

Due to a typo, the LICENSE.txt file wasn't included in the final JAR files. Fixed in 722accd. The README.md has been updated to link to the LICENSE.txt and clarify the license applies to the generated JAR files.

JaroslavTulach avatar Apr 26 '21 06:04 JaroslavTulach

I just saw this, after I submitted #27 - first: Thank you for following up with this fix, its good to see this taken upstream.

I think fixing the license in the binary is the clearer approach. It was shown, that nb-javac falls completely under the CPE, so why not state the fact in the license. That way there is no need to discuss whether or not a clarification in a README file has any binding value for a LICENSE file.

matthiasblaesing avatar Apr 29 '21 17:04 matthiasblaesing

Matthias wrote:

I think fixing the license in the binary is the clearer approach... why not state the fact in the license?

Changing a license text means introducing completely new license! There already is too many open source licenses and adding another one isn't going to make anything simpler. I prefer simple readme change and inclusion of the license in the generated JAR file.

Thanks Akhilesh for approving my changes, however I am not a committer/owner/maintainer of this repository. I need your help to merge this PR. Thanks in advance for your help!

JaroslavTulach avatar May 06 '21 14:05 JaroslavTulach

Matthias wrote:

I think fixing the license in the binary is the clearer approach... why not state the fact in the license?

Changing a license text means introducing completely new license! There already is too many open source licenses and adding another one isn't going to make anything simpler. I prefer simple readme change and inclusion of the license in the generated JAR file.

Thanks Akhilesh for approving my changes, however I am not a committer/owner/maintainer of this repository. I need your help to merge this PR. Thanks in advance for your help!

Hi Jaroslav, Currently we are only accepting changes from the commit "Including LICENSE.txt in the JAR files (722accd7a15552fcf2eb0da2aca3b8ae61d76877)" from this PR and it will be cherry pick. Another commit "Confirming Classpath exception applies to the produced binaries" needs some more discussion, so this will be pick-up at later stage.

singh-akhilesh avatar May 06 '21 14:05 singh-akhilesh

Thank you Akhilesh. If you want to merge just 722accd for now, please feel free to do it. According to checking out PRs it should be enough to:

$ git checkout master
$ git fetch origin pull/26/head:ThrowOneChangeAway
$ git merge 722accd

Then we can continue discussing the readme change.

JaroslavTulach avatar May 07 '21 08:05 JaroslavTulach

Thank you Akhilesh. If you want to merge just 722accd for now, please feel free to do it. According to checking out PRs it should be enough to:

$ git checkout master
$ git fetch origin pull/26/head:ThrowOneChangeAway
$ git merge 722accd

Then we can continue discussing the readme change.

Merged changes for the commit: 722accd in master successfully.

singh-akhilesh avatar May 07 '21 08:05 singh-akhilesh