On Sun, 2 Apr 2017 00:17:28 -0300 "Marcos Douglas B. Santos via Lazarus" <[email protected]> wrote:
>[...] Mattias, > > On Fri, Mar 31, 2017 at 1:18 PM, Mattias Gaertner via Lazarus > <[email protected]> wrote: > >> Then, the author update this package to 2.0 version. > >> Imagine that you have many projects using version 1.0 but you would like to > >> update to 2.0 to work in just one project. > > > > 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 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: http://wiki.freepascal.org/IDE_Window:_Project_Inspector#Store_file_name_as_preferred_for_this_dependency Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
