Solved

SourceSafe Automatic Web Deployment

Posted on 2003-11-20
3
1,089 Views
Last Modified: 2007-12-19
We recently installed SourceSafe 6.0c on our server to help us manage and control development on our website.  We are using VS.NET to develop ASP.NET (VB.NET code behind) pages on our local machines.  We are connected to the VSS database through a program called VSS Connect, which is a TCP/IP based interface for all SourceSafe commands.

Everything works fine; we can check out and check in files..bla bla bla.  OUR PROBLEM: we want files that are checked in to be automatically deployed to the live site (we have no need for a dev server). The project is configured as a web project in VSS Admin and we CAN deploy the site from the server manually.

Question:
Is there ANY way to setup SourceSafe so that it will automatically deploy checked-in pages so that they can be instantly viewed on the web?

Last note, we currently check files in and then FTP the changed files to the servers web directory.

Thanks-
0
Comment
Question by:Tanglin05
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
D_M_D earned 250 total points
ID: 9799039
Here an idea...

1. Need to have 2 identical working folder in SourceSafe.  one for local and one for production.
2. Need to share all the files between the 2 working folders.
 
Assumming SourceSafe 6.0 isn't that much different than 5.0.  If you have the same directory structure created locally as you do in Production then you can create a development area in SourceSafe and set the working folder to your local folder.  Then share all the files between the development area and Production (with the production folder being set to the production path).  Then all you need to do is make your changes locally then check-in the files.  Then go to the Production Folder and right click the folder and select Get Lastest Version and all the changed files are updated in production.  This is how we handle it.

Hope this helps

--------
D_M_D
0
 
LVL 7

Author Comment

by:Tanglin05
ID: 9800896
Thanks for the suggestion.  I will try this out over the weekend and report my results on Monday.

Also, do you know if this process will work for updating the site .dlls after they've been rebuilt?  We've been running into the situation where we actually have to rebuild the projects on the server for them work. If we rebuild locally and upload the .dll, none of the pages can find there necessary classes. I don't think there is anything special about uploading a .dll to the bin folder, but maybe you've had some experience with this.

Either way, I'll report back soon. Thanks-
0
 
LVL 7

Author Comment

by:Tanglin05
ID: 9918436
Ok-

Sorry to be long in the update. After trying several different scenarios I've developed the method that works best for our situation. The real key to the solution was being able to establish VPN connections between our office and remote developer's computers. With a VPN connection, developers can compile their .dlls locally and then drag and drop them into the server's bin folder (afert doing a SourceSafe "Get Latest", of course...)

We are going to use the VssConnect tool for remote SourceSafe access. It is a GREAT tool for TCP/IP sourcesafe work and is EXTREMELY affordable ($29.95 per CAL).  The deploy command works great for making any changes to checked-in source code go live on the web site, but since the .dlls are not controlled by sourcesafe they have to be copied manually as mentioned earlier.

Last note, the "Deploy" command in VssConnect works much like the "Get Latest" function described by D_M_D, only advantage being you can issue the command over TCP/IP

Thanks for your pointers and good luck to anyone setting up a remote SourceSafe development environment!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
app server have enough resources... 2 41
how to build a intranet site 8 37
keyword rich ebay title, description 2 36
ASP.NET MVC 2 31
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question