 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Sundeep Gawande Guest
|
Posted: Thu Jan 01, 2004 10:25 am Post subject: [Excluded Packages] |
|
|
The [Excluded Packages] section of bpr lists the packages which are excluded
from
the project. However the list has full path of the bpl file in it. This
could be problematic if we need to build the same projects on different
machines since Borland installation path could differ. How could we make it
path independent. I tried manually editing the bpr file and just listing the
package names and removing the path but it didn't work. Any solution to
this?
One more problem I am facing is about the installed packages:
I have a package which I use in any many other components. Now when I build
this package I should have have the same package in the installed list so I
remove it and save the settings with the project. When the pacakge is built,
I build my other component and which needs this package installed. So I go
and install it and save the settings in project.
Now the problem is that when I again need to build my package Borland gives
abnormal program termination and the cause I could see is that a package
can't be built when it's installed in the IDE. Isn't the excluded package
settings project specific. If yes then why should I see the package
installed in the IDE when I didn't mention it in packages list?
Any suggestions?
|
|
| Back to top |
|
 |
Peter Bernhardt Guest
|
Posted: Thu Jan 01, 2004 5:20 pm Post subject: Re: [Excluded Packages] |
|
|
Hi Sundeep,
I coudn't find an [Excluded Packages] section in my projects, but maybe
you could solve this with the $(BCB) macro - it points everytime to cb
installation path.
Peter
|
|
| Back to top |
|
 |
Harold Howe [TeamB] Guest
|
Posted: Wed Jan 07, 2004 6:36 pm Post subject: Re: [Excluded Packages] |
|
|
Sundeep Gawande wrote:
| Quote: | The [Excluded Packages] section of bpr lists the packages which are excluded
from
the project. However the list has full path of the bpl file in it. This
could be problematic if we need to build the same projects on different
machines since Borland installation path could differ. How could we make it
path independent. I tried manually editing the bpr file and just listing the
package names and removing the path but it didn't work. Any solution to
this?
|
My suggestion is to put all packages in $(BCB)projectsbpl, which is
kind of where the IDE wants to put them anyway. If you don't like this
idea, but you still need to have relative paths in a group of
developers, then you might want to consider creating a virtual drive
with the subst command. If every developer agrees to create a drive, say
z:, that they put their controls in, then you can install the package
from z:.
h^2
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|