The leading provider of version control solution and TWAIN SDK
The leading provider of version control solution and TWAIN SDK

Dynamsoft Forums

Support for Version Control, Bug Tracking and Configuration Management Software
* Login   * Register
* FAQ    * Search

It is currently Wed May 16, 2012 7:53 pm




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Issue in VSS and Eclipse with Force.com IDE Integration
PostPosted: Tue Apr 07, 2009 8:31 pm 
Offline

Joined: Tue Apr 07, 2009 8:27 pm
Posts: 3
Hi,

We are facing an issue after integrating VSS and Eclipse with force.com IDE. When two different users check out a file(S-Control, Trigger…) from VSS to Eclipse working folder and after performing the changes try to check-in the file back from Eclipse working folder to VSS the eclipse gets hanged and the file doesn’t get checked-in.

Problem Description

Suppose there are two users- User A and User B.
These two users try to update two different files say - User A Check Outs Trigger A and User B check out Trigger B ,which are both under a common folder called unpackaged in VSSto their corresponding working folder in Eclipse.

There is package.xml file for each force.com related folder in VSS.This file also gets checked out whenever we check out any file under the folder. It will be checked out in any user name depending on who-ever checked out a file first from VSS.

Now when both the user try checking in the Trigger A and Trigger B file back from Eclipse working folder to VSS the eclipse gets hanged and doesn’t allow to check-in because of this package.xml file being checked out.

The users have to close all applications and then do changes one by one to solve this problem.


Is there any way that this problem can be avoided?


Thanks
Priya


Top
 Profile  
 
 Post subject: Re: Issue in VSS and Eclipse with Force.com IDE Integration
PostPosted: Wed Apr 08, 2009 5:21 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
Hi Priya,

You may try setting the VSS Database including the folder to allow multiple checkouts.

For information on how to do it, you can take a look at this article:
http://www.kevingao.net/sourcesafe/lock ... merge.html

Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: Issue in VSS and Eclipse with Force.com IDE Integration
PostPosted: Wed Apr 08, 2009 7:46 pm 
Offline

Joined: Tue Apr 07, 2009 8:27 pm
Posts: 3
Hello Catherine,

Thanks a lot for your response.
I would like to know one more thing. Using multiple check-outs is a good option since VSS will merge the contents together before checking-in but what if two user modify the same section of a file. In that case the contents of that section will be overwritten right?

Please suggest.

Thanks
Priya Nair


Top
 Profile  
 
 Post subject: Re: Issue in VSS and Eclipse with Force.com IDE Integration
PostPosted: Thu Apr 09, 2009 6:34 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
Hi Priya,

If they modify the same section, you can use visual merge to merge the two changes.

For information on merge, please see: http://www.kevingao.net/sourcesafe/file-merge.html

Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: Issue in VSS and Eclipse with Force.com IDE Integration
PostPosted: Thu Apr 09, 2009 7:20 pm 
Offline

Joined: Tue Apr 07, 2009 8:27 pm
Posts: 3
Hello Catherine,

Thanks a lot for the help.

Regards
Priya


Top
 Profile  
 
 Post subject: Re: Issue in VSS and Eclipse with Force.com IDE Integration
PostPosted: Thu Apr 09, 2009 9:23 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
You are welcome :D

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

It is currently Wed May 16, 2012 7:53 pm


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

Copyright © 2010 Dynamsoft Corporation. All Rights Reserved. | Knowledge Base | Source Control Blog