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 Mon May 21, 2012 11:26 am




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Other users files not showing as checked out in .Net IDE
PostPosted: Mon Sep 26, 2005 4:11 am 
Hi,

I have just installed the trial version of your software. The client application works very well but I am having a problem with integrating with the .Net IDE.

All seems to work well other than the files checked out by other users are not showing as such (they do in the client version of your software). If you try to check out one of these files then an error is returned saying 'An error or user cancellation occured during the checkout'. Is there something I have missed while setting this up?

Thanks,


Top
  
 
 Post subject: More info
PostPosted: Mon Sep 26, 2005 4:14 am 
I should also add that I have only tried this with files checked by users using VSS not SourceAnywhere.


Top
  
 
 Post subject:
PostPosted: Tue Sep 27, 2005 1:24 am 
Offline
User avatar

Joined: Mon Mar 07, 2005 11:11 pm
Posts: 559
Hi rjames,

The VSS API does not provide a way to obtain the exclusive checkout status of a file.

So when a file is checked out by another user, SAW is unable to show the exclusive checkout status of the file.

_________________
Robert
Dynamsoft Support Team
Dynamsoft - The leading developer of version control and bug tracking software

Version Control System | Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting


Last edited by Robert on Tue Sep 27, 2005 4:07 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Ok, but why does it work in client but not ide
PostPosted: Tue Sep 27, 2005 3:19 am 
I can understand that you may not be able to get the full info from VSS, but what I don't understand is why you can display the info in your client software but not in the .Net IDE. It will be a pain if a user doesn't know a file is checked out until they try it.


Top
  
 
 Post subject:
PostPosted: Tue Sep 27, 2005 5:01 am 
Offline
User avatar

Joined: Mon Mar 07, 2005 11:11 pm
Posts: 559
Hi Rob,

We are sorry for the inconvenience.

SAW can get most checkout info, but the problem is that SAW can not know if a file is EXCLUSIVELY checked out by user or not.

In IDE, if a file is checked out by other user, SAW returns SCC_STATUS_OUTOTHER (which means the file is checked out by other). Since we do not know if the file is exclusively checked out or not, we can not return SCC_STATUS_OUTEXCLUSIVE (if return this, a checkout icon will be shown, but the IDE will prevent the file from being checked out).

Although the checkout status is correctly returned, the problem is that .NET IDE does not show a corresponding icon for the status of SCC_STATUS_OUTOTHER.

This behavior of SAW is the same as VSS if ?Allow multiple checkouts? is enabled in VSS. You can see it by yourself. The steps are:
1. Start VSS Admin
2. Select menu Tools->Options
3. In General tab, check ?Allow multiple checkouts?
4. Check out a file
5. Start your .NET IDE and log into VSS with another user name
6. You will see the checkout status is not correctly shown either.

In SAW explorer, the icon is shown by SAW itself, so we can show the checkout status.

Thanks.

_________________
Robert
Dynamsoft Support Team
Dynamsoft - The leading developer of version control and bug tracking software

Version Control System | Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting


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

It is currently Mon May 21, 2012 11:26 am


Who is online

Users browsing this forum: inetryconydot 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