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.
当我们的一个开发人员正在度假时,我完成了他的任务。源代码在我们的svn存储库中,我得到了java项目源代码。下载了eclipse 3.3.2 sdk,因为这是他的指令。
How do I open an existing project in eclipse? Coming from MS world, i do not have the luxury of finding a .sln file.
如何在eclipse中打开现有项目?来自MS世界,我没有找到.sln文件的奢侈。
5 个解决方案
#1
63
- File -> Import -> Existing Project into Workspace
- 文件 - >导入 - >现有项目到工作区
- Browse for that directory.
- 浏览该目录。
Alternative: Check out the code in SVN to some folder
替代方案:将SVN中的代码签出到某个文件夹中
- Create a new folder in windows
- 在Windows中创建一个新文件夹
- In eclipse File -> switchWorkspace -> newFolderName
- 在eclipse文件 - > switchWorkspace - > newFolderName中
- close the welcome window in eclipse
- 关闭eclipse中的欢迎窗口
- In eclipse File -> Import -> Existing project into workspce-> select root dir -> browse and show the svn checkout folder
- 在eclipse文件 - >导入 - >现有项目到workspce->选择root目录 - >浏览并显示svn checkout文件夹
#2
5
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.
如果这是一个简单的Java项目,您实质上是创建一个新项目并给出现有代码的位置。项目向导将告诉您它将使用现有源。
Also, Eclipse 3.3.2 is ancient history, you guys should really upgrade. This is like using Visual Studio 5.
另外,Eclipse 3.3.2是古老的历史,你们应该真正升级。这就像使用Visual Studio 5一样。
#3
2
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.
典型的模式是使用eclipse的svn集成(SVN存储库探索视角)从SVN检出根项目文件夹(=包含名为“.project”的文件的文件夹)。然后自动识别项目。
#4
2
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.
Eclipse没有内部Subversion连接。在下载并解压缩Eclipse之后,必须安装Subversion插件。请与其他开发人员确认您使用的是哪个Subversion插件。 Subclipse是一个Subversion插件。
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.
安装Subversion插件后,必须在SVN存储库透视图的SVN存储库视图中为Eclipse提供存储库信息。其他开发者之一应该有这些信息。
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.
最后,从Subversion中检出项目,左键单击Package Explorer,选择New - > Project,在New Project向导中,左键单击SVN - > Checkout来自SVN的项目。
#5
0
Simple, you just open klik file -> import -> General -> existing project into workspace -> browse file in your directory.
很简单,你只需打开klik文件 - >导入 - >常规 - >将现有项目导入工作区 - >浏览目录中的文件。
(I'am used Eclipse Mars)
(我用过Eclipse Mars)
#1
63
- File -> Import -> Existing Project into Workspace
- 文件 - >导入 - >现有项目到工作区
- Browse for that directory.
- 浏览该目录。
Alternative: Check out the code in SVN to some folder
替代方案:将SVN中的代码签出到某个文件夹中
- Create a new folder in windows
- 在Windows中创建一个新文件夹
- In eclipse File -> switchWorkspace -> newFolderName
- 在eclipse文件 - > switchWorkspace - > newFolderName中
- close the welcome window in eclipse
- 关闭eclipse中的欢迎窗口
- In eclipse File -> Import -> Existing project into workspce-> select root dir -> browse and show the svn checkout folder
- 在eclipse文件 - >导入 - >现有项目到workspce->选择root目录 - >浏览并显示svn checkout文件夹
#2
5
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.
如果这是一个简单的Java项目,您实质上是创建一个新项目并给出现有代码的位置。项目向导将告诉您它将使用现有源。
Also, Eclipse 3.3.2 is ancient history, you guys should really upgrade. This is like using Visual Studio 5.
另外,Eclipse 3.3.2是古老的历史,你们应该真正升级。这就像使用Visual Studio 5一样。
#3
2
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.
典型的模式是使用eclipse的svn集成(SVN存储库探索视角)从SVN检出根项目文件夹(=包含名为“.project”的文件的文件夹)。然后自动识别项目。
#4
2
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.
Eclipse没有内部Subversion连接。在下载并解压缩Eclipse之后,必须安装Subversion插件。请与其他开发人员确认您使用的是哪个Subversion插件。 Subclipse是一个Subversion插件。
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.
安装Subversion插件后,必须在SVN存储库透视图的SVN存储库视图中为Eclipse提供存储库信息。其他开发者之一应该有这些信息。
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.
最后,从Subversion中检出项目,左键单击Package Explorer,选择New - > Project,在New Project向导中,左键单击SVN - > Checkout来自SVN的项目。
#5
0
Simple, you just open klik file -> import -> General -> existing project into workspace -> browse file in your directory.
很简单,你只需打开klik文件 - >导入 - >常规 - >将现有项目导入工作区 - >浏览目录中的文件。
(I'am used Eclipse Mars)
(我用过Eclipse Mars)