Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-09

Lazarus project version information out of whack on 0.9.30?

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Frank Church

When I compile a project with the option of incrementing the build versions it doesn't work. That I believe to be a known bug.

But when I open the .rc file and edit it manually the version information in the program is fine, but the version information appearing in the Project options dialog doesn't change.
Are those values stored somewhere else besides the .rc file where they can be edited?

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110908/da62351e/attachment.html>

Reply by email

Vincent Snijders
to Frank Church

2011/9/8 Frank Church :

Show quoted text 9 lines
When I compile a project with the option of incrementing the build versions it doesn't work. That I believe to be a known bug. But when I open the .rc file and edit it manually the version information in the program is fine, but the version information appearing in the Project options dialog doesn't change. Are those values stored somewhere else besides the .rc file where they can be edited?

They are stored in the project.lpi file.

Vincent

Reply by email

Frank Church
to Vincent Snijders
Vincent Snijders wrote 17 lines
2011/9/8 Frank Church : > > When I compile a project with the option of incrementing the build versions > it doesn't work. That I believe to be a known bug. > > But when I open the .rc file and edit it manually the version information in > the program is fine, but the version information appearing in the Project > options dialog doesn't change. > Are those values stored somewhere else besides the .rc file where they can > be edited? They are stored in the project.lpi file. I found it, I didn't expect it all to be in an attributes line. If edited

manually in the .lpi file will it be saved to the .rc file?

I also saw that a "Build All" fixes this problem. Will there be something in fixes for it?

Show quoted text 8 lines
Vincent -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110908/f6429ef7/attachment.html>

Reply by email

Flávio Etrusco
to Frank Church
Show quoted text 7 lines
(...) I also saw that a "Build All" fixes this problem. Will there be something in fixes for it? -- Frank Church

You mean that application version is only auto-increment on BuildAll? (This is also what happens on trunk)
IIRC this behavior is compatible with Delphi, and I would say it's the expected one.
When you're testing some modification (or doing a release, even a internal/testing one) the least you have to do is do a complete Build instead of Compile...

-Fl?vio

Reply by email

Frank Church
to Flávio Etrusco

2011/9/8 Fl?vio Etrusco

Show quoted text 20 lines
>(...) > I also saw that a "Build All" fixes this problem. Will there be something in > fixes for it? > > -- > Frank Church > You mean that application version is only auto-increment on BuildAll? (This is also what happens on trunk) IIRC this behavior is compatible with Delphi, and I would say it's the expected one. When you're testing some modification (or doing a release, even a internal/testing one) the least you have to do is do a complete Build instead of Compile... -Fl?vio

Is this a works as designed issue or is it considered a bug. I prefer the former way. When I don't want the build to be incremented I tick the relevant checkbox.

Anyway with the build all, the version in the executable is a step behind the one in the project, and the .rc file doesn't get updated.

Is this the new behaviour? Has 'fixes_xxx been changed?

Show quoted text 6 lines
-- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110928/295d8744/attachment.html>

Reply by email