[Lazarus] Automatic handling of multiple Lazarus installation - user configuration folder (Was: Re: Search paths per platform)
flavio.etrusco at gmail.com
Wed Sep 14 05:31:07 CEST 2011
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 :) )
2) Store what's the "default" Lazarus installation path in a setting
for that configuration and warn in case it's running the "wrong" one;
3) In the "warning" above, the allow user to chose to create a new
configuration, automatically create (and later search) based on
project folder name (if different), parent folder name and/or
More information about the Lazarus