07-09-2007 09:57 AM
07-09-2007 10:33 AM
Question 1: where are my project files located?
Regardless the type of Workspace View you are using (either the integrated or the classic one) show the project tree windo, next click on the project name and then check that in View menu the option Show full pathnames is marked: mark it if it's not. After this, in the project tree you will see the full pathname of every file listed in it, so that you can check that all files related to A.prj are included in A folder and none of them is taken from B folder. This option consumes a lot of video space so it's not activated by default but can be useful in caso of doublt as of where the files are located.
Question 2: how may it happen that a file be moved?
Well, so far I found only a way to do this: use the "File as" option to save a file: this option saves a file with the specified name in the specified folder and adds it in the project or replace with it the previous file you were working on. That is to say: if you open c:\a\a.c, modify it and save as c:\b\b.c, in your a.prj project you will from now using the file in the wrong directory! To prevent this problem use the menu option File >> Save Copy of xxxx As: this will let project file unchanged and will save the file in the new location / with the new name without affecting the project.
07-09-2007 10:59 AM
07-09-2007 11:11 AM
Weel, I have never observed such a strange behaviour. I made some test opening a sample project, opening one of its source files and next opening another source file in c:\temp: I had no problems in saving the project files: simply doing a Ctrl+S saves in the correct directory...
It seems there is something different between your situation and mine: can you define a complete procedure that results in the incorrect saving, so that we can test on our machine?