You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Eduardo Mosqueira Rey <ed...@udc.es> on 2019/10/14 12:37:02 UTC
SVN Client
I am testing NetBeans 11.1 for using in classroom and I recently discovered that a Subversion client is not included in this version and you have to install it.
This is an inconvenience that means an extra step and a possibility of doing something wrong in the process.
Is it possible to include it out-of-the-box as in previous versions like 8.2.?
Being Subversion an Apache problem it should not be very difficult.
Best regards,
Eduardo Mosqueira
[cid:image003.png@01D5829C.D7412EE0]
Re: SVN Client
Posted by Laszlo Kishalmi <la...@gmail.com>.
Thank you for the info.
We may update our dependencies to accept newer subversion clients as well.
On 10/15/19 10:10 AM, Mark Eggers wrote:
> As a follow-up, I found a copy of 1.9.7 in the archives and have
> installed that. The log entries below indicate that it's being used.
>
> INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: running
> on javahl
> INFO [org.netbeans.modules.subversion]: Finished indexing svn cache with
> 8 entries. Elapsed time: 1 ms.
>
> I'll answer the questions in your mail inline:
> On 10/15/2019 8:43 AM, Laszlo Kishalmi wrote:
>> Dear Mark,
>>
>> Just a few question:
>>
>> 1. Was the IDE automatically recognize the SilkSVN library on startup
>> without any configuration once it was installed?
>>
> Yes, however the path to the DLL is in my PATH environment variable.
>
>> 2. What is the current name (probably path) to the native dll (right now
>> the IDE tries to locate the libsvnjavahl-1.dll)
>>
> Current path is:
>
> D:\Programs-x64\SlikSvn\bin\libsvnjavahl-1.dll
>
> Again, D:\Programs-x64\SlikSvn\bin is in my PATH environment variable.
>
>> 3. Does the SilkSVN install set an environment variable called
>> SUBVERSION_NATIVE_LIBRARY?
> No, it does not.
>
>> 4. What dll-s are installed by SilkSvn
> libsvnjavahl-1.dll
> SlikSvn-DB44-20-x64.dll
> SlikSvn-libapr-1.dll
> SlikSvn-libaprutil-1.dll
> SlikSvn-libeay32.dll
> SlikSvn-libintl.dll
> SlikSvn-libsasl21.dll
> SlikSvn-libsvn_client-1.dll
> SlikSvn-libsvn_delta-1.dll
> SlikSvn-libsvn_diff-1.dll
> SlikSvn-libsvn_fs-1.dll
> SlikSvn-libsvn_ra-1.dll
> SlikSvn-libsvn_repos-1.dll
> SlikSvn-libsvn_subr-1.dll
> SlikSvn-libsvn_wc-1.dll
> SlikSvn-ssleay32.dll
>
> I don't think that it installs any DLLs in a system directory, but I
> didn't check.
>
> . . . just my two cents
> /mde/
>>
>> I'm asking these as we might need to update/improve the JavaHL detection
>> on Windows. We did taht in linux adding the Ubuntu path to the search
>> list and the user experience is much better. We could create a wiki how
>> to configure the native libraries with screenshots and add a link to the
>> subversion setting dialog as well.
>>
>> Just a reference the native library detection happens in:
>>
>> https://github.com/apache/netbeans/blob/master/ide/libs.svnClientAdapter.javahl/src/org/netbeans/libs/svnclientadapter/javahl/JavaHlClientAdapterFactory.java
>>
>>
>> On 10/15/19 12:14 AM, Mark Eggers wrote:
>>> I use the Slik SVN client with the advanced installation on Windows 10
>>> Professional with NetBeans 11.1.
>>>
>>> This seems to work reasonably well, although I mostly work with git
>>> these days.
>>>
>>> . . . just my two cents
>>> /mde/
>>>
>>> On 10/14/2019 9:45 PM, László Kishalmi wrote:
>>>> Well, NetBeans had support for 3 kind of Subversion clients. Native
>>>> library, svnkit and command line. Unfortunately the svnkit had to be
>>>> removed due to licensing reason. The command line is unreliable and
>>>> unfortunately the native is a bit hard to configure especially on
>>>> windows.
>>>>
>>>> AFAIK the Silk SVN client 1.10 needs to be installed in advanced mode
>>>> and
>>>> select the installation of the native java binding. Then set up the
>>>> path to
>>>> that library in the ide. Options - Misc -Version control.
>>>>
>>>> If you succeed, that would be the fastest and most reliable solution.
>>>>
>>>> On Mon, Oct 14, 2019, 05:37 Eduardo Mosqueira Rey
>>>> <ed...@udc.es>
>>>> wrote:
>>>>
>>>>> I am testing NetBeans 11.1 for using in classroom and I recently
>>>>> discovered that a Subversion client is not included in this version
>>>>> and you
>>>>> have to install it.
>>>>>
>>>>> This is an inconvenience that means an extra step and a possibility of
>>>>> doing something wrong in the process.
>>>>>
>>>>>
>>>>>
>>>>> Is it possible to include it out-of-the-box as in previous versions
>>>>> like
>>>>> 8.2.?
>>>>>
>>>>> Being Subversion an Apache problem it should not be very difficult.
>>>>>
>>>>>
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Eduardo Mosqueira
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: SVN Client
Posted by Mark Eggers <it...@yahoo.com.INVALID>.
As a follow-up, I found a copy of 1.9.7 in the archives and have
installed that. The log entries below indicate that it's being used.
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: running
on javahl
INFO [org.netbeans.modules.subversion]: Finished indexing svn cache with
8 entries. Elapsed time: 1 ms.
I'll answer the questions in your mail inline:
On 10/15/2019 8:43 AM, Laszlo Kishalmi wrote:
> Dear Mark,
>
> Just a few question:
>
> 1. Was the IDE automatically recognize the SilkSVN library on startup
> without any configuration once it was installed?
>
Yes, however the path to the DLL is in my PATH environment variable.
> 2. What is the current name (probably path) to the native dll (right now
> the IDE tries to locate the libsvnjavahl-1.dll)
>
Current path is:
D:\Programs-x64\SlikSvn\bin\libsvnjavahl-1.dll
Again, D:\Programs-x64\SlikSvn\bin is in my PATH environment variable.
> 3. Does the SilkSVN install set an environment variable called
> SUBVERSION_NATIVE_LIBRARY?
No, it does not.
>
> 4. What dll-s are installed by SilkSvn
libsvnjavahl-1.dll
SlikSvn-DB44-20-x64.dll
SlikSvn-libapr-1.dll
SlikSvn-libaprutil-1.dll
SlikSvn-libeay32.dll
SlikSvn-libintl.dll
SlikSvn-libsasl21.dll
SlikSvn-libsvn_client-1.dll
SlikSvn-libsvn_delta-1.dll
SlikSvn-libsvn_diff-1.dll
SlikSvn-libsvn_fs-1.dll
SlikSvn-libsvn_ra-1.dll
SlikSvn-libsvn_repos-1.dll
SlikSvn-libsvn_subr-1.dll
SlikSvn-libsvn_wc-1.dll
SlikSvn-ssleay32.dll
I don't think that it installs any DLLs in a system directory, but I
didn't check.
. . . just my two cents
/mde/
>
>
> I'm asking these as we might need to update/improve the JavaHL detection
> on Windows. We did taht in linux adding the Ubuntu path to the search
> list and the user experience is much better. We could create a wiki how
> to configure the native libraries with screenshots and add a link to the
> subversion setting dialog as well.
>
> Just a reference the native library detection happens in:
>
> https://github.com/apache/netbeans/blob/master/ide/libs.svnClientAdapter.javahl/src/org/netbeans/libs/svnclientadapter/javahl/JavaHlClientAdapterFactory.java
>
>
> On 10/15/19 12:14 AM, Mark Eggers wrote:
>> I use the Slik SVN client with the advanced installation on Windows 10
>> Professional with NetBeans 11.1.
>>
>> This seems to work reasonably well, although I mostly work with git
>> these days.
>>
>> . . . just my two cents
>> /mde/
>>
>> On 10/14/2019 9:45 PM, László Kishalmi wrote:
>>> Well, NetBeans had support for 3 kind of Subversion clients. Native
>>> library, svnkit and command line. Unfortunately the svnkit had to be
>>> removed due to licensing reason. The command line is unreliable and
>>> unfortunately the native is a bit hard to configure especially on
>>> windows.
>>>
>>> AFAIK the Silk SVN client 1.10 needs to be installed in advanced mode
>>> and
>>> select the installation of the native java binding. Then set up the
>>> path to
>>> that library in the ide. Options - Misc -Version control.
>>>
>>> If you succeed, that would be the fastest and most reliable solution.
>>>
>>> On Mon, Oct 14, 2019, 05:37 Eduardo Mosqueira Rey
>>> <ed...@udc.es>
>>> wrote:
>>>
>>>> I am testing NetBeans 11.1 for using in classroom and I recently
>>>> discovered that a Subversion client is not included in this version
>>>> and you
>>>> have to install it.
>>>>
>>>> This is an inconvenience that means an extra step and a possibility of
>>>> doing something wrong in the process.
>>>>
>>>>
>>>>
>>>> Is it possible to include it out-of-the-box as in previous versions
>>>> like
>>>> 8.2.?
>>>>
>>>> Being Subversion an Apache problem it should not be very difficult.
>>>>
>>>>
>>>>
>>>> Best regards,
>>>>
>>>> Eduardo Mosqueira
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
Re: SVN Client
Posted by Mark Eggers <it...@yahoo.com.INVALID>.
I have to apologize.
I just checked my logs, and it appears that NetBeans 11.1 is falling
back to a command line since I have Slik SVN 1.12 installed. According
to the logs:
INFO [org.netbeans.libs.svnclientadapter]: Javahl client adapter is not
available
Incompatible JavaHL library loaded. Subversion 1.9.x required.
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: JavaHL
not available. Falling back on SvnKit.
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: SvnKit
not available. Falling back on commandline.
INFO [org.netbeans.modules.subversion]: Commandline client version:
1.11.1 (r1850623)
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: running
on commandline
I can try finding an archived version of Slik SVN and install that.
I need to update TortoiseSVN as well.
Both are on my path at present, so NetBeans finds everything. I don't
have any special SVN environment variables set.
If I find a 1.9.x version of Slik SVN, I'll install and report back to
the mailing list.
. . . just my two cents
/mde/
On 10/15/2019 8:43 AM, Laszlo Kishalmi wrote:
> Dear Mark,
>
> Just a few question:
>
> 1. Was the IDE automatically recognize the SilkSVN library on startup
> without any configuration once it was installed?
>
> 2. What is the current name (probably path) to the native dll (right now
> the IDE tries to locate the libsvnjavahl-1.dll)
>
> 3. Does the SilkSVN install set an environment variable called
> SUBVERSION_NATIVE_LIBRARY?
>
> 4. What dll-s are installed by SilkSvn
>
>
> I'm asking these as we might need to update/improve the JavaHL detection
> on Windows. We did taht in linux adding the Ubuntu path to the search
> list and the user experience is much better. We could create a wiki how
> to configure the native libraries with screenshots and add a link to the
> subversion setting dialog as well.
>
> Just a reference the native library detection happens in:
>
> https://github.com/apache/netbeans/blob/master/ide/libs.svnClientAdapter.javahl/src/org/netbeans/libs/svnclientadapter/javahl/JavaHlClientAdapterFactory.java
>
>
> On 10/15/19 12:14 AM, Mark Eggers wrote:
>> I use the Slik SVN client with the advanced installation on Windows 10
>> Professional with NetBeans 11.1.
>>
>> This seems to work reasonably well, although I mostly work with git
>> these days.
>>
>> . . . just my two cents
>> /mde/
>>
>> On 10/14/2019 9:45 PM, László Kishalmi wrote:
>>> Well, NetBeans had support for 3 kind of Subversion clients. Native
>>> library, svnkit and command line. Unfortunately the svnkit had to be
>>> removed due to licensing reason. The command line is unreliable and
>>> unfortunately the native is a bit hard to configure especially on
>>> windows.
>>>
>>> AFAIK the Silk SVN client 1.10 needs to be installed in advanced mode
>>> and
>>> select the installation of the native java binding. Then set up the
>>> path to
>>> that library in the ide. Options - Misc -Version control.
>>>
>>> If you succeed, that would be the fastest and most reliable solution.
>>>
>>> On Mon, Oct 14, 2019, 05:37 Eduardo Mosqueira Rey
>>> <ed...@udc.es>
>>> wrote:
>>>
>>>> I am testing NetBeans 11.1 for using in classroom and I recently
>>>> discovered that a Subversion client is not included in this version
>>>> and you
>>>> have to install it.
>>>>
>>>> This is an inconvenience that means an extra step and a possibility of
>>>> doing something wrong in the process.
>>>>
>>>>
>>>>
>>>> Is it possible to include it out-of-the-box as in previous versions
>>>> like
>>>> 8.2.?
>>>>
>>>> Being Subversion an Apache problem it should not be very difficult.
>>>>
>>>>
>>>>
>>>> Best regards,
>>>>
>>>> Eduardo Mosqueira
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
Re: SVN Client
Posted by Laszlo Kishalmi <la...@gmail.com>.
Dear Mark,
Just a few question:
1. Was the IDE automatically recognize the SilkSVN library on startup
without any configuration once it was installed?
2. What is the current name (probably path) to the native dll (right now
the IDE tries to locate the libsvnjavahl-1.dll)
3. Does the SilkSVN install set an environment variable called
SUBVERSION_NATIVE_LIBRARY?
4. What dll-s are installed by SilkSvn
I'm asking these as we might need to update/improve the JavaHL detection
on Windows. We did taht in linux adding the Ubuntu path to the search
list and the user experience is much better. We could create a wiki how
to configure the native libraries with screenshots and add a link to the
subversion setting dialog as well.
Just a reference the native library detection happens in:
https://github.com/apache/netbeans/blob/master/ide/libs.svnClientAdapter.javahl/src/org/netbeans/libs/svnclientadapter/javahl/JavaHlClientAdapterFactory.java
On 10/15/19 12:14 AM, Mark Eggers wrote:
> I use the Slik SVN client with the advanced installation on Windows 10
> Professional with NetBeans 11.1.
>
> This seems to work reasonably well, although I mostly work with git
> these days.
>
> . . . just my two cents
> /mde/
>
> On 10/14/2019 9:45 PM, László Kishalmi wrote:
>> Well, NetBeans had support for 3 kind of Subversion clients. Native
>> library, svnkit and command line. Unfortunately the svnkit had to be
>> removed due to licensing reason. The command line is unreliable and
>> unfortunately the native is a bit hard to configure especially on windows.
>>
>> AFAIK the Silk SVN client 1.10 needs to be installed in advanced mode and
>> select the installation of the native java binding. Then set up the path to
>> that library in the ide. Options - Misc -Version control.
>>
>> If you succeed, that would be the fastest and most reliable solution.
>>
>> On Mon, Oct 14, 2019, 05:37 Eduardo Mosqueira Rey <ed...@udc.es>
>> wrote:
>>
>>> I am testing NetBeans 11.1 for using in classroom and I recently
>>> discovered that a Subversion client is not included in this version and you
>>> have to install it.
>>>
>>> This is an inconvenience that means an extra step and a possibility of
>>> doing something wrong in the process.
>>>
>>>
>>>
>>> Is it possible to include it out-of-the-box as in previous versions like
>>> 8.2.?
>>>
>>> Being Subversion an Apache problem it should not be very difficult.
>>>
>>>
>>>
>>> Best regards,
>>>
>>> Eduardo Mosqueira
>>>
>>>
>>>
>>>
>>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: SVN Client
Posted by Mark Eggers <it...@yahoo.com.INVALID>.
I use the Slik SVN client with the advanced installation on Windows 10
Professional with NetBeans 11.1.
This seems to work reasonably well, although I mostly work with git
these days.
. . . just my two cents
/mde/
On 10/14/2019 9:45 PM, László Kishalmi wrote:
> Well, NetBeans had support for 3 kind of Subversion clients. Native
> library, svnkit and command line. Unfortunately the svnkit had to be
> removed due to licensing reason. The command line is unreliable and
> unfortunately the native is a bit hard to configure especially on windows.
>
> AFAIK the Silk SVN client 1.10 needs to be installed in advanced mode and
> select the installation of the native java binding. Then set up the path to
> that library in the ide. Options - Misc -Version control.
>
> If you succeed, that would be the fastest and most reliable solution.
>
> On Mon, Oct 14, 2019, 05:37 Eduardo Mosqueira Rey <ed...@udc.es>
> wrote:
>
>> I am testing NetBeans 11.1 for using in classroom and I recently
>> discovered that a Subversion client is not included in this version and you
>> have to install it.
>>
>> This is an inconvenience that means an extra step and a possibility of
>> doing something wrong in the process.
>>
>>
>>
>> Is it possible to include it out-of-the-box as in previous versions like
>> 8.2.?
>>
>> Being Subversion an Apache problem it should not be very difficult.
>>
>>
>>
>> Best regards,
>>
>> Eduardo Mosqueira
>>
>>
>>
>>
>>
>
Re: SVN Client
Posted by László Kishalmi <la...@gmail.com>.
Well, NetBeans had support for 3 kind of Subversion clients. Native
library, svnkit and command line. Unfortunately the svnkit had to be
removed due to licensing reason. The command line is unreliable and
unfortunately the native is a bit hard to configure especially on windows.
AFAIK the Silk SVN client 1.10 needs to be installed in advanced mode and
select the installation of the native java binding. Then set up the path to
that library in the ide. Options - Misc -Version control.
If you succeed, that would be the fastest and most reliable solution.
On Mon, Oct 14, 2019, 05:37 Eduardo Mosqueira Rey <ed...@udc.es>
wrote:
> I am testing NetBeans 11.1 for using in classroom and I recently
> discovered that a Subversion client is not included in this version and you
> have to install it.
>
> This is an inconvenience that means an extra step and a possibility of
> doing something wrong in the process.
>
>
>
> Is it possible to include it out-of-the-box as in previous versions like
> 8.2.?
>
> Being Subversion an Apache problem it should not be very difficult.
>
>
>
> Best regards,
>
> Eduardo Mosqueira
>
>
>
>
>
Re: SVN Client
Posted by Geertjan Wielenga <ge...@apache.org>.
Could you consider using Git (e.g., GitHub) instead?
Gj
On Mon, Oct 14, 2019 at 2:37 PM Eduardo Mosqueira Rey <
eduardo.mosqueira@udc.es> wrote:
> I am testing NetBeans 11.1 for using in classroom and I recently
> discovered that a Subversion client is not included in this version and you
> have to install it.
>
> This is an inconvenience that means an extra step and a possibility of
> doing something wrong in the process.
>
>
>
> Is it possible to include it out-of-the-box as in previous versions like
> 8.2.?
>
> Being Subversion an Apache problem it should not be very difficult.
>
>
>
> Best regards,
>
> Eduardo Mosqueira
>
>
>
>
>