How to copy projects in MCUXpresso v11.0.0 and rename to a new revision letter?

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

How to copy projects in MCUXpresso v11.0.0 and rename to a new revision letter?

1,194 次查看
brettutesch
Contributor II

Historically my company has been doing version control in this manner:

ProjectName(A)    this would be the initial release of the project.

Copy ProjectName(A) in Windows filesystem and rename it to ProjectName(B). Change code in B. If another revision is needed, copy B and rename to C and so forth.

Now we have ProjectName(A), ProjectName(B), and ProjectName(C) in the Windows filesystem.

This process has worked well until MCUXpresso v11.0.0.  It appears all projects are getting imported now as ProjectName(A) even though the folder name is ProjectName(B) in Windows filesystem.  Since all projects are getting importing as the base file name (from which it was copied) I can only import one project due to all filenames importing as ProjectName(A).  

This has created a serious problem.  How is one suppose to copy a project and rename to a new revision letter?

I tried to do a file\copy in MCUXpresso file explorer pane and then paste into the MCUXpresso explorer pane with extremely unpleasant results.  It did copy but it also copied EVERY single project in the folder (there are 17 projects in this folder and put them ALL as sub projects.  Now Windows file system doesn't even show this files exists.  Naturally this project is NOT what I wanted so I deleted it use right mouse button in MCUXpresso and selecting delete.  Then MCUXpresso has check boxes to delete the project? or to delete the sub projects?  I selected the project.  This deleted ALL of my projects from Windows.  Luckily I backup everything before doing this.  Is this normal/correct behavior?  How does one undo this sub project creation?

I'm clearly doing something wrong or there is something seriously wrong with version 11.  Any help in how I'm suppose to copy projects and create a new revision would be greatly appreciated or how I'm supposed to import my projects and keep the Windows file name as the project name.

0 项奖励
回复
1 回复

1,089 次查看
converse
Senior Contributor V

I'd start by changing your 'version control' to full source code control. Your 'method' is so unreliable as to be dangerous. Most systems are free and will save you huge amounts of time and effort over the long term.

Anyway, to answer your question. Use Copy/Paste within the IDE:

1. In Project explorer, select your project, right-click and 'Copy'

2. Now right-click again and 'Paste'. It will ask for the name of the new project and then copy your project.

Yes, it is that simple.

A couple of tips to make it go smoothly.

- clean your project first, so there are no build artifacts (.o, .axf etc) copied

- delete any Debug configurations from your new project and recreate them

Good luck - and please use a source code control system...

0 项奖励
回复