Can you require Subclipse core and then use the SVNProviderPlugin.getPlugin().getSVNCliient() method it provides to get it?
Mark
> On Apr 23, 2014, at 5:34 PM, Robert Munteanu <robert.munteanu_at_gmail.com> wrote:
>
> Hi,
>
> The Eclipse plugin I'm developing - ereviewboard - depends on Subclipse for certain features. I need to narrow down some bugs so I'm trying to write Eclipse plug-in tests for that.
>
> What I want to achieve is get a ISVNClientAdapter, so I tried the following:
>
> 1. created an Eclipse test plugin, with the requirements
>
> Require-Bundle: org.junit,
> org.tigris.subversion.clientadapter,
> org.tmatesoft.svnkit,
> org.tigris.subversion.clientadapter.svnkit
>
> 2. Created a basic JUnit test
>
> @Test
> public void diffCreatorStuff() throws IOException, ClientException, SVNClientException {
>
> ISVNClientAdapter svnClient = SVNClientAdapterFactory.createSVNClient("svnkit");
>
> assertThat("svnClient is null", svnClient, notNullValue());
>
> }
>
> 3. Tried to execute the test, both as JUnit Plug-in test in Eclipse and using Tycho.
>
> Both tests fail, with the svnClient instance being null. I think that all that is needed is for the org.tigris.subversion.clientadapter.svnkit bundle to be present in the Eclipse environment, but I might be wrong.
>
> That being said, any idea on how to solve/debug this problem is welcome.
>
> Thanks!
>
> Robert
>
> ------------------------------------------------------
> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=3076941
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=3076944
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2014-04-23 23:55:01 CEST