Importing existing Java Project into Eclipse – “Create projectfrom existing source”(在eclipse4.2版本会找不到 “Create projectfrom existing source”这个选项,以至于无从下手。)
Are you trying to import a non-Eclipse based Java project into Eclipse?(废话来的)
You find a lot of tips in the internet which tell you that you should create a new Java Project and then use the “Create project from existing source” option.
For example on the
Google Plugin for Eclipse webpage.
Unfortunately this option does not exists. To my knowlegge the correct (and unfortunately a bit complex way) is to create a nwe Java project, select the project, right-click on it and select Import -> File System.
解决方法在这里:就是创建一个新的java工程,然后选择这个工程,右键然后选择导入(import)-
->文件系统(
File System)
On the following dialog you can select the directory from which you want to import and also if existing resources should be overriden.
I hope this helps.
Remark: For
Google App Engine with Java you also need to set the output path (bin folder)of the project to “projectname/war/WEB-INF/classes”.