[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svnClientAdapter - compile time dependency on JavaSVN??

From: Alexander Kitaev <alex_at_tmate.org>
Date: 2005-10-31 16:29:54 CET

Hello,

I would suggest using reflection to load class that explicitly implements
JavaSVN's Prompt4 interface.

I'm using this approach in JavaSVN to implement Eclipse-specific
authentication cache - there is still comple-time dependency (though
build.xml checks for Eclipse libraries and will not compile dependent
classes if they are missing) and no runtime-dependency that may lead to the
JavaSVN failure in case it is used outside Eclipse.

Alexander Kitaev,
TMate Software,
http://tmate.org/
http://jetbrains.com/tmate/

> -----Original Message-----
> From: Gareth Bryan [mailto:gareth.bryan@gmail.com]
> Sent: Monday, October 31, 2005 16:22
> To: users@subclipse.tigris.org
> Cc: alex@tmate.org
> Subject: Re: svnClientAdapter - compile time dependency on JavaSVN??
>
> I would actually prefer to see daylight between the two APIs.
> Perhaps svnClientAdapter can merely mirror the javasvn
> interface and only bind directly to it in
> JavaSvnClientAdapter and JavaSvnPromptUserPassword?
>
> That way the dependency would only be runtime, and users like
> me who can't go anywhere near JavaSVN because of the
> licensing issues (without paying for it, which, Alex, I'm
> trying desparately to sort
> out!) can continue using the JNI / CLI impls of ISVNClientAdapter.
>
> I'm keen to help out in any way I can to resolve this issue,
> because it is a showstopper for me and my usage of svnClientAdapter.
>
> Cheers,
>
> Gareth
>
> On 31/10/05, Mark Phippard <markp@softlanding.com> wrote:
> > Gareth Bryan <gareth.bryan@gmail.com> wrote on 10/31/2005
> 09:12:58 AM:
> >
> > > I've noticed in the latest release (0.9.36) that there is now a
> > > compile-time dependency between svnClientAdapter and JavaSVN.
> > > Specifically,
> > >
> > > "public class JhlPromptUserPassword implements
> > > org.tmatesoft.svn.core.javahl.PromptUserPassword4"
> > >
> > > I was just wondering if anyone on this list knew the reasons for
> > > introducing this dependency. I have the situation now
> where my app
> > > (which consumes svnClientAdapter) fails under 0.9.36
> unless I make
> > > javasvn.jar available on the classpath (NullPointerException at
> > > AbstractJhlClientAdapter line 1612).
> > >
> > > The requirement to distribute javasvn gives me
> significant licensing
> > > headaches. In fact, surely svnClientAdapter now has to be
> released
> > > under the tMate license?
> > >
> > > Would appreciate any clarifications on this issue. Should
> I post to
> > > the dev list?
> >
> > That interface was added for the new SSH prompting ability.
> Perhaps
> > we can work with Alexander to have this interface defined in
> > svnClientAdapter? Of course that adds a dependency for him.
> >
> > Mark
> >
> >
> >
> ______________________________________________________________________
> > _______ Scanned for SoftLanding Systems, Inc. and
> SoftLanding Europe
> > Plc by IBM Email Security Management Services powered by
> MessageLabs.
> >
> ______________________________________________________________________
> > _______
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> > For additional commands, e-mail: users-help@subclipse.tigris.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
Received on Tue Nov 1 02:29:54 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.