[Lazarus] Where does Lazarus store/look for global settings/options?
Luca Olivetti
luca at wetron.es
Wed Dec 3 09:17:11 CET 2008
En/na Mattias Gärtner ha escrit:
> Zitat von Luca Olivetti <luca at wetron.es>:
>
>> En/na Mattias Gärtner ha escrit:
>>
>>> The installation packages install Lazarus always in the same location.
>> There was
>>> no need yet to auto update paths.
>>> Can you explain what the problem is when upgrading?
>> To have the extra packages/components installed in the previous version
>> available in the new one.
>
> Just start the IDE, compile and restart it. This will install the last package
> set.
I normally use lazbuild, but as a test I followed your advice:
1) I copied my c:\lazarus-0.9.26 directory to to a new directory c:\laztest
2) "make clean bigide" in c:\laztest
3) start the new lazarus, change environment options to point to
c:\laztest (otherwise the ide "build lazarus" would build the old one)
4) Add a bogus property to TChart in the new directory (tchart is
shipped with lazarus but it isn't installed by default)
5) Tools->Configure Build Lazarus->Build Ide With Packages->Build
6) Put a TChart on a form to check in the object inspector if the new
bogus property is there
7) The new property isn't there, unsurprisingly since lazarus compiled
the component from the old directory
QED
Here's a a diff between idemake.cfg from the old and the newly built
ide. As you can see lazarus adjusted the paths only for
synedit,ideintf,lcl,codetools and packager, but it used the same as
before for all other components.
--- lazarus.save/idemake.cfg 2008-11-17 15:38:40.544913600 +0100
+++ lazarus/idemake.cfg 2008-12-03 08:58:50.537998400 +0100
@@ -1,33 +1,33 @@
--FEC:\lazarus-0.9.26
+-FEc:\laztest
-olazarus.new.exe
-FlC:\lazextra\libnodave-0.8.4.4\DelphiComponent\
-FuC:\lazextra\zeosdbo\trunk\packages\lazarus\build\
+-FuC:\lazarus-0.9.26\components\rtticontrols\lib\i386-win32\win32\
+-FuC:\lazarus-0.9.26\components\printers\design\lib\i386-win32\
+-FuC:\lazarus-0.9.26\components\cgi\ide\lib\i386-win32\
+-FuC:\lazarus-0.9.26\components\memds\lib\i386-win32\win32\
+-FuC:\lazarus-0.9.26\components\fpcunit\ide\lib\i386-win32\
+-FuC:\lazarus-0.9.26\components\projecttemplates\lib\i386-win32\win32\
+-FuC:\lazarus-0.9.26\components\sqldb\lib\i386-win32\win32\
+-FuC:\lazarus-0.9.26\components\tdbf\lib\i386-win32\win32\
-FuC:\lazextra\rx\lib\i386-win32\
-FuC:\lazextra\RackCtls\lib\i386-win32\
--FuC:\lazarus-0.9.26\components\tdbf\lib\i386-win32\win32\
--FuC:\lazarus-0.9.26\components\sqldb\lib\i386-win32\win32\
--FuC:\lazarus-0.9.26\components\projecttemplates\lib\i386-win32\win32\
--FuC:\lazarus-0.9.26\components\fpcunit\ide\lib\i386-win32\
--FuC:\lazarus-0.9.26\components\memds\lib\i386-win32\win32\
--FuC:\lazarus-0.9.26\components\cgi\ide\lib\i386-win32\
--FuC:\lazarus-0.9.26\components\printers\design\lib\i386-win32\
--FuC:\lazarus-0.9.26\components\rtticontrols\lib\i386-win32\win32\
-FuC:\lazarus-0.9.26\components\daemon\lib\i386-win32\win32\
-FuC:\lazcustom\animacion\lib\i386-win32\
--FuC:\lazarus-0.9.26\components\synedit\units\i386-win32\
--FuC:\lazarus-0.9.26\ideintf\units\i386-win32\
--FuC:\lazextra\libnodave-0.8.4.4\DelphiComponent\lib\
--FuC:\lazarus-0.9.26\components\tachart\lib\i386-win32\win32\
--FuC:\lazarus-0.9.26\components\turbopower_ipro\units\i386-win32\
--FuC:\lazarus-0.9.26\components\sdf\lib\i386-win32\win32\
--FuC:\lazarus-0.9.26\components\cgi\lib\i386-win32\win32\
+-Fuc:\laztest\components\synedit\units\i386-win32\
+-Fuc:\laztest\ideintf\units\i386-win32\
-FuC:\lazarus-0.9.26\components\printers\lib\i386-win32\win32\
+-FuC:\lazarus-0.9.26\components\cgi\lib\i386-win32\win32\
+-FuC:\lazarus-0.9.26\components\sdf\lib\i386-win32\win32\
+-FuC:\lazarus-0.9.26\components\turbopower_ipro\units\i386-win32\
+-FuC:\lazarus-0.9.26\components\tachart\lib\i386-win32\win32\
+-FuC:\lazextra\libnodave-0.8.4.4\DelphiComponent\lib\
-FuC:\lazarus-0.9.26\components\rx\lib\
-FuC:\lazcustom\myspin\lib\i386-win32\
--FuC:\lazarus-0.9.26\lcl\units\i386-win32\
--FuC:\lazarus-0.9.26\lcl\units\i386-win32\win32\
--FuC:\lazarus-0.9.26\components\codetools\units\i386-win32\
--FuC:\lazarus-0.9.26\packager\units\i386-win32\
+-Fuc:\laztest\lcl\units\i386-win32\
+-Fuc:\laztest\lcl\units\i386-win32\win32\
+-Fuc:\laztest\components\codetools\units\i386-win32\
+-Fuc:\laztest\packager\units\i386-win32\
-Fu.
-dLCL
-dLCLwin32
Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 Fax +34 93 5883007
More information about the Lazarus
mailing list