Eclipse plugin and changing team sharing folder

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
frostkg
Posts: 2
Joined: Wed Jan 09, 2008 12:18 pm

Eclipse plugin and changing team sharing folder

Post by frostkg » Wed Jan 09, 2008 3:52 pm

We are using Eclipse for Java application development and we just now purchased Vault to use for source control.

I was adding all of my Projects to source control. While using "Team->Share Project" I accidentally selected a Vault folder location under another project's folder. I meant to place the folder at the top level directly beneath the Initial Repository.

How do I change the share folder path? The Team->Share Project menu option is gone, replaced Team->Add Patch, Get Latest, Add, ....
Am I missing something easy?

I used the Vault Client to move the folder to the top level and now, of course, Eclipse finds that it is missing from it's old location. Using Team->Add on the project wants to put the project files back in the old folder location.

Eclipse 3.3.1.1
Vault Eclipse Plugin 4.0.6.15954
SourceGear Vault Client Version 4.0.4 (15848)
SourceGear Vault Version 4.0.4.15848
All running on Windows 2003 Server

shannon

Post by shannon » Wed Jan 09, 2008 4:13 pm

If you have already moved the project within vault, it might be easiest to fix this with an import. Back up any changes to that project and delete it from your eclipse workspace. Then import that project from vault.

frostkg
Posts: 2
Joined: Wed Jan 09, 2008 12:18 pm

Post by frostkg » Thu Jan 10, 2008 11:05 am

Ok, that is a possibility.

I was looking at the Eclipse Team sharing with CVS documentations here:http://www.ibm.com/developerworks/opens ... s-ecshare/ and there is a Team -> Disconnect option mentioned.

I guess that "Team -> Disconnect" is not available with the Vault plugin?

shannon

Post by shannon » Thu Jan 10, 2008 11:18 am

No, there is currently no way to disconnect a project from Vault. Re-sharing wouldn't work even if you could disconnect because that project already exists in Vault and the Share operation is basically an Add to Source Control operation.

You could try setting the working folder from the gui client and then restarting eclipse. I'm not absolutely certain, but that may be enough to fix it.

Post Reply