On Wed, 24 Nov 2010 09:30:01 +0100 Bo Berglund <[email protected]> wrote:
> On Tue, 23 Nov 2010 23:57:11 +0100, Mattias Gaertner > <[email protected]> wrote: > > >On Tue, 23 Nov 2010 20:03:26 +0100 > >Bo Berglund <[email protected]> wrote: > >> 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. > > Makes sense to use relative paths to make the environment portable. > But if Lazarus only uses relative paths for packages below the lazarus > top folder and not for other packages, it might impact portability and > co-operation unless all involved developers put the packages below > lazarus. Your config files are not ported. They belong to your machine. > Is it possible to use an environment variable as the top locator? Like > for example: > {$PROJECTPACKAGES}\Mypackage\mypackagelaz.lpk That would only make sense if PROJECTPACKAGES would change from time to time. > And on Windows the use of locations below the install dir implies that > lazarus itself is installed far away from the protected folder trees > (like "Program Files" for instance). > Which is what I always do anyway. :-D Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
