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.

Bug 142949 - cnd.remote requires more current JSch library
Summary: cnd.remote requires more current JSch library
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ gordonp
URL:
Keywords:
: 142506 (view as bug list)
Depends on:
Blocks: 141604 142505
  Show dependency tree
 
Reported: 2008-08-05 16:32 UTC by _ gordonp
Modified: 2008-08-08 04:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gordonp 2008-08-05 16:32:21 UTC
The libs.jsch module (used by versioning.system.cvss and cnd.remote) is currently using
version 0.1.24 of JSch. This version was released in 2005 and is very out-of-date (the
current release is 0.1.39).

The cnd.remote (remove C/C+ development) needs a JSch bug fix which was fixed in 0.1.29.
Without an updated release, users cannot reliably debug native applications remotely.
The symptoms of the bug are that we cannot get a working OutputStream to from the IDE to
the remotely running gdb binary. Without this, any commands we send to gdb get lost and
the debugging session cannot get started (it times-out).

What do we need to do to get libs.jsch updated to a current JSch release? This is critical
for a key feature in NetBeans 6.5 C/C++ development. This problem blocks a several P2 bugs
(although they really should be a single P1).

Note: The licenses between 0.1.24 and 0.1.39 are nearly identical. Besides the dates, the
only difference is that the newer license file has a historical line saying that the 0.0.*
versions were released as LGPL.

JSch can be found at http://www.jcraft.com/jsch.
Comment 1 Leonid Lenyashin 2008-08-06 14:46:00 UTC
This issue is a critical blocker for C++ distributed development feature. Until it is resolved we can not get remote
debugging reliably working. Please address this asap to unblock testing of the feature.
Comment 2 Jesse Glick 2008-08-06 15:42:36 UTC
Also (much lower priority) causes problems for building Apache Ant sources from IDE, and apparently causes problems for
CVS users.
Comment 3 Jesse Glick 2008-08-06 15:43:03 UTC
*** Issue 141609 has been marked as a duplicate of this issue. ***
Comment 4 _ gordonp 2008-08-07 16:49:31 UTC
Changing this issue to cnd after receiving an OK from Maros Sandor to make the change. Here
is the email thread:

>Today our QE lead Peter Pis went through all CVS functionality with the new JSch 0.1.39
>and has NOT encountered any problems. You have a Go from our side.
>
>Maros
>
>Leonid Lenyashin wrote:
>> Thanks a lot, Maros!
>>
>> Looking forward to hearing back about your testing results,
>> Leonid.
>>
>> Maros Sandor wrote:
>>> It seems that you have to upgrade jsch to 0.1.39, right? We have no problem with that
>>> in CVS team but we have to test it first. So tomorrow we will test the new version here
>>> to make sure that CVS SSH functionality is not affected in any way and let you know by
>>> tomorrow COB. Once tested, feel free to upgrade the library - just make sure licenses
>>> and legal review are ok.
>>>
>>> Thanks,
>>> Maros
>>>
>>> Leonid Lenyashin wrote:
>>>> Hi Team,
>>>>
>>>> CND distributed development feature testing is currently blocked by this
>>>> P1: http://www.netbeans.org/issues/show_bug.cgi?id=142949
>>>> The sense of the change requested is that we (cnd.remote) need to update JSch (libs.jsch)
>>>> to the most current version. Beside us versioning.system.cvss uses the module. We are
>>>> looking for quick turnaround to resume our testing process.
>>>> Can anybody advice me who can help us with this upgrade or give us a permission to update
>>>> the module?
>>>>
>>>> Thank you,
>>>> Leonid.


We also received an OK wrt legal from Darin Rieck:

> We have OSR approval for jsch  (Java Secure Channel v. 0.1.X #3548 ) in the NetBeans due diligence.
> Advancing from 0.1.24 to 0.1.39 is still covered under this OSR.
Comment 5 Jesse Glick 2008-08-07 21:17:25 UTC
This is FIXED now, isn't it? I thought I saw the changeset already.
Comment 6 _ gordonp 2008-08-07 21:20:50 UTC
> This is FIXED now, isn't it? I thought I saw the changeset already.

Its fixed, but I was waiting for a Hudson build before marking it fixed (the push
was less than 10 minutes ago:-)
Comment 7 Jesse Glick 2008-08-07 21:31:57 UTC
You can mark as issue FIXED as soon as you commit; just include the changeset ID in the IZ comment for reference. If
there is some problem with the Hudson build etc., that can be dealt with separately. An annotation will be added to IZ
automatically when the changeset appears in a production build.
Comment 8 _ gordonp 2008-08-07 21:38:30 UTC
Fixed in http://hg.netbeans.org/main/rev/4d17bdf066a2
Comment 9 Jesse Glick 2008-08-07 21:54:05 UTC
*** Issue 142506 has been marked as a duplicate of this issue. ***
Comment 10 _ gordonp 2008-08-07 23:06:02 UTC
Fixed a license header problem from the previous push with
http://hg.netbeans.org/main/rev/3ea5ca51a9ba.

Note: This changeset got a change to cnd.remote which should have gone into
a different changeset. Since it was ready to push, I'm not backing out and
re-committing.
Comment 11 Quality Engineering 2008-08-08 04:33:49 UTC
Integrated into 'main-golden', available in build *200808080201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/1d6297a76781
User: Gordon Prieur <gordonp@netbeans.org>
Log: Upgrade libs.jsch from jsch 0.1.24 to jsck 0.1.39 (IZ #142949)