 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Brady Trexler Guest
|
Posted: Wed Mar 16, 2005 7:43 pm Post subject: sparelibs and libraries in bpk files |
|
|
Hello,
Does someone know why all versions of Builder so far add all available
packages to the <sparelibs> and <libraries> sections of the bpk file? Even
design time only packages? The IDE doesn't do this on every package I try
to install, but it does on a lot. I can find no consistent way to invoke
this behavior. I manually edit the bpk file, getting rid of all entries in
the two fields, and sometimes the IDE will leave the file alone and install
properly. I have tried remaking the project (bpk) file from scratch, but
lately, even that doesn't work.
Any ideas?
Brady
|
|
| Back to top |
|
 |
Pete Fraser Guest
|
Posted: Thu Mar 17, 2005 8:53 am Post subject: Re: sparelibs and libraries in bpk files |
|
|
Brady Trexler wrote:
| Quote: | Hello,
Does someone know why all versions of Builder so far add all available
packages to the <sparelibs> and <libraries> sections of the bpk file? Even
design time only packages? The IDE doesn't do this on every package I try
to install, but it does on a lot. I can find no consistent way to invoke
this behavior. I manually edit the bpk file, getting rid of all entries in
the two fields, and sometimes the IDE will leave the file alone and install
properly. I have tried remaking the project (bpk) file from scratch, but
lately, even that doesn't work.
|
If you go to Component-Install Packages menu (Odd I know) you can
uncheck components you don't want for this project and they *should* be
removed from this project.
HTH Pete
|
|
| Back to top |
|
 |
Brady Trexler Guest
|
Posted: Thu Mar 17, 2005 5:51 pm Post subject: Re: sparelibs and libraries in bpk files |
|
|
Thanks, Pete.
I think i may have stumbled onto an answer. I don't think BC++B likes to
rebuild already installed packages, at least in some cases. For some
packages, i have to delete compiler generated files (objs, bpl, lib, bpi,
etc), uninstall the package from the ide, close BCB6, and then restart and
open the problematic package only. Click install, and pray that it works.
What is strange is that "Build with runtime packages" is checked, yet the
linker still links in the <sparelibs> or <libraries> files. Essentially,
these packages go into the "Contains" list of the package definition. Then
when the package is reloaded after the build, it cannot load because it
contains all these unneccesary packages.
BORLAND I HOPE YOU ARE LISTENING. THIS IS INCREDIBLY ANNOYING AND HAS
EXISITED IN ALL VERSIONS OF C++ BUILDER. HELP A POOR COMPONENT WRITER OUT!
Brady
"Pete Fraser" <pete.no.spam.fraser (AT) frasersoft (DOT) nospam.net> wrote
| Quote: | Brady Trexler wrote:
Hello,
Does someone know why all versions of Builder so far add all available
packages to the <sparelibs> and <libraries> sections of the bpk file?
Even design time only packages? The IDE doesn't do this on every package
I try to install, but it does on a lot. I can find no consistent way to
invoke this behavior. I manually edit the bpk file, getting rid of all
entries in the two fields, and sometimes the IDE will leave the file
alone and install properly. I have tried remaking the project (bpk) file
from scratch, but lately, even that doesn't work.
If you go to Component-Install Packages menu (Odd I know) you can uncheck
components you don't want for this project and they *should* be removed
from this project.
HTH Pete
|
|
|
| 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
|
|