On Tue, 9 Aug 2011 16:38:51 +0300 ik <[email protected]> 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. > 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 [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
