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 12:28 pm




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Should we keep binaries in source safe
PostPosted: Wed Nov 26, 2008 9:10 pm 
Offline

Joined: Wed Nov 26, 2008 9:06 pm
Posts: 2
I am fit confused, would be good if anybody can answer.

I have one large project, build scripts check out the source code and build the project. Build script also use some utilities for tiny work. I am keeping the source code of utility as well as binaries in source safe. Build script uses existing binaries present in the source safe before actual compilation. Question is:

There are two approaches to build project:

Keep binaries of utilities in source safe.
1. Keep the source code as well as binaries in source safe, build script will check out the source code of main project and binaries of utilities, and will use binaries for various tiny work before actual compilation.

2. Keep the source code only, build script will build the utilities first then use those utilities before compilation.


Which approach should follow ?

Thanks,
Navin


Top
 Profile  
 
 Post subject: Re: Should we keep binaries in source safe
PostPosted: Fri Nov 28, 2008 5:37 am 
Offline
User avatar

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

I think if you choose method #1 or #2 depends on if the binary files are changed very often. If the binary files are changed very often, it is usually not recommended that you save the binary files in SourceSafe.

I think for your scenario, the #2 method is ok. The build script can build the utilities first and then use those utilities. Besides, if the binaries are large, it may be slow for the build script to check out the binaries.

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: Should we keep binaries in source safe
PostPosted: Fri Nov 28, 2008 8:57 am 
Offline

Joined: Wed Nov 26, 2008 9:06 pm
Posts: 2
But what I personally feel is, from the future point of view we should always keep source code, regardless of size even if build script takes time for build. The reason is if project goes to different hands, and when you always sure that binaries are of latest code etc etc.

But I am new to this team and they are maintaining binaries in source safe, even along with source. But build script always used pre-built binaries.

I advised them, it would be good to maintain source and update build scripts to compile n use.

-Navin


Top
 Profile  
 
 Post subject: Re: Should we keep binaries in source safe
PostPosted: Mon Dec 01, 2008 7:39 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
>it would be good to maintain source and update build scripts to compile in use.

We agree with you. :)

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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

It is currently Mon May 21, 2012 12:28 pm


Who is online

Users browsing this forum: No registered users and 1 guest


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:  

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