| 
CM Crossroads
Welcome, Guest
Please Login or Register.    Lost Password?
Re: Managing Builds using VSS (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re: Managing Builds using VSS
#92770
zain (User)
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Managing Builds using VSS 1 Month, 2 Weeks ago Karma: 0  
Hi,

I am new to SCM, anyone could suggest how to go about managing builds and releases using Visual Source Safe 6.0d and VS 2005.
Though from all the material what I could garner from the web, I have learnt that we need to have a dedicated machine for build and release management. I am stuck at primarily at these
1) Is it a must and should that build tool needs to be in place, or can it be done using VS 2005 at the build machine.
2) The version numbers for build and releases should they be managed from the build machine only prohibiting developers to make any changes to version numbers.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#92772
robertc (User)
Robert has 20 years of experience in software deve
Posts: 131
graphgraph
User Offline Click here to see the profile of this user
Re: Managing Builds using VSS 1 Month, 2 Weeks ago Karma: 0  
The key thing is that you need to ensure:

- everything that is built comes out of your repository (VSS) and is clean (not changed locally). So one approach is to remove everything locally and do a clean get.

- the build process is reliable and repeatable - same results every time

Manual build processes are not good for satisfying the latter requirement - too many options for things to be done differently if the person doing things gets distracted etc.

It is certainly possible to use VS on the build machine to do your builds, but I would do it by driving VS from the command line. So a single batch file which causes VS to build everything is fine. Checkout command line options for devenv.exe - it's not hard.

As to version numbers - you should be checking these in, so as long as you control them that's fine.

HTH
Robert
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#92774
zain (User)
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re: Managing Builds using VSS 1 Month, 2 Weeks ago Karma: 0  
Truly your response helps.

"So a single batch file which causes VS to build everything is fine. Checkout command line options for devenv.exe - it's not hard."

Yup, I shall look into those options, apart from that is there any online examples/help on the same.

"As to version numbers - you should be checking these in, so as long as you control them that's fine."

The checking in of version numbers, I believe should be done at the build machine, wherein the developers machine do not have the facility of changing the version number. Its only when the build/release is made from the build machine, the version number of the build/releases change.
Correct me if I am wrong on this.

Appreciate your response.
Thanks.
Zain
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#92783
robertc (User)
Robert has 20 years of experience in software deve
Posts: 131
graphgraph
User Offline Click here to see the profile of this user
Re: Managing Builds using VSS 1 Month, 2 Weeks ago Karma: 0  
There's this really useful site called google where a search on a string like "devenv command line" might just find you some useful examples

See also:

devenv /?

As to versions, if I am building I don't care what developers do to them - I reserve the right to change things (and check them in).
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#92795
zain (User)
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re: Managing Builds using VSS 1 Month, 2 Weeks ago Karma: 0  
Thanks a lot for your response. It really did make things clear for me.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
If you already have an account on CM Crossroads, Login Now. If you do not, register using the link below...

NOTE: Once you register you will need to activate your account by clicking the link sent to you by email.

Video News

Agile in turbulent times Webinar