Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Cloning a project

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Cloning a project
Moderator:
JFMD

Post Reply
Follow this topic



Cloning a project

Rocketmagnet posted on 21 Nov 2012 4:26 AM PST
Top Contributor
91 Forum Posts

 

PSoC Creator contains a mechanism for cloning the Example Projects, indeed it's the only way to open them really because they're write protected.

 

But is there a way to clone one of my own projects?  I could just take a copy of the project folder, but then all of the files and folders have the same name. Ideally the cloning process would automatically rename all of the files and folders to match the name of the new project.

 

Many thanks - Hugo




Re: Cloning a project

Bob Marlowe posted on 21 Nov 2012 07:53 AM PST
Top Contributor
1768 Forum Posts

I would suggest you to use the "Create Workspace Bundle" feature which creates an archive of a project. This archive can be copied (expanded) into a new folder and then you may start renaming project, workspace, whatever you want.

 

Bob



Re: Cloning a project

danaaknight posted on 21 Nov 2012 01:33 PM PST
Top Contributor
1773 Forum Posts

This might be of use -

 

http://www.cypress.com/?id=4&rID=39736

 

Regards, Dana.



Re: Cloning a project

JvZ posted on 16 Jan 2013 08:03 AM PST
Member
2 Forum Posts

 This is something I would think *everyone* would find a need for, namely a "save as" option, so you could incrementally build a project, get some of it working, save that as a new project, etc.  I found the following solution with a web search, and can report that it works "as advertised".  I made a little text file of the instructions, which I pop up as needed, but a "save as" option in V2.3(?) would sure be much appreciated!  Note that going the "archive" route is NOT the same thing!

http://www.psocdeveloper.com/forums/viewtopic.php?f=48&t=7384

Here are the steps, as reported by jomalogil on Sat Feb 05, 2011 3:57 am

a) open the workspace where is the original project
b) right click over project and select copy.
c) close workspace (File menu)
d) open (create) a new project, but select Others-> empty workspace
e) write the name of the "clone" project
f) right click over workspace and select paste.
g) rename the project.
h) select different PN if necessary
 



Re: Cloning a project

Bob Marlowe posted on 16 Jan 2013 08:44 AM PST
Top Contributor
1768 Forum Posts

I always use a different way to "clone" a project.

As suggested in the link Dana supplied I use "Create Workspace bundle", choosing the minimal zipped version. Then I expand the archive into a new folder and rename workspace / project if required. Even when changing the computer where Creator runs on I do not get any errors.

 

Bob



Re: Cloning a project

GeorgeJ posted on 16 Mar 2013 02:35 PM PST

1 Forum Post

I agree that a "Save as..." menu choice should be added. Such a file maintenance option is standard on practically every piece of PC and Mac software that deals with files.

-George






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20