Option "Auto Generate Build number" replaces "Auto Increment Build number"?

In Project Options, Version Info I usually tick "Include Version Info in project", and then tick "Auto increment Build Number".

This worked in my last Delphi IDE (Delphi 2007).

Having upgraded to Delphi XE2 "Auto Increment Build Number" has been replaced with "Auto Generate Build Number".

This new choice seems to generate a long number ... not a number which appears useful to me in any way. Probably I haven't read some detailed explanation of the new feature which might be hidden away somewhere ;-).

Can I get "Auto Increment Build Number" back in any way??? It is really useful for me to have a simple, linear, incremented count of the particular build of my various applications!
0
Adam
11/4/2012 5:54:30 PM
embarcadero.delphi.ide 3925 articles. 0 followers. Follow

10 Replies
1957 Views

Similar Articles

[PageSpeed] 20
Get it on Google Play
Get it on Apple App Store

Adam Brett wrote:

> This new choice seems to generate a long number ... not a number
> which appears useful to me in any way. Probably I haven't read some
> detailed explanation of the new feature which might be hidden away
> somewhere ;-).

It are the seconds of the day.

See also "Bug in XE3: Auto gen build number - new exe has lower version
than old exe" here in .delphi.ide
https://forums.embarcadero.com/thread.jspa?threadID=79097

> Can I get "Auto Increment Build Number" back in any way??? It is
> really useful for me to have a simple, linear, incremented count of
> the particular build of my various applications!

No, not in XE2. It has been (re)added as additional option to XE3.
-- 
Uwe Schuster | Hero of the Delphi 2010 FT
http://www.bitcommander.de/blog
0
Uwe
11/4/2012 6:13:52 PM
Adam,
Search back for a thread around 15 July of this year in embarcadero.public.delphi.install where Jeff 
Overcash gave me the solution for this problem using Delphi XE2. It works, a treat !!! Very happy 
with it.

Jim Fleming
0
Jim
11/5/2012 10:14:19 AM
Adam,

Sorry, my previous reply should refer to Ken White, not Jeff Overcash. Read the referenced thread 
and if you have any queries, come back here and maybe we can help.

JF
0
Jim
11/5/2012 10:17:49 AM
>>No, not in XE2. It has been (re)added as additional option to XE3

:(

I just spent 15 days upgrading from Delphi 2007 to XE2 I cannot possibly start another upgrade cycle now. I just can't afford to lose the work-time, let alone all the other costs that go with upgrading!

Using the seconds in the day (copying VS) for a build number seems really brainless, though I suppose there is a need to keep things similar to the way Microsoft do things. 

Thanks.
0
Adam
11/5/2012 11:30:27 AM
Dear Jim,

Thanks for this. Took me a little while to find the source you'd written but it is tremendously helpful.

I think Embarcadero made a typical and stupid mistake removing the "AutoIncrement Build Number" ... what were they thinking! I guess I should be used to it after 20 years of programming Delphi. There are loads of good things about the product too of course.

But a feature like that will obviously be being used by thousands of programmers, often for mission critical functions in our applications.

The worst part is the fact that the layout of the Options page is the same! I saw "Auto generate build number" ticked on the options page & just went ahead & rebuilt assuming that it was the same as "Auto increment build number" ... it was only when I actually needed the functionality in discussion with a customer that I suddenly saw that it had vanished.

Then I looked like a total amateur "oh, sorry, what? your build number is what? ... um goodness I don't know what's happened here."

It would be great if they could put it right in a patch, but I think XE2 is probably officially "closed" now. All their efforts are on patching XE3!
0
Adam
11/5/2012 11:49:29 AM
Adam Brett wrote:

> > > No, not in XE2. It has been (re)added as additional option to XE3
> 
> :(
> 
> I just spent 15 days upgrading from Delphi 2007 to XE2 I cannot possibly start another upgrade
> cycle now. I just can't afford to lose the work-time, let alone all the other costs that go with
> upgrading!
> 
> Using the seconds in the day (copying VS) for a build number seems really brainless, though I
> suppose there is a need to keep things similar to the way Microsoft do things.

Hi Adam,
I fully agree with you about the build number being seconds of day, phew.
I'm still on D2010 (which has good old autoincrement instead of autogenerate), so not directly
affected.

You could consider to disable the autogenerate and manually change the build number when you feel
it's OK. I do it myself when I am ready with a specific task and use the build number as an index
to my documentation of changes.

Cheers
Tom

-- 
Tom Brunberg
firstname.surname@welho.com
0
Tom
11/5/2012 12:09:14 PM
<Adam Brett> escribió en el mensaje news:519430@forums.embarcadero.com...
> Dear Jim,
>
> Thanks for this. Took me a little while to find the source you'd written but it is tremendously 
> helpful.

Thanks to Ken White for the idea and technique.

> I think Embarcadero made a typical and stupid mistake removing the "AutoIncrement Build Number" 
> ... what were they thinking! I guess I should be used to it after 20 years of programming Delphi. 
> There are loads of good things about the product too of course.

They dropped a major clanger with this one. It has surprised me they have not included a patch in 
any of the 4 updates. The cynic in me thinks they held it back (or gave it lower priority) so as to 
improve the chances that more copies of XE3 would be purchased. Shame on them,
and then they got it wrong again, I think, in XE3, so it needs a further patch to get it back to how 
it was, if I'm not mistaken.

> The worst part is the fact that the layout of the Options page is the same! I saw "Auto generate 
> build number" ticked on the options page & just went ahead & rebuilt assuming that it was the same 
> as "Auto increment build number" ... it was only when I actually needed the functionality in 
> discussion with a customer that I suddenly saw that it had vanished.

Been there, got bitten by it also, in an expensive way, unfortunately.

> It would be great if they could put it right in a patch, but I think XE2 is probably officially 
> "closed" now. All their efforts are on patching XE3!

I wish Embarcadero would patch this in XE2, as I cannot afford to upgrade to XE3 as that would 
require updating 8 other software products at the same time, for little extra value other than the 
Auto-Increment patch. I don't need or use FMX or all that mobile functionality, nor will I need to. 
My only application is and can only be desktop, by its nature (big screen needed, with lots of CPU 
power, database access, etc).

JF
0
Jim
11/5/2012 11:35:20 PM
Jim wrote:

> I think, in XE3, so it needs a further patch to get it back to how
> it was, if I'm not mistaken.

XE3 re-adds the "Auto-Increment" option, in addition to keeping the "Auto-Generate" 
option.  So what exactly "needs a further patch"?

> I wish Embarcadero would patch this in XE2

AFAIK, Borland/Inprise/CodeGear/Embarcadero has never released a patch for 
an older version once a newer version has been released.  I doubt we will 
see any more XE2 updates now that XE3 is available.

--
Remy Lebeau (TeamB)
0
Remy
11/5/2012 11:51:18 PM
Remy Lebeau (TeamB) wrote:
> Jim wrote:
>
>> I think, in XE3, so it needs a further patch to get it back to how
>> it was, if I'm not mistaken.
>
> XE3 re-adds the "Auto-Increment" option, in addition to keeping the "Auto-Generate"
> option.  So what exactly "needs a further patch"?

It was re-added with a new bug, see QC #108447:
> http://qc.embarcadero.com/wc/qcmain.aspx?d=108447

When "auto-increment build number" is activated, both "Release" and 
"Build" edits are disabled! This is different from XE and all previous 
Delphi IDEs, where all four edit fields are enabled and you could enter 
your version informations manually *AND* let the compiler increase the 
build number.


Achim
0
Achim
11/6/2012 3:44:23 PM
Thanks, Achim, that's the remaining bug that EMBT needs to address, as well as restoring the 
Auto-increment functionality to XE2 as it was withdrawn without proper research amongst its their 
user base. To only restore it in the next version when that next version has nothing for pure 
Windows desktop applications, being primarily a further step into the mobile and FMX worlds, is 
pulling our collective legs.

JF
0
Jim
11/6/2012 5:32:12 PM
Reply:

Similar Artilces:

replace the "." with a ","
Oi.... I need to build a small programm in ASP.NET and chose to use C# for it.Now i got everything working but there's one little problem.the first textbox is a double. I need to make it so that when someone enters a "." then it gets replaced by a ","any ideas?Ghan  string blah = "4.2.2.2";blah = blah.Replace(".", ",");Ryan Ryan OlshanASPInsider | Microsoft MVP, ASP.NEThttp://ryanolshan.comHow to ask a question...

Replacing "\\" with "\"
Hi all I'm getting this value from a CheckBoxList control - a location of file, i have to remove "\\" and replace it with "\" and pass it to Query, how to do it, i tried with Replace, but coud'nt suceed. "\\\\Blaze10xp\\BLZ_SFS_07\\Sample Excel Files\\Excel Files\\report2.xls" thank's in advance - Prakash.C you tried Replace like this? string newstring = oldstring.Replace(@"\\",@"\");Plese, do not forget to click "Mark as Answer" on the post that helped you. Thanx!My blog: Scenes From A Developer Memory yes i tr...

Precedence of "where" ("of", "is", "will")?
Nobody on #perl6 today could answer this one. Is: Str | Int where { $_ } the same as: (Str | Int) where { $_ } or: Str | (Int where { $_ }) ? Followup questions, Mr. President: What kind of operators are "where", "of", "is", and "will"? Is there a reason that S03 doesn't list them? What are their precedence(s)? -- Chip Salzenberg - a.k.a. - <chip@pobox.com> Open Source is not an excuse to write fun code then leave the actual work to others. Chip Salzenberg writes: &...

.ALLCOL("%COLUMN%", " ", ", ", ", ")
Do you know anyway for me to exclude a subset of columns returned by this function. We have two columns (rec_user and rec_datetime) which are in all of our tables, but when generating triggers I want automatically generate a script which does not include those two columns but does include all other columns in that table. Bruce I should add that I am using PD 9.0.0.580. Bruce "Bruce Lamb" <lamb.bruce@mayo.edu> wrote in message news:6HgI315nCHA.155@forums.sybase.com... > Do you know anyway for me to exclude a subset of columns returned by this > function. ...

<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true"/> problem
HelloI have the above in the web.config, and have the en-US as default and da-DK as second language. My goal is that it automatically uses the da-DK, if the browser has Danish [da] as language. It only works, when I request the frontpage, everything is in danish, however if I click a link, it switches to en-US. I have a Master Page and in the Page_Load event I have:        Response.Write(System.Threading.Thread.CurrentThread.CurrentCulture);And on EVERY page, it writes da-DK, but why isn't it using the danish resources??CheersKen Well, I found out that my...

quotes, quotes, quotes...
I am getting this error and I know what is causing it, but I have no idea how to fix it, any help would be great. The script steps through the /var/log/messages file on a linux server and puts The entries into a mysql database. However when it gets to the 'hlt' line in the messages file it just barfs. The single quotes are freaking it out. I know about quotes but not how to use in this situation. Thanks, Paul Error: May 27 17:53:00 localhost kernel: Checking 'hlt' instruction... OK. <----- doesn't like this in the messages file DBD::mysql::st exec...

Script to perform a "Get latest", then a "Build", then a "Publish"
I frequently have to copy out of source safe, the latest version of some source code. Then perform a build and then a publish. The publish is published to a local directory where I then copy it out to a server. This is a bit of a hassle to have to do all of this mannualy. What I would prefer to do is to use some type of script that would do this. Does anyone know if this is possible? I can manage copying to the server. I just need a script that I could kick off to do the following. 1. Copy the latest source code for the project out of source safe. 2. Perform a build of the projec...

replace("\","/") in c#
Hi Guys Please can you help me with the above command, I am getting an error CS1010: Newline in constant  this is what i was using temptxt.Replace("\", "/"); thanks in advance hesh   orangelightblub:"\" Didn't test this but I think it should be"\\" or @"\"instead.Grz, Kris. Read my blog. Handy Firefox plugins for web developers.Workaround for non working Mark as answer buttons. Legend! Thanks Hesh  Hi XIII          Can you explain what is @ in the replace fun...

About "Tools" "Options"
Name: Dominick Email: dominickdotfooatgmail.com Product: Firefox Summary: About "Tools" "Options" Comments: Dear Sir/Madam : I just found a tiny things from Firefox 2.0 . Not too sure is it bug or not. When I try to change my "first page" on "Tools" "Options". It can't show proper web address when I open several sub pages. It will show all pages web address together on the blank when u try to change the "first page". Sorry for my poor english. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-T...

No "make", "nmake", or "dmake" in build 628 of ActivePerl for Win32?
Hi, I'm trying to build modules on a Win2K system using the Perl make command. What do I need to do? When I try to use it after building a Makefile, Perl can't seem to find here's what I get: >perl Makefile.PL Checking for URI ... Checking if your kit is complete ... Looks good Writing Makefile ... >dmake dmake is not recognized as an internal or external ... >perl -V:make make='nmake'; >nmake 'nmake' is not recognized as an internal or external ... >make 'make' is not recognized as an ... ______________...

D2007: discrepancies between "building" and "compiling"
I'm running RAD Studio 2007. Until recently, I was unaware of any difference between "building" (Shift+F9) and "compiling" (Ctrl+F9), other than the nature of recompiling everything when you build, instead of some things. However, after some recent changes to some of our unit test code by a contractor, I now find that "building" the unit tests results in an executable that always runs in GUI mode, regardless of the project settings. "compiling" yields an executable that behaves as expected, honoring the CONSOLE_TESTRUNNER flag, when set. Any ...

Using "+" or "||"
Using SQLAnywhere 5.5.04, I've gotten into the habit of using "||" in ISQL to indicate a string concatenation. I needed to paste my SQL statement into the PowerBuilder script painter for some embedded SQL, and PB didn't like the "||" very much at all. I changed it to "+" and it seems to be ok. Do these two operators indicate ~exactly~ the same thing? moin, afaik these two's are not the same! if you're using "||" and any term is NULL then in the resultstring the term will be ignored if you use "+" then the resu...

auto-fill in forms needs to auto fill by "tab" or by "enter"
Name: Peter Bassett Email: breatheandprosperatyahoodotcom Product: Firefox Summary: auto-fill in forms needs to auto fill by "tab" or by "enter" Comments: Hey there Fella's & Gals I'd like to say, "Great stuff you've got here, really" It's a great, competitive, user-friendly product that you've obviously put time, effort and thought into. I might even like it more than Safari except for one minor glitch. If you corrected this, you'd be stellar, in my world. I use many of the same forms at the office (and e...

"Me" is better than "You"
Yes I know, strings are frozen. But let me talk about it, I really can't get through the idea of a PC talkin to me. I consider my PC as an extension of myself, not a dumb companion who addresses Me as You. Yes there are times when I get angry with Him while I work and get wrong calculations etc.., but it really is my fault, Me using wrong istructions and eventually wanting to find someone else to blame, but it's Me. And yes, I consider Thunderbird my mail program, reading my mail on my PC as Me. So I personally like to have Me in the header bar as a compact address ...

Web resources about - Option "Auto Generate Build number" replaces "Auto Increment Build number"? - embarcadero.delphi.ide

Resources last updated: 1/18/2016 1:18:35 AM