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: 33258
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
>


Ed Merks
Professional Support: https://www.macromodeling.com/
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 messageGo to next message
Simon Baker is currently offline Simon BakerFriend
Messages: 21
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.
Re: How to clone/duplicate an existing Eclipse project? [message #1827167 is a reply to message #332266] Fri, 08 May 2020 19:31 Go to previous message
Matt Reed is currently offline Matt ReedFriend
Messages: 1
Registered: November 2019
Junior Member
Does not work. 'Paste' is never enabled because clicking on an empty spot does not deselect the project. Version: 2019-12 (4.14.0)
Previous Topic:Theming: reduce space between parts
Next Topic:preserve workspace layout
Goto Forum:
  


Current Time: Wed Dec 04 13:44:40 GMT 2024

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

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

Back to the top