Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-17-2006, 01:58 PM
pmcclosk pmcclosk is online now
Registered User
 
Join Date: 01-24-2006
Location: State College, PA
Posts: 7
Project macro problem

Hi all,

Our build uses a perl script to get the latest code changelist number and creates a file named with this value. This works fine. The next step is a process files step that gets the changelist number file name. When we attempt to set a project macro named BUILD_NUM, it's getting lost. The set build num step is also not producing any output. We use this same sequence and configuration of steps in 2 other product builds, they are working great. This particular build is done in VBP 5.0. The others are done in 5.7. The above steps were working perfectly until approx. 2 weeks ago. Any ideas?

Thanks
Reply With Quote
  #2  
Old 03-17-2006, 05:55 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
If it has been working and then stopped working, it sounds like something changed in your build process. I would compare with the 2 builds that are still working or peruse the changes made to the build scripts and/or build machine configuration in the last 2 weeks.
Reply With Quote
  #3  
Old 03-20-2006, 08:26 AM
pmcclosk pmcclosk is online now
Registered User
 
Join Date: 01-24-2006
Location: State College, PA
Posts: 7
Thanks for the reply. I checked this against the two other builds, and they are all the same. This build file is also in source control and has not been modified since 1/20 of this year. I did notice that the problem began in the build for March 1st. The file versions now end in a 3 digit number where our 5 digit build number used to be. The 3 digit number is also incrementing, but with no apparent pattern. My next step is to talk to the application developers and see if anything has changed in the version resource files.
Reply With Quote
  #4  
Old 03-30-2006, 08:41 AM
pmcclosk pmcclosk is online now
Registered User
 
Join Date: 01-24-2006
Location: State College, PA
Posts: 7
I've tried a few things since posting this. The problem seems to be in the StampVer.exe tool that came with VBP. The build sets the correct changelist number, today's being 65540. In the output for the StampVer step, the build number is 1004. Here is the command for this step:

%TOOLSDIR%\StampVer "%SOURCE%\our_executable.exe" -p"%VERSION_NUM%.%BUILD_NUM%" -f"%VERSION_NUM%.%BUILD_NUM%"

When hovering over this, the %BUILD_NUM% macro displays 65540, the correct value. The step output is still showing 1004, and that's what the file is ultimately stamped with. A lot of our processes DEPEND on accurate file versioning. This all began on March 1st, is there a known bug in the StampVer.exe? This product is using VBP 5.0. We're too close to release for this particular product to put time into upgrading to a newer version of VBP on this particular machine.
Reply With Quote
  #5  
Old 03-30-2006, 08:47 AM
pmcclosk pmcclosk is online now
Registered User
 
Join Date: 01-24-2006
Location: State College, PA
Posts: 7
Let me apologize for the posting above, I've inherited this build and I am constantly finding out information about it. The StampVer.exe shows a different company in the version info. I'll try contacting them.
Reply With Quote
  #6  
Old 03-30-2006, 09:07 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
We don't make StampVer and it's not part of VBP. But it looks like a 2-byte unsigned integer (65535) limit in that product.
Reply With Quote
  #7  
Old 03-30-2006, 09:12 AM
pmcclosk pmcclosk is online now
Registered User
 
Join Date: 01-24-2006
Location: State College, PA
Posts: 7
Sorry about the mixup, I found out who the maker of StampVer was after posting. Thanks for input on this even though it's not your product causing the problem, I think that shows a lot about your company and its level of customer support.
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 09:10 AM.


Copyright © 1999-2023 Kinook Software, Inc.