Hello Alex, I can't say for sure, but what if you look at the way Subclipse plugin defines dependency on SVNKit? You probalby should define it the same way in your plugin's manifest.
Alexander Kitaev, TMate Software, http://subgit.com/ - Svn to Git Migration! http://svnkit.com/ - Java [Sub]Versioning Library! http://hg4j.com/ - Java Mercurial Library! http://sqljet.com/ - Java SQLite Library! On 6 September 2012 16:31, Alex Kravets <kravets....@gmail.com> wrote: > 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 >