New Project From Old

Started by James Fuller, March 29, 2010, 10:32:22 AM

Previous topic - Next topic

James Fuller

What is (if there is) the preferred method of duplicating a project but with a new name/directory?
With non FF projects it was not much of a problem as I'd just create a new directory, copy all the original code over and use that one. If I made some catastrophic blunder I could always revert back to the last one.
Here it appears all the WinMain and other code is in the ffp file along with references to the project name ..

James

Paul Squires

I believe that all you need to do is copy the project to a newly named folder making sure to retain the folder underlying folder/project structure (ie. the forms, modules, images, relase folders).

You can manually change the disk file name of the *.ffp file. You can also edit the *.ffp file to change the project name (ie. ProjectName=), or change it via the Project Properties.

If you have already manually modified the FF_AppStart code to change the #COMPILE EXE "//PROJECT_NAME//.exe" by replacing the //PROJECT_NAME// then you would need to manually modify that as well.

Other than that, all references to files are relative so as long as you retain the folder structure then you should be okay.
Paul Squires
PlanetSquires Software

James Fuller

Ok I guess that answers my questionas I was afraid FF might get upset if there are multiple projects with the same name even though they are in different directories. So I can just copy the old into a new directory and continue on?

James


Paul Squires

Paul Squires
PlanetSquires Software