* [gentoo-java] Slotting jsch?
@ 2008-01-15 16:38 Jean-Noël Rivasseau
2008-01-15 17:59 ` William L. Thomson Jr.
0 siblings, 1 reply; 4+ messages in thread
From: Jean-Noël Rivasseau @ 2008-01-15 16:38 UTC (permalink / raw
To: gentoo-java
[-- Attachment #1: Type: text/plain, Size: 937 bytes --]
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.
PS2: sorry for the repost if some people receive this twice, as I first sent
using a non-gentoo adress, and I am not sure it went through.
[-- Attachment #2: Type: text/html, Size: 1019 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-java] Slotting jsch?
2008-01-15 16:38 [gentoo-java] Slotting jsch? Jean-Noël Rivasseau
@ 2008-01-15 17:59 ` William L. Thomson Jr.
2008-01-16 13:19 ` Jean-Noël Rivasseau
0 siblings, 1 reply; 4+ messages in thread
From: William L. Thomson Jr. @ 2008-01-15 17:59 UTC (permalink / raw
To: Jean-Noël Rivasseau; +Cc: gentoo-java
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-java] Slotting jsch?
2008-01-15 17:59 ` William L. Thomson Jr.
@ 2008-01-16 13:19 ` Jean-Noël Rivasseau
2008-01-16 14:41 ` Vlastimil Babka
0 siblings, 1 reply; 4+ messages in thread
From: Jean-Noël Rivasseau @ 2008-01-16 13:19 UTC (permalink / raw
To: gentoo-java
[-- Attachment #1: Type: text/plain, Size: 2586 bytes --]
Hi,
Ok I managed to pull a patch for Eclipse which permits to build against
jsch-0.1.36, so no need to slot.
Afterwards, I discovered that ali_bush did write the same exact patch... :(
Maybe we should communicate more to avoid duplicating efforts!
Elvanör
On 1/15/08, William L. Thomson Jr. <wltjr@gentoo.org> wrote:
>
>
> 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: Type: text/html, Size: 3031 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-java] Slotting jsch?
2008-01-16 13:19 ` Jean-Noël Rivasseau
@ 2008-01-16 14:41 ` Vlastimil Babka
0 siblings, 0 replies; 4+ messages in thread
From: Vlastimil Babka @ 2008-01-16 14:41 UTC (permalink / raw
To: gentoo-java
Jean-Noël Rivasseau wrote:
> Ok I managed to pull a patch for Eclipse which permits to build against
> jsch-0.1.36, so no need to slot.
Great!
> Afterwards, I discovered that ali_bush did write the same exact patch... :(
Well it was in the overlay and applied in the ebuild (wich comments). So
how could it not build for you, are you working outside of the overlay?
(Found it strange that it says it's already in upstream svn. I looked at
upstream svn yesterday and didn't find it. The manifests there even
declared jsch-1.2x. But guess I looked at wrong place :) Did you find it
there or write yourself? just curious)
> Maybe we should communicate more to avoid duplicating efforts!
I guess he wasn't available on mail since your previous mail, or he
would tell you that. Or he forgot about creating the patch month ago :)
So hopefully it's not a general fault to communicate. Putting patches to
shared overlay is itself sort of communication, I guess.
Caster
--
gentoo-java@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-16 14:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-15 16:38 [gentoo-java] Slotting jsch? Jean-Noël Rivasseau
2008-01-15 17:59 ` William L. Thomson Jr.
2008-01-16 13:19 ` Jean-Noël Rivasseau
2008-01-16 14:41 ` Vlastimil Babka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox