Hello,
I have a Java program that runs successfully in Eclipse that uses
SVNWCClient.doInfo() method to get the committed revision information. Now I
want to use this Java program in Matlab. I added the same SVNKit .jar files
that I used in Eclipse in Matlab as well.
I am able to instantiate a SVNClientManager, ISVNAuthenticationManager, and
SVNWCClient classes. However, when I try and use .doInfo() method on a file
that is in the local working copy, I get the following Java exception:
Error using org.tmatesoft.svn.core.wc.SVNWCClient/doInfo
Java exception occurred:
org.tmatesoft.svn.core.SVNException: svn: The path 'C:\test_2\test_outofdate'
appears to be
part of Subversion 1.7 (SVNKit 1.4) or greater
working copy rooted at 'C:\test_2'.
Please upgrade your Subversion (SVNKit) client to use this working copy.
at
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.checkWCNG(SVNAdminAreaFactory.java:143)
at
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.checkWCNG(SVNAdminAreaFactory.java:145)
at
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:190)
at
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:366)
at
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:274)
at
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:301)
at
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:286)
at
org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3301)
at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2506)
at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2873)
The code works in Eclipse but not in Matlab. Any ideas what I'm doing wrong?
Thanks,
Aditya