08-01-2006 06:56 AM
08-01-2006 08:08 AM
Can you not simply use Windows to copy the entire original working directory contents (.c, .h, .uir, .prj, .cws, .lib, .fp etc files) into a Winzip (or equivalent) archive and put it somewhere safe? Then use CVI to edit the original project to your heart's content, secure in the knowledge that you can always revert to the original files in case of disaster.
JR
08-01-2006 08:22 AM
Yes, I always knew that was an option. I just though that perhaps there was a way to programatically save the entire project for archival administration while moving on to new revisions.
Thanks for the prompt response.
08-02-2006 07:48 AM
JRs method is the same as I use for archiving, works great. But if you do want to create a copy of the project in another directory it is also pretty simple. Again just copy the entire project folder to folder with another name. Delete the directory in the folder named cvibuild.[your project name]. Load the project file and CVI will "fixup" the directories to point to the new folder (as much as it can.)
By making a copy of a folder and renaming a project file and cws file you can also for the most part migrate an entire project to a completely new application. Keeping the cws(workspace) with the .prj is optional, sometimes it makes sense to remove the cws as well. You can rename your main .c file, uir.c and .h etc, then load the new project. Some things in the project will not be found, and CVI will highlight/mark them in the project file view window. For things that for some reason can not be found simply right click on the filename and use the "Replace File in Project" option to correct the path or filename.
09-08-2006 10:42 AM
09-08-2006 12:54 PM