Hi Mark Phip,
Thanks a lot for the reply.But I think I am missing some jar or plugin.
I am giving you the list of plugin that I have added in the built path.
1.My question is any other plugin or jar I need to add in the build path?
2.I want to checkin and check out my project on a single button click if
there is no conflict,thats why I am using subclipse API to communicate to
SVN.or is there any other approach for that?
Thanks in advance,
On 11/22/07, Mark Phippard <firstname.lastname@example.org> wrote:
> On Nov 22, 2007 2:21 AM, Debasis Mishra <email@example.com> wrote:
> > Hello
> > I have created a sample appplication to interact with "Subversion".Its
> > 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
> > not able to find the class SVNWorkspaceRoot.
> > Anywhere anything I am missing?
> Is this solely a runtime problem or are you seeing this in the
> development environment too (compiler error?). I know that due to the
> "JAR within a JAR" deployment of our core plugin in 1.2.4 you have to
> have it checked out in order to develop against it.
> At runtime, it would seemingly be a dependency problem. Maybe you
> have to force the plugin to load? Try SVNPluginProvider.getPlugin()
> before you run this other code?
> Mark Phippard
Received on Fri Nov 23 11:41:03 2007