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

[Subclipse-users] Using SubEclipse API

From: Debasis Mishra <debasis1982_at_gmail.com>
Date: 2007-11-22 08:21:06 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

**

**

* *
Received on Thu Nov 22 10:11:59 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.