Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to replicate project cleanly

0 views
Skip to first unread message

canalrun

unread,
Aug 14, 2008, 12:19:18 PM8/14/08
to
Hello
I am using Delphi 5. We have a 5 yr old project (product) that is
still actively developed. We want to fork off another simpler project
(product) based on the old one, but to eventually become something
entirely new.

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.

JCMD...@gmail.com

unread,
Aug 19, 2008, 8:25:30 AM8/19/08
to

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

0 new messages