I would like to just copy the old project directory tree (c:\develop
\oldproject) to a new directory tree (c:\develop\newproject), rename
the dpr, edit out stuff we want to remove, compile and go.
Not being totally green and having tried this in the past, I know
things within "newproject" will point to "oldproject". I will be
merrily editing a pas file in the ide, thinking it is from
"newproject" only to find out it was really from the "oldproject"
tree. I will build only to find out it is looking in "oldproject"
What do I need to do so that once I copy files to the "newproject"
tree I can be sure once opening the dpr from "newproject" that
everything is coming from the "newproject" tree not the "oldproject"
tree.
Thanks,
Barry.
Hi Barry
- Make dir for new project
- Open old project
- Save every source file to the directory of the new project
- Save your project file to the new project
- Close IDE
- Rename old project directory
- Reopen IDE and build.
If this does not work you failed to save a source file to its new
place.
If it works, don't forget to rename your old project dir back
Bye
Jan