#1  
Old 4th December 2003, 08:21 PM
Holger Franke
 
Posts: n/a
Default Update-Problems BCB5 prof.

Everytime I update to a new NexusDB-version I had some problems with my
projects.
Because the old entrys are furthermore in the project files BCB searches for
the old version libs.

By editing the Option-Source in BCB I can't delete these entrys.

When I edit the .bpr-files with a text-editor somtimes I get the
error-messages (translated from german):
"Line to long" and
"Can't find project-source"

Doe's anybody has a approved procedure to update BCB-pojects to new
nx-version?

And: (Rodrigo, Eivind, Thorsten...) Why new lib-names every update ?

Holger


  #2  
Old 4th December 2003, 09:49 PM
Eivind Bakkestuen [NDD]
 
Posts: n/a
Default Re: Update-Problems BCB5 prof.

> And: (Rodrigo, Eivind, Thorsten...) Why new lib-names every update ?

Because, if you build your application with packages, you *want* each
version to be distinguishable from the others. Otherwise you (or worse, your
users) get results similar to "dll hell", because one app uses 1.00, and
another 1.03 etc.

--


Eivind Bakkestuen [NDD]
Please, no email unless requested.
Search Borland and third-party newsgroups here: www.tamaracka.com



  #3  
Old 4th December 2003, 10:34 PM
Holger Franke
 
Posts: n/a
Default Re: Update-Problems BCB5 prof.

Ok, thats a good reason. :-)

How works it in Delphi-Project-Files? There are the NEXUSDB102... removed
automatically?
Or Delphi doe's not take notice of such old entries?

A little replacement-tool:
Replace all NEXUSDB102 to NEXUSDB103 in every *.bpl - file on
C:\Sources\*
should be helpful during updating to a new version. ;-)

Holger



Last edited by Jerbear : 3rd January 2009 at 10:08 PM.
  #4  
Old 5th December 2003, 04:43 AM
Rodrigo Gómez [NDX]
 
Posts: n/a
Default Re: Update-Problems BCB5 prof.

Hi Holger!

> A little replacement-tool:
> Replace all NEXUSDB102 to NEXUSDB103 in every *.bpl - file on
> C:\Sources\*
> should be helpful during updating to a new version. ;-)


I use Search+Replace for this kind of things. It's really nice.

BCB IDE is not really a great and intelligent IDE, and unfortunately I don't
know a "simpler" way do this, maybe automatically.

I have seen, and I think I'm not the only one, that editing the project file
(BPR) having the IDE open is not a wise thing to do. The IDE usually keeps a
cache of the file, and you have to do a circus so your changes are really
saved. Working with the Nexus packages, it was really awfull that the IDE
keept adding the other libraries I have installed to the requiered packages
and libs in the project file everytime I edited a PAS file. I had to remove
the files, save, close the project, and open again. That for every project
in the project group. It was very frustating! So, my advice. When you are
going to edit your project files. Close all, open them in notepad and
replace/remove the files you don't want. It's better than doing this 3 or 4
times in the IDE editor, opening the project options, closing it, saving the
project, and see if the IDE really made the changes.

> How works it in Delphi-Project-Files? There are the NEXUSDB102... removed
> automatically?
> Or Delphi doe's not take notice of such old entries?


I don't know. But I'm sure Eivind should know about this.

Regards,

--
Rodrigo Gómez [NDX]
rgomez@msa.sinspam.com.mx
(remove "sinspam." from the address)



  #5  
Old 5th December 2003, 12:02 PM
Eivind Bakkestuen [NDD]
 
Posts: n/a
Default Re: Update-Problems BCB5 prof.

>> How works it in Delphi-Project-Files? There are the NEXUSDB102...
>> removed automatically?
>> Or Delphi doe's not take notice of such old entries?

>
> I don't know. But I'm sure Eivind should know about this.


If you compile your project with runtime packages, you have to switch from
1.02 to 1.03 packages manually in the Project Options. It does not happen
automatically.

--


Eivind Bakkestuen [NDD]
Please, no email unless requested.
Search Borland and third-party newsgroups here: www.tamaracka.com



  #6  
Old 5th December 2003, 08:38 PM
Holger Franke
 
Posts: n/a
Default Re: Update-Problems BCB5 prof.

> I use Search+Replace for this kind of things. It's really nice.

Is it a special program? I do this with a normal text editor, but with more
then 10 different projects ist's a stupid work (open, search, replase with,
yes all, save, open next file ....)

When version 1.04 is released, I write a tool, which do the changes in the
project-files automatically :-)

Holger

Btw.: The problem with the unreadable project-files was a problem of notepad
(XP prof)!!
When I search an replace with notpad the .bpr-file (XML-format) notpad
sometime inserts 4 mystic unvisible chars at the beginning of the file! BCB
can't read this change file anymore. I use a other editor and it works.




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems after windows update Arnd Iffland nexusdb.public.support 1 3rd February 2011 10:23 AM
Problems after applying D2010 update 2 / 3 =?ISO-8859-1?Q?Cl=E9ment_Doss?= nexusdb.public.support 3 13th November 2009 08:35 PM
Re: nxReplacementMemoryManager with BCB5 Andy Bell Support Newsgroups 5 5th January 2004 07:11 PM
Update-Problems BCB5 prof. Holger Franke Support Newsgroups 5 5th December 2003 08:38 PM
nxReplacementMemoryManager with BCB5 Holger Franke Support Newsgroups 1 27th November 2003 02:31 AM


All times are GMT +11. The time now is 07:08 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.