繁体   English   中英

Eclipse 插件未加载

[英]Eclipse plugin not getting loaded

我正在研究 Eclipse 4.2.1 并编写 Java 项目。 我需要使用第三方开发的插件。 我团队中的其他开发人员可以通过将插件放入 plugins 文件夹来使用该插件,并且该插件生效。 但是,对我来说,插件没有生效,我无法在 InstallationDetails -Plugin 菜单中看到插件。 我试图通过运行以下命令来调试问题:

eclipse.exe -clean -debug -consoleLog

但是,我没有在日志中看到任何可能提示插件未启动的原因的错误。 任何线索将不胜感激。 下面是output——

  Start VM: -Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=C:\softwaredownloads\eclipse\eclipse\\plugins/org.eclipse.equi
nox.launcher_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash C:\softwaredownloads\eclipse\eclipse\\plugins\org.eclipse.platform_4
.2.1.v201209141800\splash.bmp
-launcher C:\softwaredownloads\eclipse\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\softwaredownloads\eclipse\eclipse\\plugins/org.eclipse.equ
inox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813\eclipse_1503.dll
-startup C:\softwaredownloads\eclipse\eclipse\\plugins/org.eclipse.equinox.launc
her_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-clean
-clean
-console
-consoleLog
-debug
-vm C:\ToolChain\win64\jdk-1.6.0_35\jre\bin\server\jvm.dll
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=C:\softwaredownloads\eclipse\eclipse\\plugins/org.eclipse.equi
nox.launcher_1.3.0.v20120522-1813.jar
Install location:
    file:/c:/softwaredownloads/eclipse/eclipse/
Configuration file:
    file:/c:/softwaredownloads/eclipse/eclipse/configuration/config.ini loaded
Configuration location:
    file:/c:/softwaredownloads/eclipse/eclipse/configuration/
Framework located:
    file:/c:/softwaredownloads/eclipse/eclipse/plugins/org.eclipse.osgi_3.8.1.v2
0120830-144521.jar
Framework classpath:
    file:/c:/softwaredownloads/eclipse/eclipse/plugins/org.eclipse.osgi_3.8.1.v2
0120830-144521.jar
Splash location:
    C:\softwaredownloads\eclipse\eclipse\\plugins\org.eclipse.platform_4.2.1.v20
1209141800\splash.bmp
Debug options:
    file:/C:/softwaredownloads/eclipse/eclipse/.options not found
Time to load bundles: 37
Starting application: 6273
osgi> Application Started: 18986

p2现在是安装Eclipse扩展的唯一机制。 有多种方法可以调用它。 类似于将插件放入plugins文件夹的旧机制的一种方法是将扩展名放入dropins文件夹中。

如果插件只是一个jar文件,只需将其放入dropins 否则为它创建一个子目录并将所有文件放在那里。

然后,运行eclipsec -initialize 完成后,像往常一样启动Eclipse。

如果您的自定义插件是由第三方提供的,那么他们是否有p2更新站点?

现在通过p2安装新插件的首选方法是,如果您的第三方通过更新站点提供插件,只需转到帮助 - >安装新软件。

这是因为 eclipse 是马车废话

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM