WinDev, WebDev and WinDev Mobile consulting

Originally posted (by me) on the mysnip solution forum (http://27130.foren.mysnip.de/read.php?27162,23174)

Very often, you need to start a new project by just reusing an existing one... And there comes the problem: how to properly rename the existing project and its analysis to be sure that nothing is going to get mixed up...

Here is my step by step solution (this is written for webdev but will also work for a windev or windev mobile project)

1. Do a backup of the original project (Tools>Save the project)
2. Restore this backup in a new directory named after your NEW project (Tools>Restore a project)
3. Open the restored project (still using the old project name) from the NEW directory (File>Open a project). The editor sees that the project was moved and changes anything needed accordingly)
4. If any object is open (window, page, report, etc) close it
5. With ONLY the project open (hence the step 4 above), save the project under it's new name in the SAME NEW directory (File>Save AS)

-- At this point, the project is renamed, but still used the old analysis name--

6. Open the analysis
7. Save the analysis under its new name (File>Save AS). The window that is shown is misleading in that it's the general description window for the analysis. In it, you ned to change only the 'Name' field in the first tab, then click the save button
8. Once the analysis is renamed, the analysis editor asks if you want to use the renamed analysis in the current project. Answering YES is a good idea... If you missed that step, you can still change the analysis used in the project description window.

-- At this point, project and analysis are OK, but you still have the global procedures to rename--

9. Close all windows, pages, etc
10. Open the collection of global procedures still wearing the old name (this will have to be done twice: once for the server collection, once for the browser collection)
11. Save the collection under it's new name (File>Save AS)
12. Answer yes to question asking if you want to include the renamed collection in your project
13. Delete the collection still wearing the old name (Right clic>Delete)

You still have a few files wearing the name of the old project in the project directory,a dn you 'll have to delete them by hand in windows explorer..

That's it