Restoring Processor Expert .PE file?

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

Restoring Processor Expert .PE file?

789 次查看
dougpaulsen
Contributor IV

I am trying to restore a Codewarrior 10 project that was saved to version control (not "exported" from the IDE).  I can import the project into a new workspace on a new PC, re-build, and the original and new S19 files match.  The Processor Expert .PE file, while recovered from version control, is not integrated into the newly imported project.  

 

The $64K question is: Can a saved .PE file somehow be integrated back into a newly imported project?

 

Reviewing documentation, it appears that the proper procedure to archive a project would have been to export both the project itself and, in a separate step, the Process Expert too.  Obviously then both would be available to restore.  Alas, this did not happen.  I am now with a project that can be re-built but not modified through Processor Expert.  

 

Thanks for any thoughts!

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

622 次查看
BlackNight
NXP Employee
NXP Employee

Hi Doug,

I'm not sure if I 100% understand you. But you don't have to 'export' projects or 'import' them if using a version control system. If you project is a Processor Expert project (created with the option as Processor Expert project), you can simply replace the .pe file with a different one. Only make sure that this .pe file is not currently open by Eclipse, so best if you either close that project or have Eclipse closed when you overwrite the .pe file in the project. The .pe file is a normal XML text file.

The following two articles provide more details about the files used:

https://mcuoneclipse.com/2012/03/17/dissection-of-mcu10-projects/ 

https://mcuoneclipse.com/2013/03/29/version-control-with-processor-expert-projects/ 

I hope this helps,

Erich

0 项奖励
回复