Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Delphi 5: setting version from macro (https://www.kinook.com/Forum/showthread.php?t=2058)

DavidMacLean 09-18-2006 01:53 PM

Delphi 5: setting version from macro
 
A project macro VER is set to "2006.9.15"

Under the versions tab of a Delphi step, I "set the project version to a specific value ( The macro of course: %VER%)"

But I get only "2006" in the final result (the executable).

Yet when I do not use a macro, if I type the version number into the tab field instead of using %VER%, I get the desired result.

Syntax issue of some sort?
I tried various commas, quotes etc but no joy.


Thank you

kinook 09-18-2006 04:15 PM

We were unable to reproduce this problem. Please ZIP and post or send:
1) The info from Help | About | Install Info
2) The .bld file with the Make Delphi step
3) A build log file
4) The Delphi project (.dpr and .dof, no source code files)

Thanks.

DavidMacLean 09-18-2006 05:49 PM

Apparently I was drinking last Friday. Works this morning. Sorry to trouble you.

DavidMacLean 09-19-2006 11:19 AM

1 Attachment(s)
No I was not drinking :)

This problem has returned.

No version info. Something is flakey. All versions again coming out zero.

I do not know what I am changing to upset this balance...

kinook 09-19-2006 12:03 PM

Not sure. Please send #3 and #4. See the description of how the Make Delphi action sets versions at
http://www.visualbuild.com/Manual/delphiaction.htm

Are the documented steps being performed (perhaps the Delphi compiler is not including the version info for some reason?)?


All times are GMT -5. The time now is 11:45 PM.


Copyright © 1999-2023 Kinook Software, Inc.