Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

open existing java project in eclipse

Tags:

java

As one of our dev guy is on vacation, I got his task. The source code is in our svn repository and i got down the java project source. downloaded eclipse 3.3.2 sdk as that were his instruction.

How do I open an existing project in eclipse? Coming from MS world, i do not have the luxury of finding a .sln file.

like image 960
uno Avatar asked Jun 22 '10 18:06

uno


People also ask

How do I open an existing Java project?

Simple, you just open klik file -> import -> General -> existing project into workspace -> browse file in your directory.

How do I open an already imported project in Eclipse?

You need to use "File"->"Import"->"General"->"Import Existing Project" to be able to use your existing project.

How do I find my existing project in Eclipse?

Select General > Existing Project into Workspace and click Next. Choose either Select root directory or Select archive file and click the associated Browse to locate the directory or file containing the projects.


2 Answers

  1. File -> Import -> Existing Project into Workspace
  2. Browse for that directory.

Alternative: Check out the code in SVN to some folder

  1. Create a new folder in windows
  2. In eclipse File -> switchWorkspace -> newFolderName
  3. close the welcome window in eclipse
  4. In eclipse File -> Import -> Existing project into workspce-> select root dir -> browse and show the svn checkout folder
like image 192
mcandre Avatar answered Oct 09 '22 05:10

mcandre


If this is a simple Java project, You essentially create a new project and give the location of the existing code. The project wizard will tell you that it will use existing sources.

Also, Eclipse 3.3.2 is ancient history, you guys should really upgrade. This is like using Visual Studio 5.

like image 40
Uri Avatar answered Oct 09 '22 03:10

Uri