Import of shared projects [message #38134] |
Tue, 18 November 2008 15:54 |
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03530 seconds