How to Create a Project from Existing Source in Eclipse and Then Find It

How to create a project from existing source in Eclipse and then find it?

Easiest Method:

  1. Put all source files into one directory named after your project. i.e. "ProjectName" You can keep this directory in your workspace or it can be somewhere else.
  2. Start a new project in eclipse and name it using that same project name.
  3. Uncheck the "use default location" box and find the directory where your project is unless your project is already in the workspace - then you must not uncheck the "use default location" box
  4. Click 'next'.

Eclipse should be smart enough to figure out what's going on. After clicking next, it will show you all of the files it found in that directory. It will just automatically add those files to your project. Voilà!

Where is create project from existing source in eclipse Indigo?

Un-check the Use Default Location option and then Browse to select the parent folder of your existing source tree. Eclipse will automatically detect the existing files and folders, although you might have to configure the project to let it know what your source folder is; but the New Java Project wizard presents that option to you.

How to open an existing project in Eclipse?

Maybe you have closed the project and configured the project explorer view to filter closed projects.

In that case, have a look at Filters in the Project Explorer view. Make sure that closed projects are disabled in the "Filters" view.

How to make an existing directory into an eclipse project

In the New Java Project wizard, uncheck the checkbox that says Use default location and the use the Browse button to find your directory.

In Eclipse, how to copy an existing project to another project?

You can Import the project

OR

Assuming both project A and B are of same type:

You can copy the contents of src folder as it is.

For the libraries, just go to the build path and add them in the ssame way you did for project A.



Related Topics



Leave a reply



Submit