On Mon, 17 May 2010 09:49:42 +0200 Helmut Hartl <[email protected]> wrote:
> Am 15.05.10 18:14, schrieb Mattias Gaertner: > > On Fri, 14 May 2010 17:25:46 +0200 > > Mattias Gaertner<[email protected]> wrote: > > > > > >> On Fri, 14 May 2010 16:39:06 +0200 > >> Helmut Hartl<[email protected]> wrote: > >> > >> [...] > >> > >>> [...] > >>> 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 > > > Thanks for implementing, I tested it and want to provide feedback: > My package layout: > FRE.lpk (Metapackage) > -FRE_CORE.lpk (Subpackage) > -FRE_AGGPAS.lpk (Subpackage) > -FRE_AUDIO.lpk (Subpackage) > -FRE_APS.lpk (Subpackage) > -FRE_FCOM-lps (Subpackage) > > The project has only the metapackage as dependency. I stored the > metapackage with "preferred" option, > that works, but it only switches the metapackage not the subpackages. Have you set the preferred file names in the dependencies of the meta package? > The workaround is to include all packages as requirement in the project - > This works. Yes, and I think this is the better solution. Preferences should be stored in the project. Packages should be shared. > The feature itself is really nice, as it now allows branch > switching in zero time! :) I will add it to changes list. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
