public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William L. Thomson Jr." <wltjr@gentoo.org>
To: "Jean-Noël Rivasseau" <elvanor@gentoo.org>
Cc: gentoo-java <gentoo-java@lists.gentoo.org>
Subject: Re: [gentoo-java] Slotting jsch?
Date: Tue, 15 Jan 2008 12:59:45 -0500	[thread overview]
Message-ID: <1200419985.9718.14.camel@wlt.obsidian-studios.com> (raw)
In-Reply-To: <d61c57300801150838m27cf981aia867d3da2bca0d55@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2222 bytes --]


On Tue, 2008-01-15 at 17:38 +0100, Jean-Noël Rivasseau wrote:
> Hello,
> 
> I unfortunately discovered today that Eclipse-3.3 won't build against
> jsch-0.1.36, although I assumed it would. It builds against 0.1.34.
> 
> Shall I then slot 0.1.34 and 0.1.36? Seems stupid to slot between such
> minor version revisions, but since upstream breaks API... 
> Else I can restrict Eclipse dependency on jsch to 0.1.34 but this will
> prevent people to install 0.1.36 - not good.
> 
> Jean-Noël
> 
> PS: the reason it does not compile anymore is that on 0.1.36 one
> function can throw an exception whereas it did not before, and Eclipse
> code does not expect an exception. I could patch Eclipse but I don't
> really want to go that way, because: 
> 1) I really wouldn't know how to patch exactly and prefer to leave
> these stuff to upstream;
> 2) It may very well be that a lot of the API has changed.

Can you check to see how many places in Eclipse would need to be
modified. See how many other apps that would benefit from having jsch
slotted. Also might check in their vc system to see if they have
modified things already for a newer jsch.

We surely have no problem slotting stuff on the Java front. Lots of
stuff is already and likely more stuff with. Very likely jsch is a
candidate. If more than just Eclipse could benefit from it.

If it's only Eclipse and doesn't require major code modifications. Might
seriously consider a patch. Prevents us from having to slot. Plus you
can provide patch to upstream for future releases. Likely get you some
bonus points with upstream. The faster and better you can establish a
relationship with upstream. The better your life will be while
maintaining Eclipse :)

FYI, I am about to patch Tomcat per something upstream wouldn't comment
on. Redirecting stdout/stdin via System.setErr/setOut. Verses using
shell redirection to populate catalina.out. Now that's going pretty much
against upstream. A modification they may or may not ever make. In your
case, at some point the Eclipse code base will be updated for a newer
jsch. So you doing it and contributing that, will help them.

-- 
William L. Thomson Jr.
Gentoo/amd64/Java

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-01-15 18:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-15 16:38 [gentoo-java] Slotting jsch? Jean-Noël Rivasseau
2008-01-15 17:59 ` William L. Thomson Jr. [this message]
2008-01-16 13:19   ` Jean-Noël Rivasseau
2008-01-16 14:41     ` Vlastimil Babka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1200419985.9718.14.camel@wlt.obsidian-studios.com \
    --to=wltjr@gentoo.org \
    --cc=elvanor@gentoo.org \
    --cc=gentoo-java@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox