[Lazarus] How to tell lazarus the location of a used package?
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Nov 23 23:57:11 CET 2010
On Tue, 23 Nov 2010 20:03:26 +0100
Bo Berglund <bo.berglund at gmail.com> wrote:
> On Tue, 23 Nov 2010 19:54:23 +0100, Bo Berglund
> <bo.berglund at gmail.com> wrote:
>
> >Anyway, now I understand what is going on and the package is
> >recognized.
> >
>
> Well, I was a bit premature.
> I now looked in the config dirs and located the packagefiles.xml files
> and had a look inside.
> This is what I found:
>
> Original Lazarus config:
> <Item7>
> <Name Value="SdpoSerialLaz"/>
> <Version Minor="1" Release="4"/>
> <Filename
> Value="C:\Programs\lazarus\components\sdpo\sdposeriallaz.lpk"/>
> </Item7>
>
> New SVN version from the fixes branch:
> <Item6>
> <Name Value="SdpoSerialLaz"/>
> <Version Minor="1" Release="4"/>
> <Filename Value="components\Sdpo\sdposeriallaz.lpk"/>
> </Item6>
>
> Why is one Lazarus using a relative path and the other an absolute
> path?
0.9.29 uses relative paths for packages in the Lazarus source
directory. When a new Lazarus is installed under a different path
(e.g. the path contains the Lazarus version) all new packages are used
automatically.
Mattias
More information about the Lazarus
mailing list