Vault/Eclipse checkin adding files that already exist
Moderator: SourceGear
Vault/Eclipse checkin adding files that already exist
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?
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?
Re: Vault/Eclipse checkin adding files that already exist
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.
If you still have something to check in, try checking in now and see if files are added again.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Vault/Eclipse checkin adding files that already exist
That worked, thanks.
Re: Vault/Eclipse checkin adding files that already exist
Thanks for the update.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Vault/Eclipse checkin adding files that already exist
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.
I have several in my package explorer that I don't understand.
Re: Vault/Eclipse checkin adding files that already exist
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?
Can you post a screenshot of what you are seeing?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Vault/Eclipse checkin adding files that already exist
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.
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.
Re: Vault/Eclipse checkin adding files that already exist
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?
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
SourceGear Technical Support
Re: Vault/Eclipse checkin adding files that already exist
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.
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.
Re: Vault/Eclipse checkin adding files that already exist
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
SourceGear Technical Support
Re: Vault/Eclipse checkin adding files that already exist
Sorry, yes, I have one server and it hosts multiple web sites.
Re: Vault/Eclipse checkin adding files that already exist
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.
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
SourceGear Technical Support
Re: Vault/Eclipse checkin adding files that already exist
I have a screenshot of the icons. How do I attach?
Re: Vault/Eclipse checkin adding files that already exist
Sorry, in reply to your post:
One IP, they are all virtual directories (i.e. http://somehost.com/website).
One IP, they are all virtual directories (i.e. http://somehost.com/website).
Re: Vault/Eclipse checkin adding files that already exist
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
SourceGear Technical Support