Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-19-2004, 07:58 PM
mwthomas mwthomas is online now
Registered User
 
Join Date: 02-19-2004
Posts: 4
Conditionally add file to VSS

After completing a build, I want to check the executables into VSS. But if the execuatables are not in VSS already, I want to add them. Additionally, some executables are in VSS, and a new executable, or resource file, etc. is added in a later release, I want to automatically add the new file to VSS as well.

I was thinking of doing a checkin and allowing that to fail and in the fail step add the missing file. But then, once the problem has been corrected, I would need to go back to the original script and continue where it left off.

Can anyone provide suggestions on how i can do this?

Thanks!
Reply With Quote
  #2  
Old 02-19-2004, 08:47 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Mark the check-in step to Ignore Failure. Put the Add step next, with a conditional build rule to build only if %LASTSTEP_STATUS% is not equal to 0.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 05:12 AM.


Copyright © 1999-2023 Kinook Software, Inc.