Borland c++ builder action bug( BCB6)

hi
i have a project with “+” in path
when i’m building it into the ide it’s work fine.

when i use finalbuilder, it’s fail when linking.

The problem is
LIBPATH=C:\Test\App+2;$(BCB)\lib\obj;$(BCB)\lib

to work fine it’s must be
LIBPATH=“C:\Test\App+2”;$(BCB)\lib\obj;$(BCB)\lib

Can you do something ?



thanks.

hi
the real problem is


in the original Bpr file





in the FBTemp.bpr




it’s a bug

can you do something ?

damien



Posted By damien chrismann on 30 Jun 2006 3:21 AM
hi
the real problem is


in the original Bpr file


;">


in the FBTemp.bpr




it's a bug

can you do something ?

damien





in the original
LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;"..\lib+&quot"


in the FBTemp.bpr

LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;..\lib+"


Posted By damien chrismann on 30 Jun 2006 3:25 AM
in the original
LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;"..\lib+""


in the FBTemp.bpr

LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;..\lib+"



I have just been looking into this and I wasn't able to reproduce this. I could not get BCB to save a value to the bpr that looks like this :

LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;"..\lib+""

The problem with what you have posted is that it is not even valid xml, if I edit the bpr manually to look like this then the LIBPATH value is ignored completely by BCB ( the library path is empty).

even when I modify the bpr to this (Correct xml) :

LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;"..\lib+&quote;"

and load the project (which does load fine), saving the project in bcb just results in what you see in the fbtemp.bpr

LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;..\lib+"


Hi

i forgot to say that the line


LIBPATH value=$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;"…\lib+“

is in the make file

to make it work in the bpr file it need
&quot

<
LIBPATH value=”$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;&quot;…\lib+&quot;" />

but in fbtremp.bpr it’s

<
LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;…\lib+;" />

and when in the makefile

LIBPATH value=$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;…\lib+
it’s doesn’t work ( the linker can’t found the path )




i send you the bpr with the problem


WinscanRecovery.zip (59.114 KB)

Posted By damien chrismann on 20 Jul 2006 2:29 AM
Hi

i forgot to say that the line


LIBPATH value=$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;"..\lib+"

is in the make file

to make it work in the bpr file it need
"

<
LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;";..\lib+";" />



The problem I have is it's not possible to create a bpr with


<LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;"..\lib+";" />

Even when the entries are quoted correctly (valid xml), Cbuilder removes the quotes when you save the file. So to get such a bpr you must have edited it manually?

I have added a possible fix for this (not been able to test, will do when I get to the office) and I'm running a test build now, I'll post here when it's available.


Posted By Vincent Parrett on 20 Jul 2006 5:55 PM
Posted By damien chrismann on 20 Jul 2006 2:29 AM
Hi

i forgot to say that the line


LIBPATH value=$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;"..\lib+"

is in the make file

to make it work in the bpr file it need
"

<
LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;";..\lib+";" />



The problem I have is it's not possible to create a bpr with


<LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;"..\lib+";" />

Even when the entries are quoted correctly (valid xml), Cbuilder removes the quotes when you save the file. So to get such a bpr you must have edited it manually?

I have added a possible fix for this (not been able to test, will do when I get to the office) and I'm running a test build now, I'll post here when it's available.


it's
<
LIBPATH value="$(BCB)\lib;$(BCB)\lib\obj;$(BCB)\Projects\Lib;& q u o t ;..\lib+& q u o t;" />

to read
& q u o t remove space between characaters

you don't need to add the quotes in Cbuilder,
cbuilder do it ( only for the library path ) if it's found +

i have make a small project to show you i can be build with builder but not with finalbuilder


damien

Hi Damien

The fix for this should be in today’s test build. I’ll post a link when the build is uploaded.