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.
Created attachment 136013 [details] SVN Preferences 1 I open the "Preferences" window, go to the "Versioning" and click on "Subversion" under "Versioning Systems". Now I select "Javahl" as preferred client and (manually) enter the path to the client libraries folder (see also bug 231495). Since the "Apply" button is disabled, as you can see on the first attached screenshot, I click on "Ok". I reopen the SVN preferences and, as you can see on the second screenshot, "CLI" is shown as preferred client and the path I selected as the client libraries folder is now shown as path to the SVN executables. BTW: Shouldn't "Javahl" be spellt "JavaHL"?
Created attachment 136014 [details] SVN Preferences 2
Attach the messages.log after you switch to JavaHL
seems to be just a problem with determining if the preferred client changed fix: http://hg.netbeans.org/core-main/rev/f66e94cb3058
Should this fix already be in the daily NetBeans built?
(In reply to comment #4) > Should this fix already be in the daily NetBeans built? Not yet, the fix is still on the way to main-golden: http://hg.netbeans.org/main-golden/rev/f66e94cb3058
Integrated into 'main-golden', will be available in build *201306212301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f66e94cb3058 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #231498 - JavaHL cannot be selected as preferred client
I have installed the build 201306212301 and the issues still exists for me. My steps to repoduce are: - Open (NetBeans) "Preferences" - Select "Miscellaneous" - Switch the preferred client from "SvnKit" to "JavaHL" -> The "Apply" button is grayed out and thus cannot be clicked - Click the "Browse" button - Select the folder with the JavaHL libraries and click on -> The "Apply" button is still grayed out - Click the "Ok" button - Reopen the "Preferences" -> "SvnKit" is selected as preferred client
works for me in 201306222301 1) Tools -> Options ... 2) Switch the preferred client from "SvnKit" to "JavaHL" 3) The Apply button is enabled and after clicking on this or OK NetBeans switches to JavaHL. Attach the messages.log after you click on OK
The propblem is that the issue of not the not enabled Apply button happens intermittently and I cannot really find a straightforward way to provoke the issue. It happens both when first SvnKit is selected (directly after opening the preferences) and then selecting CLI or JavaHL.
Created attachment 136180 [details] Messages Log
Issue persists in NetBeans IDE Build 201307152300. Event when the Apply button is enabled properly, the settings do not save. Steps to reproduce: - Open Netbeans - Tools -> Options - Miscellaneous tab - Versioning tab - Click Subversion - Change "Preferred Client" from SVNKit to JavaHL - Click "Browse" - Select folder containing libsvnjavahl-1.dll (downloaded from CollabNet) - Click "Apply" At this point, the "Preferred Client" switches back to SVNKit.
Steps in Comment 11 are reproducible. Note that to reproduce steps in Comment 11, you may need to delete userdir and cachedir first because if you restart NetBeans, it may show JavaHL selected and not exhibit this behavior any longer unless you start with fresh userdir and cachedir. Product Version: NetBeans IDE Dev (Build 201307172300) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb
> At this point, the "Preferred Client" switches back to SVNKit. Please attach the messages.log at this point. It should contain info why javahl was not loaded.
This issue mixes several problems: 1) Apply button not enabled when client type is changed, fixed. 2) JavaHL not enabled when it is selected - from Comment #10 - the messages.log prints: Incompatible JavaHL library loaded. Subversion 1.7.x required. Probably means you're trying loading JavaHL 1.8 -> covered in bug #231506 3) JavaHL not enabled when changing the path to its libraries. In this case the IDE requires restart. I will mention this fact in the options dialog fix: http://hg.netbeans.org/core-main/rev/68c4dfdd6990
Integrated into 'main-silver', will be available in build *201307232300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/68c4dfdd6990 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #231498 - JavaHL cannot be selected as preferred client show warning that the IDE requires to be restarted
The problem still persist on 8.0.1, I installed the build Subversion 1.8.10 (Windows 32-bit) from CollabNet with include the file libsvnjavahl-1.dll (I guess this is the file the IDE should be looking for) but after press on Apply or OK button. Restarting the IDE or just looking again if the change has been saved, the option is back on "CLI" and sometimes "SvnKit"
(In reply to FiruzzZ from comment #16) > The problem still persist on 8.0.1, I installed the build Subversion 1.8.10 > (Windows 32-bit) from CollabNet with include the file libsvnjavahl-1.dll (I > guess this is the file the IDE should be looking for) but after press on > Apply or OK button. Restarting the IDE or just looking again if the change > has been saved, the option is back on "CLI" and sometimes "SvnKit" Please file a new issue and attach the IDE log (after you click on Apply).