使用所有插件增强新的 Eclipse 机器
在新机器上引导 Eclipse 是一个非常耗时的过程,您最终会问自己是否真的需要每个插件。但这一切都很方便,并且有助于养成一致的习惯。
Eclipse 引导问题包括:
- 解释/记录需要发生的事情
- 粘贴正确的 URL 并下载的实际时间
- 版本兼容性和依赖项
- Eclipse 喜欢在每次更新后重新启动
- 切换到 Eclipse Marketplace 意味着您在 Web 上找到的一些插件和说明往往不一致,这取决于它们的书写时间。
- 许可证...一遍又一遍...是的,是的,是的...我理解安装的人需要了解它,并有机会审查它们,但必须有更好的方法。
最好有一个“补丁文件”(二进制或元)来阐明我想要在现有 Eclipse 安装之上添加的内容。我真的很想找到(或创建)一个 1 或 2 步的过程来设置 Eclipse,再加上一批最喜欢的插件:
- subclipse
- m2eclipse
- jetty 支持,如 runjettyrun
- android sdk 和插件(或至少只是插件)
- aspectj
- Web 对象/ WOLiops
- python,其他语言
- JVM Monitor,也许 EclEmma
- 可能很快就会成为 git 插件。
命令行 Maven 对这些有帮助吗?看起来它的存储库管理至少适合部分功能。
Bootstrapping Eclipse on new machines is such a time consuming process, you wind up asking yourself whether you really need each plugin. But there all handy, and help develop consistent habits.
Eclipse bootstrapping problems include:
- Explaining / documenting what needs to happen
- The actual time pasting in the right URLs and downloading
- Version compatibility and dependencies
- Eclipse likes to restart after each one
- The changeover to the Eclipse Marketplace means that some plugins and instructions you find on the web tend to be inconsistent, depending on when they were written.
- The Licenses... over and over and over... yes, yes, yes... I understand that the person installing needs to be aware of it, and have a chance to review them, but there's got to be a better way.
It'd be nice to have "patch file" (either binary or meta) that spells out what I want to add on top of stock Eclipse installation. I'd really like to find (or create) a 1 or 2 step process that sets up Eclipse, plus a favorite batch of plugins:
- subclipse
- m2eclipse
- jetty support like runjettyrun
- android sdk and plugin (or at least just the plugin)
- aspectj
- Web Objects / WOLiops
- python, other langs
- JVM Monitor, maybe EclEmma
- probably a git plugin pretty soon.
Does command line maven help with any of this? It seems like its repository management would fit at least part of the functionality.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
在安装有符合您需求的 Eclipse 的计算机上,使用 File ->导出->安装->已安装的软件项目已归档。在所有其他计算机上使用相同的菜单导入生成的文件。
On a machine with an Eclipse installation matching your needs use File -> Export -> Install -> Installed software items to file. Import the generated file using the same menu on all other machines.
正如 Scott 所说,一个好的方法是在安装了您需要的所有插件后,简单地打包一个完全准备好的 Eclipse 安装。缺点是您之后必须更新大多数插件。
另一种选择是使用 Yoxos。有了它,您可以创建一个配置文件并使用您需要的所有插件对其进行配置(显然 Yoxos 可以做的更多)。
最后,此页面可能会让您对配置方面感兴趣。
As Scott says, a good approach is to simply package a fully prepared Eclipse installation once all the plugins you need are installed. The downside is that you have to update most plugins afterwards.
Another option is to use Yoxos. With it, you can create a profile and configure it with all the plugins you need (and apparently Yoxos can do more than that).
Finally, this page might interest you concerning the configuration side of things.
解决方案 1 也是搜索更高级的 Eclipse 发行版。
例如,STS (Spring Tool Suite) 附带
Solution 1 is too search for more advanced Eclipse distributions.
For example, STS (Spring Tool Suite) comes with
可以使用 m2e-android - 用于 M2E Maven 集成的 Android 配置器 来完成一个小技巧。如果在干净的 Eclipse 上安装它,它也会自动解析安装:
One small trick can be done with m2e-android - Android Configurator for M2E Maven Integration. If installing it on clean Eclipse, it will also automatically resolve to install :