[Lazarus] Managing Packages with many versions
Marcos Douglas B. Santos
md at delfire.net
Sun Apr 2 13:39:14 CEST 2017
On Sun, Apr 2, 2017 at 3:48 AM, Mattias Gaertner via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:
>> > A project can set a preferred version of a package:
>> > http://wiki.freepascal.org/Lazarus_Packages#Using_preferred_file_name
>> But how can I choose the correct package if the different sources do
>> not have Min or Max version numbers?
> Maybe my wording 'preferred version' was misleading, but the link
> explained the thing you were searching for.
I already understood this, thanks.
>> I mean, the `New Requirement dialog` should have an option to choose
>> the package by path (default/preferred) and not only by Min Max.
>> I saw that I can change this information editing the .lpi file, but
>> would be great do this using IDE, don't you think?
> Just right click on the dependency:
I am talking about this dialog in attachment.
Using just "preferred", if I have two options, I can't change the path
in "Required Packages" using the IDE. To do that I need a workaround:
open the correct package in correct path and then, right click on the
dependency to set the "preferred" path using the package opened.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12496 bytes
Desc: not available
More information about the Lazarus