Sign in Join

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

Mailing lists / lazarus / 2011-11

Build project now rebuilds everithing

9 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Alexander Shishkin

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")

Reply by email

cobines
to Mattias Gaertner

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

cobines

Reply by email

Juha Manninen
to cobines

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>

Reply by email

cobines
to cobines: 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.

cobines

Reply by email

Juha Manninen
to cobines

2011/11/26 cobines

Show quoted text 21 lines
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.

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>

Reply by email

Mattias Gaertner
to Juha Manninen
Show quoted text 27 lines
2011/11/26 cobines > 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. Indeed there is a difference. I should have checked it properly. Is it ok to remove "pbfCompileDependenciesClean" from the hotkey handler?

Yes.

Mattias

Reply by email