With today's svn version of Lazarus "build project" rebuilds all required packages (and LCL, FCL etc). Is it by design? (Packages has option "rebuild as needed")
Mailing lists / lazarus / 2011-11
Build project now rebuilds everithing
9 messages · 4 people · –
- Ccobines 3
- JJuha Manninen 3
- MMattias Gaertner 2
- AAlexander Shishkin 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
With today's svn version of Lazarus "build project" rebuilds all required packages (and LCL, FCL etc). Is it by design? (Packages has option "rebuild as needed")
No.
Fixed.
Mattias
It still seems to rebuild packages, especially if I don't save changes and choose Build (it is supposed to save changes before build). For example create a new project, don't save and build - it rebuilds FCL, lazutils, LCL.
However, weird thing. If I choose Build from menu then it doesn't seem to rebuild FCL, LCL, but if I start Build from a hotkey then it does.
Or is it an issue due to some recent changes in hotkeys? But I suppose the command run from menu and hotkey should be the same.
rev 33359
2011/11/6 cobines
Or is it an issue due to some recent changes in hotkeys? But I suppose the command run from menu and hotkey should be the same.
The hotkeys very completely broken for some hours on Friday. You could not use it at all then.
Yes, the same command is run by using a menu item or a hotkey. Your problem sounds "impossible" but everything is possible of course.
Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111106/655c4822/attachment.html>
It still seems to rebuild packages, especially if I don't save changes and choose Build…
W dniu 2011-11-06 19:08, cobines pisze:
However, weird thing. If I choose Build from menu then it doesn't seem to rebuild FCL, LCL, but if I start Build from a hotkey then it does.
The call from menu item is:
procedure TMainIDE.mnuBuildProjectClicked(Sender: TObject);
Begin
DoBuildProject(crBuild,[pbfCleanCompile]);
end;but from hotkey the call is:
ecBuild: DoBuildProject(crBuild, [pbfCleanCompile,
pbfCompileDependenciesClean]);So, there is a difference. Which should it be? Since it seems to always rebuild packages when I use the hotkey I would think that [pbfCleanCompile] is correct.
2011/11/26 cobines
Show quoted text 21 lines
Indeed there is a difference. I should have checked it properly. Is it ok to remove "pbfCompileDependenciesClean" from the hotkey handler?
Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111126/2b5e2e64/attachment.html>
Show quoted text 27 lines
Yes.
Mattias
2011/11/26 Mattias Gaertner
> Indeed there is a difference. I should have checked it properly. > Is it ok to remove "pbfCompileDependenciesClean" from the hotkey handler? Yes.
Removed in r33794.
Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111126/f0cea373/attachment-0001.html>
2011/11/26 Juha Manninen :
Removed in r33794. Juha
Thanks.
