Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Import of shared projects
Import of shared projects [message #38134] Tue, 18 November 2008 10:54
Kevin Russ is currently offline Kevin Russ
Messages: 5
Registered: July 2009
Junior Member
I'm currently using SVNKit 1.2.0 in a plugin to perform programmatically a
checkout of repository projects. After importing the projects into
workspace, not all of them are connected to the repository via the
subversive plugin.

The code looks like:

SVNClientManager svnClientManager = SVNClientManager.newInstance();
SVNUpdateClient svnUpdateClient = svnClientManager.getUpdateClient();
...
svnUpdateClient.doCheckout(svnUrl, projectFolder,...);
...
IProject importProject = workspace.getRoot().getProject(projectName);
importProject.create(...);
importProject.open(...);

When I afterwards perform "Team/Share Projects/Use project settings"
the subversive plugin shows them as connected. Is there a way to
do this step via API ?


Thanks in advance,
kevin.
Previous Topic:trunk dir inside branch
Next Topic:Find/Check out as... and svn:externals
Goto Forum:
  


Current Time: Wed Jul 23 10:12:04 EDT 2014

Powered by FUDForum. Page generated in 0.05004 seconds