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

[Subclipse-users] Problem Using SubEclipse API

From: debasis mishra <debasis_at_samsungsdsindia.com>
Date: 2007-11-22 08:06:21 CET

 Hello ,
I have created a sample appplication to interact with "Subversion".Its a
plugin project only.
All the Steps are given below
Steps :
1.For that I have added all subeclipse plugin in the dependency.
2.I have just reading one .java file from my workspace and trying to
Compare that .java file with the Head revision.(Programmatically)
Code snippet is given below
IWorkspace workspace = ResourcesPlugin.getWorkspace();
System.out.println(workspace);
IFile file = workspace.getRoot().getFile(new
Path("D:\\workspace\\Hello.java"));
final ISVNLocalResource localResource=
SVNWorkspaceRoot.getSVNResourceFor(file);
I am getting the NoClassDefoundError for SVNWorkspaceRoot. ClassLoader
vis not able to find the class SVNWorkspaceRoot.
Anywhere anything I am missing?
Thanks in advance
Debasis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu Nov 22 14:50:02 2007

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