Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to clone/duplicate an existing Eclipse project?
How to clone/duplicate an existing Eclipse project? [message #332256] Tue, 14 October 2008 18:52 Go to next message
Eclipse UserFriend
Originally posted by: mstev.ozone.com

Assume I setup a Java project in Eclipse.
Now I want to keep this project in general but modify some minor parts.
For this I would appreciate to have the possibility to clone resp. duplicate
the old project into a new, second one and rename it to e.g. "myProject_dup".

Can I do this somehow?

Pia
Re: How to clone/duplicate an existing Eclipse project? [message #332260 is a reply to message #332256] Wed, 15 October 2008 07:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: karsten.panier.aysada.org

Hi,

you can select the project and use copy paste of the Edit menu to create
a clone of the project.

karsten

Pia Stevens wrote:
> Assume I setup a Java project in Eclipse.
> Now I want to keep this project in general but modify some minor parts.
> For this I would appreciate to have the possibility to clone resp. duplicate
> the old project into a new, second one and rename it to e.g. "myProject_dup".
>
> Can I do this somehow?
>
> Pia
Re: How to clone/duplicate an existing Eclipse project? [message #332264 is a reply to message #332256] Wed, 15 October 2008 08:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: 4cs6fcg02.sneakemail.com

Pia Stevens schreef:
> Assume I setup a Java project in Eclipse.
> Now I want to keep this project in general but modify some minor parts.
> For this I would appreciate to have the possibility to clone resp. duplicate
> the old project into a new, second one and rename it to e.g. "myProject_dup".
>
> Can I do this somehow?

I think you can use the Import wizard -> Project into workspace, then
choose the project which is already in the workspace. It will probably
barf about naming, haven’t tried. Maybe you can copy the project
somewhere else first, then edit the .project file to change the name.

H.
--
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
Re: How to clone/duplicate an existing Eclipse project? [message #332266 is a reply to message #332256] Wed, 15 October 2008 13:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Pia Stevens wrote:
> Assume I setup a Java project in Eclipse.
> Now I want to keep this project in general but modify some minor parts.
> For this I would appreciate to have the possibility to clone resp. duplicate
> the old project into a new, second one and rename it to e.g. "myProject_dup".
>
> Can I do this somehow?

Right-click and choose Copy, then paste it back and give it a new name.
Or, a better approach would be to use a source code version control
system like CVS to store your project. Then you can make as many changes
as you want and always have the version in CVS to go back to. That is
exactly why version control systems exist, to meet the need you're
talking about.

Eric
Re: How to clone/duplicate an existing Eclipse project? [message #332347 is a reply to message #332256] Mon, 20 October 2008 10:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30911
Registered: July 2009
Senior Member
Pia,

Copy followed by paste, in the explorer/navigator view, will given the
option to rename before it's pasted.


Pia Stevens wrote:
> Assume I setup a Java project in Eclipse.
> Now I want to keep this project in general but modify some minor parts.
> For this I would appreciate to have the possibility to clone resp. duplicate
> the old project into a new, second one and rename it to e.g. "myProject_dup".
>
> Can I do this somehow?
>
> Pia
>
Re: How to clone/duplicate an existing Eclipse project? [message #1817060 is a reply to message #332260] Thu, 14 November 2019 21:15 Go to previous message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 18
Registered: July 2009
Junior Member
Copy and paste of a project folder in the Navigator does not clone a project in Luna Release (4.4.0) in some circumstances it seems.

It makes a new project folder, but references files from the original project if you have linked source files. So be careful if you have linked source files not in the workspace.
Previous Topic:No property tester contributes a property org.eclipse.emf.ecp.core.project.open
Next Topic:Eclipse Java Luna SR2-Amazon Corretto-Windows 10
Goto Forum:
  


Current Time: Wed Feb 26 23:16:55 GMT 2020

Powered by FUDForum. Page generated in 0.06523 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top