Hello everyone
Discuss what happened to me.
I'm using CodeWarrior for Coldfire 7.1 build 14 in MCF52235.
I want to do a test on the code project, so I make a copy of it to keep intact the original project.
When I open the project "copy" and try to do a search, it makes me search in the archives of the two projects.
Any solution?
For now, my solution was to temporarily change the name of the original project folder, resulting in multiple alarms such as "file not found. "
Note: Do not know if this happens in the rest of codewarriors, so I write in this forum.
"Reset project entry paths" and "remove object code" changes nothing.
Solved! Go to Solution.
Hi Tom:
Tell me what works, but thought it was not quite right, because I do not appear any headers.
Doing more testing, I managed to fix it by following the steps as follows:
- I make a copy of the project to another folder with another name.
- delete the DATA folder in the new project.
- Run the CodeWarrior, open and compile the new project.
When the program is compiled, you can see that each file you want to compile it to look first.
Tom thank you very much for helping me.
I do not know whether to put in another post, or can you tell me right here, but what data there is in that folder I have to delete? "I have no other errors in the future for wiping something wrong?
When you made a copy of the project, it retains the file path information used in the old project. You want to use the settings panels in the duplicate project to change these. Or, try choosing Project > Reset File Entry Paths, then delete the folder named Your_Project_Name_Data in the duplicate project folder. This deletes the old project settings and forces the IDE to search for the relevant files in the folder of the duplicate project.
---Tom
Hi J2MEJediMaster:
In the "setting panel" there is no difference between the original and the copy. The paths are identical. Can you guide me a bit more where I have to change?
In my CodeWarrior, I have no "Reset File Entry Paths", but I have "Reset project entry paths. " It does not work.
In the search window, I get the *. H duplicates.
Re-search for files does nothing.
Thanks.
Check the Access Paths settings panel. Are those the file paths that you say are identical?
I meant Reset Project Entry Paths, my mistake.
Have you tried deleting the Data folder yet?
---Tom
Hi Tom:
Access path is correct. And they are identical in both projects.
Delete the data folder? if you mean delete the folder of the "original project" I've tried to change the name, but happened to have duplicate searches to be an alarm for each file not found.
I notice that if I make the search in the "currently open project, " I have the list of files to find duplicate headers. However, if I do the search on the specific target "bare_min_app_rom" (do not know what that is), then disappear duplicate searches.
Can I edit the targets and how?
Thanks.
OK, if those paths are absolute paths, that is, they appear as C:\Test_Code\MyProject\Sources\... then the new project is going to use that absolute path information to go to the older folder. You want to have project relative paths, which appear as {CodeWarrior Project}\Sources in the access paths settings. A relative path lets the IDE select the active project directory and start from there in its search. You are seeing the IDE try to do the right thing when you search the currently open project.
No, what I meant by data folder is that you delete the MyProject_Data folder that appears in your new project's folder.
What I would try is this:
1) Go back to the original project. Make a copy of it. Name the copy something different, like New_Project.
2) Quite the IDE, then open the new project. Choose Project > Re-search for files and Project > Reset Project Entry Paths.
3) Quit the IDE. Go into the new project's folder and delete the New_Project_Data folder.
4) Restart the IDE and check the Access Paths settings. There should only be default paths, and they should be relative paths. If not, you have to delete the absolute paths.
---Tom
Hi Tom:
Tell me what works, but thought it was not quite right, because I do not appear any headers.
Doing more testing, I managed to fix it by following the steps as follows:
- I make a copy of the project to another folder with another name.
- delete the DATA folder in the new project.
- Run the CodeWarrior, open and compile the new project.
When the program is compiled, you can see that each file you want to compile it to look first.
Tom thank you very much for helping me.
I do not know whether to put in another post, or can you tell me right here, but what data there is in that folder I have to delete? "I have no other errors in the future for wiping something wrong?
The _Data folder contains all of the settings for the project. When you delete that, it forces the IDE to use default settings, and that often clears up a problem when it is due to a corrupt settings file.You will have to check your build settings and probably adjust them, but that is a small price to pay to get the project working like it should.
---Tom