将 Netbeans 项目转换为 Eclipse 项目

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4721282/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 15:39:48  来源:igfitidea点击:

convert Netbeans project to eclipse project

javaeclipse

提问by Ravi Parmar

I have developed a very big java application in netbeans. Now I have eclipse IDE, and I want to migrate my project from netbeans to eclipse IDE. Is there any procedure for that? Please give me an advice for configuring netbeans' project into eclipse IDE.

我在 netbeans 中开发了一个非常大的 java 应用程序。现在我有 eclipse IDE,我想将我的项目从 netbeans 迁移到 eclipse IDE。有什么手续吗?请给我一个将 netbeans 项目配置到 eclipse IDE 的建议。

采纳答案by VonC

I don't think there is a full automatic process for that.
This answersummarizes it well:

我不认为有一个全自动的过程。
这个答案总结得很好:

The best thing for you to do is go through the tutorial in the Eclipse Help that teaches you how Projects are configured in Eclipse, including examples of several types of typical existing-project situations.
That will give you the base understanding to successfully set up your project in Eclipse.
The "From Ant build file" import is a nice attempt, but you have to realize it can't possibly interpret every kind of build, especially when it is not obvious what targets are really interesting.
Go through the tutorials in Help Contents > Java Development User Guide > Getting Started. They are simple and short enough but will get you very far.

最好的方法是阅读 Eclipse 帮助中的教程,该教程教您如何在 Eclipse 中配置项目,包括几种典型现有项目情况的示例。
这将使您对在 Eclipse 中成功设置项目有基本的了解。
" From Ant build file" 导入是一个不错的尝试,但您必须意识到它不可能解释所有类型的构建,尤其是当不清楚哪些目标真正有趣时。
浏览 中的教程Help Contents > Java Development User Guide > Getting Started。它们既简单又足够短,但会让你走得很远。



For more advanced Netbeans projects (not exactly your situation, but I mention it there just in case), there was a SOC proposal

对于更高级的 Netbeans 项目(不完全是你的情况,但我在那里提到以防万一),有一个SOC 提案

The plugins models for Eclipse and NetBeans are very similar yet different.
This project would provide the ability to run and embed a minimal NetBeans environment within Eclipse -- as Eclipse plugins-- , and support running NetBeans plugins like Matisse (Swing UI painter) or Coyote (dynamic languages toolkit).

Eclipse 和 NetBeans 的插件模型非常相似但又不同。
该项目将提供在 Eclipse 中运行和嵌入最小 NetBeans 环境的能力——作为 Eclipse 插件——,并支持运行 NetBeans 插件,如 Matisse(Swing UI 画家)或 Coyote(动态语言工具包)。

But it didn't go very far: Matisse4MyEclipseis much more mature.

但它并没有走多远:Matisse4MyEclipse更加成熟。