#1
|
|||
|
|||
Delphi VRC no longer generated correctly?
Visual Build Pro version 6. Delphi version 5.
Suddenly VisualBuild has decided to create resource text files with some extra lines (in bold below). Of course Borland's resource compiler rejects it. No idea what I might have changed to make this suddenly start happening. I am in trouble now, I cannot cut a version. Please help. Many thanks. 1 VERSIONINFO FILEVERSION 2007,6,9,0 PRODUCTVERSION 2007,6,9,0 FILEOS VOS__WINDOWS32 FILETYPE VFT_APP BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904E4" BEGIN VALUE "FileVersion", "2007.6.9\0" VALUE "FileDescription", "\0" VALUE "LegalCopyright", "(c) 2006 IMS Island Microsystems Ltd.\0" VALUE "Comments", "Release Candidate 3\0" VALUE "CompanyName", "Island Microsystems Ltd.\0" VALUE "InternalName", "" VALUE "LegalTrademarks", "\0" VALUE "OriginalFilename", "" VALUE "ProductName", "IMS Application Base\0" VALUE "ProductVersion", "2007.6.9\0" VALUE "PrivateBuild", "\0" VALUE "SpecialBuild", "\0" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x0409 0x04E4 END END |
#2
|
|||
|
|||
That is a valid version info resource (accepted by brcc32.exe 5.40 from Delphi 6 [oldest version we have] as well as multiple versions of MS rc.exe), and the VBP Make Delphi action has always generated a .vrc file in that format if one didn't already exist. Attached is a .bld file that works properly using VBP v6.4, Delphi 6, and version value of 2007.6.9.0, with build output of:
6/13/2007 1:30:25 PM: --------------------Starting Build: 'Untitled'-------------------- 6/13/2007 1:30:25 PM: Building project step 'Make Delphi'... setting version...compiling VERSIONINFO RC file... Borland Resource Compiler Version 5.40 Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved. updating VERSIONINFO resource...building... Borland Delphi Version 14.0 Copyright (c) 1983,2001 Borland Software Corporation WordPad.dpr(1)... 86 lines, 2.45 seconds, 603528 bytes code, 8953 bytes data. 6/13/2007 1:30:28 PM: Build successfully completed. Note that some information will be missing from the resulting version info resource if those lines are removed, but the Make Delphi action will not add those lines back into the .vrc file if removed externally. |
#3
|
|||
|
|||
<step action='Make Delphi'>
<AssemVer type='11'>-1</AssemVer> <FileVer type='11'>-1</FileVer> <Filename>%PACKAGEPATH%\IMXA50DBY.DPK</Filename> <Options>-Q /LE%RELEASEDIR%</Options> <ProdVer type='11'>-1</ProdVer> <Property1>%VER_COMPANYNAME%</Property1> <Property3>%VER_COPYRIGHT%</Property3> <Property5>IMS Application Base</Property5> <PropertyOn1 type='11'>-1</PropertyOn1> <PropertyOn2 type='11'>-1</PropertyOn2> <PropertyOn3 type='11'>-1</PropertyOn3> <PropertyOn4 type='11'>-1</PropertyOn4> <PropertyOn5 type='11'>-1</PropertyOn5> <UpdateDOF type='11'>-1</UpdateDOF> <Version>%VER_BUILD%</Version> <VersionSel type='3'>2</VersionSel> <buildfailsteps type='11'>0</buildfailsteps> <continueonfail type='11'>-1</continueonfail> <indent type='3'>1</indent> <name>DBY</name> </step> 6/13/2007 12:40:28 PM: Building global subroutine step 'DBY'... setting version...compiling VERSIONINFO RC file... Borland Resource Compiler Version 5.40 Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved. Error IMXA50DBY.vrc 3 21: Expecting BEGIN Process completed with exit code 20018 6/13/2007 12:40:29 PM: Step 'DBY' failed ...it does not seem to be valid for my copy of the same version (5.40) of the borland resource compiler ?!! If I remove the offending lines it compiles fine. I have changed something, but what? I was using the same suite of tools for months (years?) without an issue. Why has VisualBuild decided to start putting these lines into the VRC text file? It never used to. I cannot figure out what I have changed. When I rollback to months ago, or delete all the VRC, VisualBuild keeps inserting the lines which cause BRCC32 to fail. In other words, after months of uneventful building, I now have three applicatioins with hundreds of steps that are suddenly useless to me.... Not sure why you say it is a valid resource file. Just cut and paste the text and try it. We have the same version of BRCC32. Maybe you can look at that xml project step gobbledegook and spot what I have inadvertently changed. Appreciate your assistance, thanks. PS: Recent changes on my system? I installed CODESITE logger from RAIZE software. In the odd event there are some known intereferences.... |
#4
|
||||||||
|
||||||||
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
#5
|
|||
|
|||
Thank you for your attention. Much appreciated.
I uninstalled Codesite and everything went back to normal. No idea what that might have been. Many possible explanations. None obvious. Don't care. Gotta get back to work. Again, thank you for your prompt attention. PS: Yes, verified same version (v50.4.227.0) and only one copy on the drive. PPS: Also note we have released many versions to date with leading zeroes, never an issue for us. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|