[Lazarus] Automatic handling of multiple Lazarus installation - user configuration folder (Was: Re: Search paths per platform)

Marcos Douglas md at delfire.net
Wed Sep 14 15:42:43 CEST 2011


2011/9/14 Flávio Etrusco <flavio.etrusco at gmail.com>:
> On Wed, Sep 14, 2011 at 6:05 AM, Sven Barth <pascaldragon at googlemail.com> wrote:
>> On 14.09.2011 10:54, Martin wrote:
>>>
>>> On 14/09/2011 04:31, Flávio Etrusco wrote:
>>>>
>>>> On Wed, Sep 14, 2011 at 12:10 AM, Hans-Peter Diettrich
>>>> <DrDiettrich1 at aol.com> wrote:
>>>>>
>>>>> Sven Barth schrieb:
>>>>>>
>>>>>> 2. Delphi uses the Windows Registry to store its known packages,
>>>>>> true, but
>>>>>> Lazarus basically does the same for its installed packages in its
>>>>>> XML files
>>>>>> that are stored in e.g. %APPDATA%\lazarus or ~/.lazarus.
>>>>>
>>>>> The difference becomes obvious with multiple Lazarus installations.
>>>>> Where
>>>>> multiple Delphi versions share packages (causing trouble), every Lazarus
>>>>> installation must be configured explicitly.
>>>>
>>>> I believe this has been discussed recently, but can't find it right now.
>>>> I'm willing to write patch, which of these features would be
>>>> desirable/accepted?
>>>> 1) Create user the configuration to include Lazarus version (just
>>>> major&minor) in the folder name? (at least NetBeans does this, I find
>>>> it nice :) )
>>>
>>> Storing config in the app dir IMHO is not a good idea (btw older Lazarus
>>> did do that.)
>>> Most modern OS have guidelines t say otherwise.
>>>
>>> On linux users can not write to that dir at all. On Windows it would
>>> currently work, because lazarus is nt in "Program Files" folder => once
>>> it will be, windows will apply "workarounds" by moving the files to
>>> "Program Data" or similar (newer windows only).
>>>
>>> Backup solutions may not find the data in the prg folder, multi user
>>> systems will not work...
>>
>> I believe he meant extending the name where the configuration is stored...
>> e.g. "lazarus0.9" instead of just "lazarus".
>>
>> Regards,
>> Sven
>>
>
> Exactly ;-)

 +1

Marcos Douglas




More information about the Lazarus mailing list