eclipse Ecliplse/JBoss Developer Studio 中的 dropins 文件夹是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13871177/
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 19:36:30  来源:igfitidea点击:

What is the dropins folder in Ecliplse/JBoss Developer Studio?

eclipsepluginseclipse-pluginthemeseclipse-juno

提问by Apoorv Kansal

I am new to Eclipse and was wondering what is the dropins folder? Where exactly is it(I am on Windows 8)?

我是 Eclipse 的新手,想知道 dropins 文件夹是什么?它到底在哪里(我在 Windows 8 上)?

Basically i wanted to use this dark UI theme Roger Dudler made (https://github.com/eclipse-color-theme/eclipse-ui-themes) for Eclipse Juno. If you see near the bottom of this link, he says to place the zip folder into the "dropins folder". I have no idea :(

基本上,我想使用 Roger Dudler为 Eclipse Juno制作的这个深色 UI 主题(https://github.com/eclipse-color-theme/eclipse-ui-themes)。如果您在此链接底部附近看到,他说要将 zip 文件夹放入“dropins 文件夹”。我不知道 :(

Thanks

谢谢

回答by Syam

dropins directory in eclipse (Path is Eclipse_home/dropins, which is at same level as plugins folder is present in eclipse) is a default watched directory.
Instead of installing plugins you simply put them under this folder (in your case com.github.eclipsecolortheme.themes_1.0.0.201207121019.jar) and restart the eclipse they will be picked up automatically on next start.

eclipse 中的 dropins 目录(路径为 Eclipse_home/dropins,与 eclipse 中的 plugins 文件夹处于同一级别)是默认的监视目录。
无需安装插件,您只需将它们放在此文件夹下(在您的情况下为 com.github.eclipsecolortheme.themes_1.0.0.201207121019.jar)并重新启动 eclipse,它们将在下次启动时自动获取。

回答by nickboldt

Please note that the dropins folder is not supported or encouraged in JBoss Developer Studio.

请注意,JBoss Developer Studio 不支持或不鼓励 dropins 文件夹。

Plugin providers should really create an update site (or update site zip) containing their plugin bundles, and then users can simply do Help > Install new ... to install correctly using the fully supported p2/Install Manager method of installation.

插件提供商应该真正创建一个包含他们的插件包的更新站点(或更新站点 zip),然后用户可以简单地执行 Help > Install new ... 使用完全支持的 p2/Install Manager 安装方法正确安装。

Note too that Tycho now supports creation of update sites from nothing more than a pom.xml and category.xml file, and you don't need to create features anymore toadd your to the category.xml.

还要注意的是,第谷现在只支持从 pom.xml 和 category.xml 文件创建更新站点,并且您不再需要创建功能来将您的功能添加到 category.xml。

So there's really no reason to provide a plugin w/o wrapping it with the correct p2 metadata.

所以真的没有理由提供一个没有用正确的 p2 元数据包装它的插件。

回答by Raul

The dropins folder is if not exists it must be created. The location is the same as the executable of the IDE.

如果 dropins 文件夹不存在,则必须创建它。该位置与 IDE 的可执行文件相同。