Kinook Software Forum

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-06-2008, 05:22 AM
omar_ita omar_ita is online now
Registered User
 
Join Date: 08-01-2007
Location: The Roman Empire - Italy
Posts: 7
Question Vss Conditional Build

Hello,

we are registered VBP users and are extremely satisfacted of it! Now we need to do the following:

Get the History of a VSS project and, if there are Check-ins after a label, compile and relabel with an increased version number.
For example look at this vss history output:

History of $/TestProject ...

***** test.txt *****
Version 2
User: Admin Date: 2/06/08 Time: 11:13a
Checked in $/TestProject
Comment:

***************** Version 3 *****************
Label: "1.0.0"
User: Admin Date: 2/06/08 Time: 11:02a
Labeled
Label comment:

***************** Version 2 *****************
User: Admin Date: 2/06/08 Time: 10:24a
test.txt added

***************** Version 1 *****************
User: Admin Date: 2/06/08 Time: 10:23a
Created
Comment:

As you can see, we created the file, labeled it (1.0.0), then checked it out, modified and checked it in.
We would like to get the last label version (1.0.0), rebuild project with modified sources and label it increasing version (1.0.1). So automatically go in this scenario:

History of $/TestProject ...

***************** Version 4 *****************
Label: "1.0.1"
User: Admin Date: 2/06/08 Time: 11:16a
Labeled
Label comment:

***** test.txt *****
Version 2
User: Admin Date: 2/06/08 Time: 11:13a
Checked in $/TestProject
Comment:

***************** Version 3 *****************
Label: "1.0.0"
User: Admin Date: 2/06/08 Time: 11:02a
Labeled
Label comment:

***************** Version 2 *****************
User: Admin Date: 2/06/08 Time: 10:24a
test.txt added

***************** Version 1 *****************
User: Admin Date: 2/06/08 Time: 10:23a
Created
Comment:

I think the key is to execute vss history then get vss output and process it parsing the text rows.
How can we do it?

Thnks in advance
Reply With Quote
 


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 04:50 PM.


Copyright © 1999-2023 Kinook Software, Inc.