Project changes lost during sync / backup...

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Project changes lost during sync / backup...

1,611 次查看
CarlFST60L
Senior Contributor II

Hi,

 

I recently updated my project (using Codewarrior 7.1.2 Build 11, IDE 5.9.0). Compiled and ran it on one computer, no problems. The update was a change to the project settings (specifically changing the linker file from abc.lcf to another file 123.lcf).

 

I then ran a synchronize backup to our NAS, went to another computer, opened the project, and the linker was still showing / using abc.lcf. I did this several times do different media and have the same problem.

 

My backup / sync tool just checks for newer files and overwrites them, it seems this is not enough to detect project changes in codewarrior???

 

Carl.

标签 (1)
0 项奖励
回复
3 回复数

740 次查看
J2MEJediMaster
Specialist I

Try this: copy the entire project directory using Windows Explorer rather than using the backup program, and see if that makes a difference.

 

---Tom

0 项奖励
回复

740 次查看
CarlFST60L
Senior Contributor II

Hi Tom,

 

That works fine, I have been using this copy all method to date, but now there is more to this. I should be able to sync the entire project (hardware, software, documenats) by 'last modification date', newest replaces oldest. We have no problem with the other 12Gb of data, just Codewarrior doesnt want to work...

 

What file exactly stores the project information? Such as paths, linker file selection, general project setting/properties?

 

I only noticed this problem because I had a NAS problem and restored a backup and the backup was all wrong (using the wrong linker files, even though the actual .lcf is in the {project} directory), so I tested some more and realised that this might be a problem for other people that restore backups of their work...

 

I previously had this problem when I went onsite with my laptop, all the project settings where wrong! Only now I realise why...

 

 

0 项奖励
回复

740 次查看
J2MEJediMaster
Specialist I

In your CodeWarrior project directory there will be a folder called YourProjectName_Data. This folder stores the project settings. Specifically, within this folder the file CWSettingsWindows.stg stores overall CodeWarrior and project settings info. Within this folder are subfolders that are named for each of your build targets, say, ROM_version. Within each subfolder is a TargetDataWindows.tdt file that stores build settings and other info for the specific build target. Hope this helps.

 

---Tom

0 项奖励
回复