C++ Builder change project folder causes IDE to loos files

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

Post Reply
Ahmed Sayed
Top Poster
Top Poster
Posts: 35
Joined: Thu Nov 08, 2018 4:12 pm

C++ Builder change project folder causes IDE to loos files

Post by Ahmed Sayed »

Hi,

I am facing an issue every time I move one of my projects from one folder to another, when i recompile or build the app again the IDE complain about missing files that it can not open or locate while they are already added to the project. So i had to remove them all and add them one by one.
Now I am in the process of reconstructing all my projects folders and i don't want to do this to all my projects it will take like forever to do so.

Are there anything that I can do to change project folders peacefully without having this headache.

Any help will be appreciated. Thanks in advance.

Ahmed Sayed
rlebeau
BCBJ Author
BCBJ Author
Posts: 1716
Joined: Wed Jun 01, 2005 3:21 am
Location: California, USA
Contact:

Re: C++ Builder change project folder causes IDE to loos fil

Post by rlebeau »

What kind of files is it complaining about exactly? Does your project file contain ABSOLUTE paths to files instead of RELATIVE paths?
Remy Lebeau (TeamB)
Lebeau Software
Ahmed Sayed
Top Poster
Top Poster
Posts: 35
Joined: Thu Nov 08, 2018 4:12 pm

Re: C++ Builder change project folder causes IDE to loos fil

Post by Ahmed Sayed »

It is complaining about some .cpp files that have my code in the file it self is not the issue. The problem is that this happen quit often now when I move a project from one folder to another.

And yes the paths are stored in relative format in the project file for example: "..\..\..\..\Classes\"

I had to change them one by one by using a notepad or notepad++ for every project i have its exhausting and very time consuming.

I really hope that there is a way to fix this while moving projects

Ahmed Sayed
Post Reply