Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does "Copy projects into workspace" mean?

Tags:

eclipse

When importing a project into Eclipse, there is a checkbox "Copy projects into workspace". I want to know what does this mean. Do I need to select this?

like image 852
user496949 Avatar asked Feb 28 '11 03:02

user496949


People also ask

How do I Import a project into Workspace?

Click File > Import. In the Import dialog, expand General, click Existing Projects into Workspace, then click Next. Select the Select archive file option, then click that option's Browse button. Click Open. Click Finish to continue.

Which view provides the option to Import projects into a Workspace?

From the File menu, select Import, and you see the Select page of the Import dialog. Expand the General folder, select Existing Studio Projects into Workspace and click Next..

How do I copy a Workspace in eclipse?

Best way is to copy the . metadata folder to a new folder and open that folder in Eclipse Workspace dialog box. Show activity on this post. Just copy the whole workspace on your local file system.


2 Answers

Basically, you want to do this if you want to copy the files of the project you are importing under the workspace folder, and have two copies of the project on your computer at once. This may or may not be what you want to do. In my case it is not what I want to do, as I already have my projects placed in the proper and final location before I import them. My "workspace" folder remains void of project files. This is completely acceptable and is likely what a newcomer to Eclipse working on a test project will want to do. If you are working for someone else, you should ask your employer the setup protocol.

like image 98
Xonatron Avatar answered Oct 02 '22 16:10

Xonatron


Every project in Eclipse is part of a workspace, which can be any folder, but usually developers keep the workspace folder as a parent to project folders. So, in this context, Eclipse is asking you, if you already have a workspace, whether you want to copy the project you are importing, to that workspace.

I will explain with an example: for my Android work, I have workspace folder called Android-<Product-Name>. In this I have library projects lib1, lib2, and the base Android project (called <product-name>) that uses those libraries. Hope this makes sense.

like image 40
omermuhammed Avatar answered Oct 02 '22 14:10

omermuhammed