In my Eclipse product I want to use svnkit library plugin. When I
Install subclipse plugin, svnkit is there, however when I try to use
svnkit library in my code, specifically:

SVNDiffClient diffClient = SVNClientManager.newInstance().getDiffClient();
diffClient.getDiffGenerator().setDiffUnversioned(true);

I get error that SVNDiffClient and SVNClientManager cannot be found.
To overcome this I added svnkit.jar to my plugin and added it to its
classpath which works, and when I launch product in IDE everything
works fine. I am not sure if this is correct way of doing it because I
have svnkit loaded in my target definition and it should be available
without adding a jar.

When I build the product I see the that svnkit plugin is not being
added in my product, and because of this setting of the code above
does not work. I am not sure why svnkit plugin is not being added
because it's available in target definition and my plugin and feature
depend on it. I tried asking this question on Buckminster forum (build
system we use), but haven't gotten a response yet. Perhaps someone
faced a similar issue and can share advise?

I spend sometime on this issue, so perhaps I am just overlooking
something dead simple?

Thanks,
Alex

Reply via email to