[Lazarus] multi version package support

ik idokan at gmail.com
Wed Aug 17 10:16:39 CEST 2011


On Mon, Aug 15, 2011 at 22:38, Mattias Gaertner
<nc-gaertnma at netcologne.de>wrote:

> On Tue, 9 Aug 2011 16:38:51 +0300
> ik <idokan at gmail.com> wrote:
>
> > Hello list,
> >
> > One of the best things in Ruby gems is the ability to have multiple
> versions
> > of the same package and write in code what is the exact version of the
> > package we wish to use, or just let it to decide for us.
> > I find it very helpful, because I'm not always interested in the newest
> > version, or the current used version, and I want to use something
> specific.
> > For example prior of API changes, or rewriting for a newer version will
> take
> > too much work, and not really needed.
> >
> > Lazarus have packages with version numbers with them, but you can not use
> > them for installing multiple versions of the package, only to explicitly
> > write what version you are requiring.
>
> If you mean with "installing a package", installed into the IDE, then
> the answer:
> The IDE links them statically, so you can have only one at a time.
>
> If you mean to have several projects on your computer that uses
> different versions of a package, then just put them somewhere.
> The IDE remembers different versions of lpk files. When you open a
> project which requires version 1 the IDE searches for an lpk with
> version 1, opens it automatically and will compile the project with
> version 1. When you open a second project requiring version 2, the IDE
> will close version 1 and opens version 2 and compiles the project with
> version 2.
> lazbuild does the same.
>


Great, so it is supported half way :)

>
>
> > Does feature such as multiple version installation sounds useful for
> others
> > as well ?
>
> What do you miss?
>
>
> > If so, I hope that on October my work load cycle will drop (like every
> > year), and I wish to add such support.
>
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110817/db21468c/attachment-0003.html>


More information about the Lazarus mailing list