Re: [Lazarus] How to tell lazarus the location of a used package?

2010-12-02 Thread Hans-Peter Diettrich
Bo Berglund schrieb: Each package/project should have its own directories. This ensures that a package does not depend on a project, so it can work with many projects. Not if they evolve and we must maintain old code when we need to return to an older time... Then you'll have to check

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-27 Thread Bo Berglund
On Fri, 26 Nov 2010 16:36:39 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Fri, 26 Nov 2010 16:01:45 +0100 Bo Berglund bo.bergl...@gmail.com wrote: In Delphi I solve this by not having global paths to the installed components, instead I add the path to each component that is

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-26 Thread Mattias Gaertner
On Fri, 26 Nov 2010 16:01:45 +0100 Bo Berglund bo.bergl...@gmail.com wrote: On Thu, 25 Nov 2010 21:05:48 -0500, waldo kitty wkitt...@windstream.net wrote: On 11/25/2010 06:09, Bo Berglund wrote: Now, the description on how packages work in lazarus leads me to believe that any given

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-25 Thread Mattias Gaertner
On Thu, 25 Nov 2010 12:09:16 +0100 Bo Berglund bo.bergl...@gmail.com wrote: [...] Each package/project should have its own directories. This ensures that a package does not depend on a project, so it can work with many projects. Not if they evolve and we must maintain old code when we

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-25 Thread Max Vlasov
On Thu, Nov 25, 2010 at 2:09 PM, Bo Berglund bo.bergl...@gmail.com wrote: This is exactly why I get worried about the packages being totally IDE global no matter where they are stored. Bo, you could notice the discussion about optimization recently, it was also package-related and today I

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-25 Thread Lukasz Sokol
On 25/11/2010 11:09, Bo Berglund wrote: This is exactly why I get worried about the packages being totally IDE global no matter where they are stored. Maybe we should not use packages at all, that would at least solve this problem. Hi, from outsiders' perspective : how about storing your

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-25 Thread waldo kitty
On 11/25/2010 06:09, Bo Berglund wrote: Now, the description on how packages work in lazarus leads me to believe that any given package can only exist in one single copy and this location is not inside the project code space. Each package/project should have its own directories. This ensures

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-24 Thread Bo Berglund
On Tue, 23 Nov 2010 23:57:11 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 23 Nov 2010 20:03:26 +0100 Bo Berglund bo.bergl...@gmail.com 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

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-24 Thread Mattias Gaertner
On Wed, 24 Nov 2010 09:30:01 +0100 Bo Berglund bo.bergl...@gmail.com wrote: On Tue, 23 Nov 2010 23:57:11 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 23 Nov 2010 20:03:26 +0100 Bo Berglund bo.bergl...@gmail.com wrote: Why is one Lazarus using a relative path and the

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-24 Thread Bo Berglund
On Wed, 24 Nov 2010 11:06:15 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 24 Nov 2010 09:30:01 +0100 Bo Berglund bo.bergl...@gmail.com wrote: On Tue, 23 Nov 2010 23:57:11 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 23 Nov 2010 20:03:26 +0100 Bo

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-24 Thread Mattias Gärtner
Zitat von Bo Berglund bo.bergl...@gmail.com: On Wed, 24 Nov 2010 11:06:15 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: [...] I am trying to get my head around this concept... Currently we work in Delphi. Say that we develop a number of different programs. These programs have

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-23 Thread Bo Berglund
On Mon, 22 Nov 2010 18:39:05 +, Martin laza...@mfriebe.de wrote: On 22/11/2010 18:24, Bo Berglund wrote: On Sun, 21 Nov 2010 23:38:42 +, Martinlaza...@mfriebe.de wrote: On 21/11/2010 22:16, Bo Berglund wrote: I have switched to using the SVN version of lazarus. I put it in parallel

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-23 Thread Bo Berglund
On Tue, 23 Nov 2010 17:34:07 +0100, Sven Barth pascaldra...@googlemail.com wrote: Then I don't understand... I have done nothing about the config (since i did not know it existed), so my new SVN version of Lazarus (the fixes branch) should read the same data as the normal lazarus, right?

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-23 Thread Bo Berglund
On Tue, 23 Nov 2010 19:54:23 +0100, Bo Berglund bo.bergl...@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:

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-23 Thread Mattias Gaertner
On Tue, 23 Nov 2010 20:03:26 +0100 Bo Berglund bo.bergl...@gmail.com wrote: On Tue, 23 Nov 2010 19:54:23 +0100, Bo Berglund bo.bergl...@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

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-22 Thread Sven Barth
Am 22.11.2010 00:38, schrieb Martin: On 21/11/2010 22:16, Bo Berglund wrote: I have switched to using the SVN version of lazarus. I put it in parallel to the binary distribution lazarus so now I have two of them. and that means you want for at least one of them use (command line param, use

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-22 Thread Bo Berglund
On Sun, 21 Nov 2010 23:38:42 +, Martin laza...@mfriebe.de wrote: On 21/11/2010 22:16, Bo Berglund wrote: I have switched to using the SVN version of lazarus. I put it in parallel to the binary distribution lazarus so now I have two of them. and that means you want for at least one of them

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-22 Thread Martin
On 22/11/2010 18:24, Bo Berglund wrote: On Sun, 21 Nov 2010 23:38:42 +, Martinlaza...@mfriebe.de wrote: On 21/11/2010 22:16, Bo Berglund wrote: I have switched to using the SVN version of lazarus. I put it in parallel to the binary distribution lazarus so now I have two of them. and

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-21 Thread Mattias Gaertner
On Sun, 21 Nov 2010 23:16:09 +0100 Bo Berglund bo.bergl...@gmail.com wrote: I have switched to using the SVN version of lazarus. I put it in parallel to the binary distribution lazarus so now I have two of them. After I retrieved lazarus from SVN and also the latest release of fpc I got

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-21 Thread Bo Berglund
On Mon, 22 Nov 2010 00:11:23 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 21 Nov 2010 23:16:09 +0100 Bo Berglund bo.bergl...@gmail.com wrote: I *have* copied SdpoSerial from the original lazarus components dir into the new lazarus components dir. So what more do I need to