[Lazarus] Package management questions

Mattias Gaertner nc-gaertnma at netcologne.de
Sat May 15 18:14:00 CEST 2010


On Fri, 14 May 2010 17:25:46 +0200
Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:

> On Fri, 14 May 2010 16:39:06 +0200
> Helmut Hartl <helmut.hartl at firmos.at> wrote:
> 
>[...]
> > Now I want to switch from feature branch "physics" to "network".
> > 
> > 1) I have the project "Engine" open in Lazarus in branch "physics"
> > (packa,packb,packc are now know to the ide from the physics branch 
> > directory)
> > 2) I open the project "Engine" in branch "network" (because lazarus 
> > reloads my project on next open)
> > 3) I close lazarus (because all my packages known to the IDE are now 
> > from the wrong branch)
> > 4) I remove the file  ide packagelink file : "rm 
> > ~/.lazarus/packagefiles.xml"
> > 5) I reopen lazarus, the project opens and the switch is done.
> > 
> > Is there a smarter way to do this ?
> > 
> > Nice would be when lazarus drops my known packages simply on project 
> > open from the
> > other branch dir, and uses the "right" ones automagically ...

I implemented it. See here:
http://wiki.lazarus.freepascal.org/Lazarus_Packages#Different_versions_of_a_package


Mattias






More information about the Lazarus mailing list