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.
-
Do you have the code checked out already, or do you need to work from scratch?Donal Fellows– Donal Fellows2010年06月22日 19:51:17 +00:00Commented Jun 22, 2010 at 19:51
5 Answers 5
- File -> Import -> Existing Project into Workspace
- Browse for that directory.
Alternative: Check out the code in SVN to some folder
- Create a new folder in windows
- In eclipse File -> switchWorkspace -> newFolderName
- close the welcome window in eclipse
- In eclipse File -> Import -> Existing project into workspce-> select root dir -> browse and show the svn checkout folder
1 Comment
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.
Comments
The typical pattern is to check out the root project folder (=the one containing a file called ".project") from SVN using eclipse's svn integration (SVN repository exploring perspective). The project is then recognized automatically.
Comments
Eclipse does not have internal Subversion connectivity. After you've downloaded and unzipped Eclipse, you have to install a Subversion plug-in. Check with the other developers as to which Subversion plug-in you're using. Subclipse is one Subversion plug-in.
After you've installed the Subversion plug-in, you have to give Eclipse the repository information in the SVN Repositories view of the SVN Repositories perspective. One of the other developers should have that information.
Finally, you check out the project from Subversion, by left clicking on the Package Explorer, selecting New -> Project, and in the New Project wizard,left clicking on SVN -> Checkout projects from SVN.
Comments
Simple, you just open klik file -> import -> General -> existing project into workspace -> browse file in your directory.
(I'am used Eclipse Mars)