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 Rate Thread Display Modes
  #1  
Old 11-08-2005, 04:35 PM
k_shehadeh k_shehadeh is online now
Registered User
 
Join Date: 11-08-2005
Posts: 6
Perforce Sync and Capture Output

I need a way to perform a perforce sync (which I know how to do) then based on the output of the command determine if any the build needs to continue. That is, if nothing was out of date then I can assume that no build has to be made yet and the script will exit.

Does anyone have any example code for doing this?

Thanks,
Karim
Reply With Quote
  #2  
Old 11-09-2005, 08:14 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Attached is a project showing one way to do this. Also, the ContinuousIntegration.bld sample demonstrates another method (using a last build timestamp and the changes command).
Attached Files
File Type: bld p4build.bld (1.6 KB, 1570 views)
Reply With Quote
  #3  
Old 11-09-2005, 09:12 AM
k_shehadeh k_shehadeh is online now
Registered User
 
Join Date: 11-08-2005
Posts: 6
That worked perfectly. Thank you!
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 01:58 AM.


Copyright © 1999-2023 Kinook Software, Inc.