Let .lpi, .ico, .res files untouched
Original Reporter info from Mantis: stocki
-
Reporter name: stocki
Original Reporter info from Mantis: stocki
- Reporter name: stocki
Description:
- Create a new project.
- Compile the whole project.
- Wait one or two minutes.
- Compile the whole project again.
- Check the time stamp
File project1.lpi, project1.ico, project1.res are being created again. Please let these files untouched. There is no need to changes/re-create them again. Delphi let them also untouched.
Mantis conversion info:
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- FPC Admin account assigned to @JuhaManninen
assigned to @JuhaManninen
added CategoryIDE SeverityTweak Version0.9.29 (SVN) WS: Win32/64 labels
- Author Owner
Converted from Mantis. Note by Zeljan Rikalo @zeljan1
- Mantis submitter username: zeljko@holobit.net @zeljan1
- Mantis submitter real name: Zeljan Rikalo
Is this fixed ?
- Author Owner
Converted from Mantis. Note by Reinier Olislagers
- Mantis submitter username: BigChimp
- Mantis submitter real name: Reinier Olislagers
Laz trunk/FPC trunk x86, Windows:
After a 2nd compile:
No changes:
- .ico timestamp
- .lpi timestampStill changes
- .res file
Diffing (a copy of) the original and new res files shows no differences - Author Owner
My similar report: http://bugs.freepascal.org/view.php?id=22645
- Author Owner
Converted from Mantis. Note by Juha Manninen @JuhaManninen
- Mantis submitter username: JuhaManninen @JuhaManninen
- Mantis submitter real name: Juha Manninen
I fixed it by removing resource generation from DoBuildProject in main.pp.
AFAIK the resources have been always generated at that point. Is it so?
This must stay in trunk to test for possible regressions. - Author Owner
Converted from Mantis. Note by Juha Manninen @JuhaManninen
- Mantis submitter username: JuhaManninen @JuhaManninen
- Mantis submitter real name: Juha Manninen
I improved this more in r59256. Now the resource file is not generated when a project is compiled.
- Author Owner
Converted from Mantis. Note by stocki
- Mantis submitter username: stocki
- Mantis submitter real name: stocki
Thanks!
- Author Owner
Converted from Mantis. Note by Juha Manninen @JuhaManninen
- Mantis submitter username: JuhaManninen @JuhaManninen
- Mantis submitter real name: Juha Manninen
I must reopen this. The project resource file is still generated every time the sources are modified and saved for compilation.
My optimization in r59256 was wrong and I reverted it in r59269. - FPC Admin account marked this issue as related to #24237 (closed)
marked this issue as related to #24237 (closed)
- FPC Admin account mentioned in issue #24237 (closed)
mentioned in issue #24237 (closed)
- FPC Admin account marked this issue as related to #22645 (closed)
marked this issue as related to #22645 (closed)
- FPC Admin account mentioned in issue #22645 (closed)
mentioned in issue #22645 (closed)
- Juha Manninen mentioned in commit a624d0c0
mentioned in commit a624d0c0
- Developer
I improved this a lot. Now the .res resource file is saved only when needed after the initial save after Lazarus IDE starts. Then the resource file can still be saved uselessly but only once.
- Juha Manninen marked this issue as related to #39958 (closed)
marked this issue as related to #39958 (closed)
- Juha Manninen marked this issue as related to #18674 (closed)
marked this issue as related to #18674 (closed)
- Juha Manninen removed the relation with #18674 (closed)
removed the relation with #18674 (closed)
- Juha Manninen marked this issue as related to #18764
marked this issue as related to #18764