Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 05-03-2004, 07:07 PM
BoscoC BoscoC is online now
Registered User
 
Join Date: 08-29-2003
Posts: 7
Unhappy How to check in files recursively in VSS?

I have a VSS solution that contains a number of hierarchical projects, with web applications contained in one folder and components contained in another folder, similar to:

$/Projects/MyProject
$/Projects/MyProject/Web
$/Projects/MyProject/Web/WebApp1
$/Projects/MyProject/Web/WebApp2
$/Projects/MyProject/Objects
$/Projects/MyProject/Objects/Object1
$/Projects/MyProject/Objects/Object2

I have succeeded in setting the working folder for each project in the solution using the VSS 'WorkFld' step, I have succeeded in checking out all my AssemblyInfo.vb files recursively using the 'Checkout' step, I have succeeded in setting the Version Info for each file using the VS.NET step, but I'm having no success in recursively checking in the files that I've modified... the step seems to complete, but the files don't get changed in VSS. What could the problem be?

I'm not getting a "Files not checked in" message in the output window, and the files are correctly checked out to their respective folders, and modified correctly in those folders. I just can't get the files checked in - they remain correctly modified in their working folders, but they're no longer checked out, and the files aren't updated in VSS. This is driving me crazy...

I've attached a ZIP file with the BLD file and an RTF with the output log (only selected commands were executed, those directly related to setting the working folders, checking out the files, updating the version info, and checking in the files)
Attached Files
File Type: zip checkin problems.zip (8.9 KB, 1521 views)
Reply With Quote
  #2  
Old 05-03-2004, 09:03 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The easiest way is to avoid working folders altogether, and do a recursive checkin, specifing the base local path and equivalent base VSS project, as demonstrated in the VStudio.bld sample ('Check In All Files' step).

If you need to use working folders for some reason, these posts might be helpful:
http://www.kinook.com/Forum/showthread.php?threadid=354
http://www.kinook.com/Forum/showthread.php?threadid=1
Reply With Quote
  #3  
Old 05-04-2004, 12:22 PM
BoscoC BoscoC is online now
Registered User
 
Join Date: 08-29-2003
Posts: 7
Cool Excellent solution

Thank you "Administrator"

I removed the "WorkFldr" steps from my VBP file, and set the "Get", "Checkout" and "Checkin" commands to work recursively with base paths specified, and now everything works perfectly !!!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:27 PM.


Copyright © 1999-2023 Kinook Software, Inc.