Reputation: 4020
I am working on Eclipse 4.2.1 and writing a Java project. I need to use a plugin developed by a third party. Other developers in my team are able to use the plugin by putting it in the plugins folder and the plugin takes effect. However, for me the plugin does not take effect and I am not able to see the plugin in the InstallationDetails -Plugin menu. I have tried to debug the issue by running the following:
eclipse.exe -clean -debug -consoleLog
However, I dont see any errors in the logs that might give a hint as to why the plugin is not launched. Any clues would be highly appreciated. Below is the 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
Upvotes: 1
Views: 7520
Reputation: 20812
p2 is now the only mechanism to install Eclipse extensions. There are various ways to invoke it. The one similar to the old mechanism of dropping plugins into the plugins folder is dropping extensions into the dropins folder.
If the plugin is just a jar file, just drop it into dropins
. Otherwise create a subdirectory for it and put all the files in there.
Then, run eclipsec -initialize
. When that finishes, start Eclipse as you usually would.
Upvotes: 3
Reputation: 71
If your custom plug-in is provided by a third party, do they have an p2 update site ?
The preferred way to install new plug-ins is now via p2, if your third party does provide the plug-in via an update site, just go to Help -> Install New Software.
Upvotes: 0