Clone a project in Creator

Discussion of the PSoC Creator Integrated Development Environment for PSoC3 & PSoC5 devices.

Moderator: ericb

Clone a project in Creator

Postby jomalogil » Sat Jan 29, 2011 5:59 am

I'd been looking for how to clone a project done in Creator and I found nothing. It seems is not possible :cry:
is there any "trick" to do it? (although it was necessary to do at hand)
Gil
Saludos-Best regards
jomalogil
Cheese Wheel
Cheese Wheel
 
Posts: 140
Joined: Thu Nov 24, 2005 6:36 am
Location: Madrid - Spain

Re: Clone a project in Creator

Postby jomalogil » Sat Feb 05, 2011 3:57 am

I discover the way yesterday (too, same that release compiling). Procedure:

a) open the workspace where is the original project
b) right click over project and select copy.
c) close workspace
d) open 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
and ready !!

With this method, project cloned appears clean. Only there are two files with reference to original project in the folder xxxx.cydsn, that it's possible to delete (by hand) without problems.
Gil

Saludos-Best regards
jomalogil
Cheese Wheel
Cheese Wheel
 
Posts: 140
Joined: Thu Nov 24, 2005 6:36 am
Location: Madrid - Spain

Re: Clone a project in Creator

Postby abitkin » Tue Mar 01, 2011 9:05 am

jomalogil wrote:I discover the way yesterday (too, same that release compiling). Procedure:

a) open the workspace where is the original project
b) right click over project and select copy.
c) close workspace
d) open 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
and ready !!

With this method, project cloned appears clean. Only there are two files with reference to original project in the folder xxxx.cydsn, that it's possible to delete (by hand) without problems.


The other way, right click on your project/workspace and archive it. Extract the archive somewhere else on your hard drive, and you should have a perfect copy, ready to go.
abitkin
The Big Cheese
The Big Cheese
 
Posts: 208
Joined: Wed Sep 16, 2009 11:54 am

Re: Clone a project in Creator

Postby xshan88 » Tue Aug 16, 2011 3:32 pm

Thanks jomalogil for asking the question and provide a solution. I just tried and it works well on cloning project with PSoC Creator 1.0 Service Pack 2.
The archive feature is for making a backup copy of a project. It requires a lot of manual modifications to many files to convert an archieved project to a new project with a new name in a new folder.
xshan88
Newbie
Newbie
 
Posts: 1
Joined: Tue Aug 16, 2011 3:09 pm

Re: Clone a project in Creator

Postby tpcipri » Mon Jul 08, 2013 1:34 pm

This can be made slightly simpler, at least with PSoC Creator 2.2 and you want to keep the clones in the same workspace.

Revised Procedure:

1. Open the workspace with the desired project file
2. Right click on the project to be cloned and select "copy"
3. Right click on the workspace and select "paste"
4. Rename the new project file, by default it will be the same with "Copy" appended to it.

Teno
tpcipri
Newbie
Newbie
 
Posts: 1
Joined: Mon Jul 08, 2013 1:26 pm

Re: Clone a project in Creator

Postby bobmarlowe » Mon Jul 08, 2013 9:55 pm

I usually take a different approach giving me a new a new workspace branch to start off:
1st: In Creator select "File -> Create Workspace Bundle" and create a .zip archive from your current project.
2nd: Unzip the archive into a new directory.
3rd: Open the new workspace and rename it (and the projects within) to your needs.

I see, this thread is a two year old one and we probably should have started a new one... :mrgreen:


Bob
User avatar
bobmarlowe
The Big Cheese
The Big Cheese
 
Posts: 1490
Joined: Thu Oct 06, 2011 2:03 am
Location: Germany


Return to “%s” PSoC Creator (PSoC3 & PSoC5 IDE)

Who is online

Users browsing this forum: No registered users and 1 guest

cron