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.
The installer will it will include a new panel with the JUnit license and with the two radio buttons (but the Next button will be enabled for both options), and the Summary installer panel will include the note about JUnit installation later in the IDE
Created attachment 106326 [details] ui spec
Implementation of issue 195846 assumed content of $installdir/nb/var/license_accepted contains: * junit_accepted - if user saw JUnit panel and choose JUnit installation * junit_denied - if user saw JUnit panel and choose Do not install JUnit If user doesn't see JUnit panel (e.g. PHP-only distributio), the installer writes nothing in that file.
Jirka, the installer part is ready (patch is attached). I will integrate it as soon as you give me a signal. BTW, I ended up with a more simple solution when JUnit license panel is shown only if javase cluster is going to be installed (i.e. if javase is already installed the panel will not be shown) and license_accepted file is finally changed by javase's ConfigurationLogic class. This approach is not the best but I think it works for 7.0. So now it is not a problem to write "junit_denied" into license_accepted file. Let me know if you want me to implement this or we can proceed with "junit_n_a" solution. Thanks!
Created attachment 106478 [details] junit_license_panel.patch
Hi Yulia, the patch will work by design. If it's not a problem, please add junit_denied option. Both sides should work together immediately. I attached a patch of ConfigurationLogic.java and Bundle.properties to handle junit_denied option. If it makes sense, integrate it into product. Thank you
Created attachment 106532 [details] a junit_denied patch
Jirka, please point me to the license file that should be used for junit license panel. I will integrate all the changes as soon as I have it. Thank you.
Fixed: http://hg.netbeans.org/core-main/rev/329ba898a037
Integrated into 'main-golden', will be available in build *201103011142* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/329ba898a037 User: Yulia Novozhilova <ynov@netbeans.org> Log: Fix #195845 - Add JUnit panel to IDE installer