BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sparelibs and libraries in bpk files

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Brady Trexler
Guest





PostPosted: Wed Mar 16, 2005 7:43 pm    Post subject: sparelibs and libraries in bpk files Reply with 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.

Any ideas?
Brady


Back to top
Pete Fraser
Guest





PostPosted: Thu Mar 17, 2005 8:53 am    Post subject: Re: sparelibs and libraries in bpk files Reply with quote



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





PostPosted: Thu Mar 17, 2005 5:51 pm    Post subject: Re: sparelibs and libraries in bpk files Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.