Vault/Eclipse checkin adding files that already exist

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

Moderator: SourceGear

Post Reply
garumble
Posts: 19
Joined: Thu Feb 04, 2010 2:05 pm

Vault/Eclipse checkin adding files that already exist

Post by garumble » Tue Sep 06, 2011 12:22 pm

I have an Android project in Eclipse and when I try to check in the entire project, Vault wants to add files that already exist in the source tree. It also wants to add files that don't exist in the project or on the disk.

I can uncheck these items and continue, but it's an annoyance.

I'm assuming that something is cached and out of sync. What do I need to do to correct it?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Vault/Eclipse checkin adding files that already exist

Post by Beth » Tue Sep 06, 2011 1:32 pm

It's possible that there's some reference to these files in your Eclipse project, but we'll find out after removing the files from the pending change set. In Eclipse, there is a pending change set window just like there is in the Vault GUI client. Go to that window in either Eclipse or Vault. Are the adds you don't want listed there? If so, select them and either click the Undo button, or simply press the delete key on your keyboard.

If you still have something to check in, try checking in now and see if files are added again.
Beth Kieler
SourceGear Technical Support

garumble
Posts: 19
Joined: Thu Feb 04, 2010 2:05 pm

Re: Vault/Eclipse checkin adding files that already exist

Post by garumble » Tue Sep 06, 2011 5:08 pm

That worked, thanks.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Vault/Eclipse checkin adding files that already exist

Post by Beth » Wed Sep 07, 2011 8:16 am

Thanks for the update.
Beth Kieler
SourceGear Technical Support

garumble
Posts: 19
Joined: Thu Feb 04, 2010 2:05 pm

Re: Vault/Eclipse checkin adding files that already exist

Post by garumble » Sun Sep 18, 2011 12:04 pm

Is there documentation that shows the decorators used by Vault in Eclipse? I've searched but haven't found anything.
I have several in my package explorer that I don't understand.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Vault/Eclipse checkin adding files that already exist

Post by Beth » Mon Sep 19, 2011 8:48 am

I don't think they're supposed to be different than what we use for other integration: http://support.sourcegear.com/viewtopic ... 13&t=16990.

Can you post a screenshot of what you are seeing?
Beth Kieler
SourceGear Technical Support

garumble
Posts: 19
Joined: Thu Feb 04, 2010 2:05 pm

Re: Vault/Eclipse checkin adding files that already exist

Post by garumble » Sun Sep 25, 2011 12:40 pm

Unfortunately, no. I managed to get everything checked in and stable, so now all of the icons are the same. Thanks for the page, though. I'll reference it next time I encounter them.

Should the display auto refresh? I usually have to manually hit F5 when I've checked in/out to see the states change.

I also seem to have problems with the connection to the server dropping and not recovering. I have many fewer problems with Vault in VS. I frequently get a checkout failed message in Eclipse, I've never had one in VS. Once that happens, the file is renegade and often there's no visual indication of it. I've discovered it in the Vault client.

BTW, I'm using Eclipse 3.7 (Indigo) and Vault Client 5.1.1.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Vault/Eclipse checkin adding files that already exist

Post by Beth » Tue Sep 27, 2011 2:13 pm

There isn't an auto refresh currently between the Vault GUI client and the Eclipse client. I think it's due to one being based on .NET and the other based on Java. The VS client is .NET based.

The dropped connection will take more troubleshooting to identify a root cause.

Does the Vault server have more than one website?

Do you have any network outages or glitches?
Beth Kieler
SourceGear Technical Support

garumble
Posts: 19
Joined: Thu Feb 04, 2010 2:05 pm

Re: Vault/Eclipse checkin adding files that already exist

Post by garumble » Tue Sep 27, 2011 2:45 pm

Not sure what you mean by more than one website?

It's possible there are glitches, there's lots of infrastructure between the server and my development machine. Espcially when I'm remote.

Generally, when I get errors, I can open up the Vault client without difficulty. Not sure that's helpful if the the problem is transitory.

I have a disonance between the Vault client and the Eclipse GUI right now. Several files are showing as renegade in the client, but there's no indication in Eclipse. I checked because I was trying to check in and it only showed one file as changed when I knew I had edited several.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Vault/Eclipse checkin adding files that already exist

Post by Beth » Wed Sep 28, 2011 7:37 am

If you open the IIS Manager on the same server that the Vault server was installed on, you should see a listing of all websites. Usually a website is indicated by a globe, a virtual folder just has a folder, and and application has a gear or wheel on it.
Beth Kieler
SourceGear Technical Support

garumble
Posts: 19
Joined: Thu Feb 04, 2010 2:05 pm

Re: Vault/Eclipse checkin adding files that already exist

Post by garumble » Wed Sep 28, 2011 9:40 pm

Sorry, yes, I have one server and it hosts multiple web sites.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Vault/Eclipse checkin adding files that already exist

Post by Beth » Fri Sep 30, 2011 2:46 pm

With the connection dropping, that can cause cache problems if it drops in the middle of any cache updating. It would be good to identify why the connection is dropping.

Do the different websites use different ports on the server, or different IP addresses, or different host headers?

On whether Eclipse and Vault are syncing. a change in Eclipse won't kick off a refresh in Vault, but Vault can usually pick up changes fairly quickly if you make sure to save in Eclipse. After checking out and making a change in Eclipse, save the file (Ctrl - S), and then check your Vault GUI client. Any difference?

Vault has an auto-refresh that defaults to 10 minutes. If you need Vault to be up-to-date faster, you might try a shorter refresh time. That is set under Vault Tools - Options - General.
Beth Kieler
SourceGear Technical Support

garumble
Posts: 19
Joined: Thu Feb 04, 2010 2:05 pm

Re: Vault/Eclipse checkin adding files that already exist

Post by garumble » Wed Oct 05, 2011 11:49 am

I have a screenshot of the icons. How do I attach?

garumble
Posts: 19
Joined: Thu Feb 04, 2010 2:05 pm

Re: Vault/Eclipse checkin adding files that already exist

Post by garumble » Wed Oct 05, 2011 12:01 pm

Sorry, in reply to your post:
One IP, they are all virtual directories (i.e. http://somehost.com/website).

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Vault/Eclipse checkin adding files that already exist

Post by Beth » Wed Oct 05, 2011 2:23 pm

This might be a little easier to troubleshoot offline. Could you send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread? Include any screenshots you have with that email.
Beth Kieler
SourceGear Technical Support

Post Reply