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.
JUnit library has been re-licensed under acceptable Eclipse Public License. There is no reason to mess with downloading it separately. Special treatment of JUnit complicates the build process as well as installer. Remove it and treat JUnit as any other 3rd party library.
(In reply to Jaroslav Tulach from comment #0) > JUnit library has been re-licensed under acceptable Eclipse Public License. ~a year ago > There is no reason to mess with downloading it separately. agree > > Special treatment of JUnit complicates the build process as well as > installer. Remove it and treat JUnit as any other 3rd party library. AFAIK until there is an official release with the new license we cannot proceed with removing the "special treatment".
*** Bug 247568 has been marked as a duplicate of this bug. ***
Duplicate issue was P2
4.12-beta-3 was recently out so it looks this can be scheduled for next release
What do you mean by next release? 8.1? Isn't the right target "Dev" then? Why do you care about JUnit 4.12-beta? The relicensing happened one and half year ago https://github.com/junit-team/junit/blob/master/epl-v10.html and at least 4.11 has been stable release released since then?
(In reply to Jaroslav Tulach from comment #5) > What do you mean by next release? 8.1? Isn't the right target "Dev" then? correct, my mistake. > > Why do you care about JUnit 4.12-beta? The relicensing happened one and half > year ago https://github.com/junit-team/junit/blob/master/epl-v10.html > and at least 4.11 has been stable release released since then? the library was relicensed 1.5 years ago but 4.11 was already released for half a year already. AFAIK there must be a final release (meaning 4.12) that contains the new license so that the legal process for approval can start. When this happens I will remove the extra steps needed for configuring junit support in netbeans.
One thing that would work on a lot of developer machines: See if ~/.m2/junit/junit/4.11/junit-4.11.jar exists and if yes, use that. I find it particularly silly that it tries to download it when another part of the IDE knows that it exists on disk.
Should be fixed: http://hg.netbeans.org/web-main/rev/459035808e45
Extra fix related to removing junit-3.x binaries and library definition : http://hg.netbeans.org/core-main/rev/b8ed12ff61bf
Congrats on finally solving this long standing issue!