Eclipse plug-in is loaded on Windows and Linux but not on MacOS
NickName:wimix Ask DateTime:2020-12-18T06:45:30

Eclipse plug-in is loaded on Windows and Linux but not on MacOS

My Eclipse plug-in adds a category in the File - New - Other... dialog and provides a wizard for adding new projects. It is developed on MacOS 11.1, JDK 15.01, Eclipse 2020-09, and runs in the debugger without problems. The plug-in does only depend on standard plugins:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: wim.ix Plugin 
Bundle-SymbolicName: de.wim.ix.dev.eclipse.plugin;singleton:=true
Bundle-Version: 20.0.1.14
Bundle-Activator: de.wim.ix.dev.eclipse.plugin.Activator
Require-Bundle: org.eclipse.ui,
 org.eclipse.core.runtime,
 org.eclipse.ui.ide;bundle-version="3.17.200",
 org.eclipse.core.resources;bundle-version="3.13.800",
 org.eclipse.pde.core;bundle-version="3.14.0"
Bundle-RequiredExecutionEnvironment: JavaSE-11
Automatic-Module-Name: de.wim.ix.dev.eclipse.plugin
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: lib/wim.ixClient.jar,
 lib/slf4j-api-1.7.30.jar,
 .,
 lib/commons-io-2.6.jar,
 lib/logback-classic-1.2.3.jar,
 lib/logback-core-1.2.3.jar,
 lib/commons-compress-1.20.jar,
 lib/gson-2.8.6.jar
Bundle-Vendor: wim.ix 

and all further required jars are included in the plugin-jar.

I follow this tutorial, 20ff, to create an update site from where the plug-in (resp. feature) can be installed.

On Windows and Linux with the same JDK an Eclipse versions, the installation works fine. The category in File - New - Other... is shown and the wizard dialog can be started.

Installing the feature into the Eclipse on MacOS - where it has been built and debugged before - does not show an error too. Howerver, the category does not appear in the File - New - Other... window. The feature is listed in Eclipse - About - Installation Details... as installed software but is not found as installed plugin.

If the plugin is copied into the Eclipse/dropins folder, the result is very similar: It works on Windows and Linux. It does not work on MacOS.

Is there anything special to do on MacOS for importing a feature/plugin?

Copyright Notice:Content Author:「wimix」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/65349426/eclipse-plug-in-is-loaded-on-windows-and-linux-but-not-on-macos

More about “Eclipse plug-in is loaded on Windows and Linux but not on MacOS” related questions

Eclipse plug-in is loaded on Windows and Linux but not on MacOS

My Eclipse plug-in adds a category in the File - New - Other... dialog and provides a wizard for adding new projects. It is developed on MacOS 11.1, JDK 15.01, Eclipse 2020-09, and runs in the debu...

Show Detail

Exported plug-in is not loaded when starting Eclipse

I wrote a plug-in in Eclipse and exported it. It works fine and is loaded when I start the Eclipse. Unfortunately when I add "org.eclipse.swtbot.eclipse.finder" to the dependecies and export it aga...

Show Detail

Downloading Lejos Firmware w/ eclipse plug-in (Linux Mint 17.3)

So I've just switched to d to Linux Mint rosa from Windows 10. I'm trying to figure out how download the firmware through eclipse. Whenever I click the plug-in and then the firmware I get; "start...

Show Detail

adapting a start (shell?) script for Eclipse to MacOS (Windows and Linux examples given)

I'm trying to follow an instruction on how to place versions of Eclipse and OpenJDK in a separate folder and run them by executing a small program named eclipsestart. We are working with an older JDK

Show Detail

SWTError: Not implemented [multiple displays] in Eclipse plug-in devlopment

I have plug-in project in which I am using Display display = new Display(); // twice this plug-in is working fine on Windows. But when I run plug-in on Linux it throws an error: org.eclipse....

Show Detail

TFS plug-in for Eclipse ( Team Explorer Everywhere) in Ubuntu, does not reflect the changes made correctly

I have installed Team Explorer Everywhere (TFS plug-in for Eclipse) on an Eclipse Lunar on Ubuntu. I am connected to our company's TFS server at XYZ.visualstudio.com and I can successfully connect ...

Show Detail

Use CMD or Terminal from Eclipse plug-in programmatically

I need to send commands to the windows CMD or linux terminal from an Eclipse wizard. Not my first choice but I'm not the architect so just following orders. Is there a way to send a command to the ...

Show Detail

Installing Genymotion Eclipse plug-in

I have installed Genymotion on my Windows 7 , 32-bit machine. I am working with Eclipse to develop Android apps. I would like to ask what the proper way to install the Genymotion plug-in is. Goi...

Show Detail

Eclipse e4 product Export fail on Linux/Unix (plugin based product)

I have an eclipse e4 rcp application. When I want to export it on Linux it fail with this error message: /home/marius/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.

Show Detail

How to detect Linux or macOS or Windows in powershell?

I use uname -s in bash scripts to determine the OS and it returns Linux, Darwin or MINGW64_NT... when its running on Linux, macOS or Windows. EDIT0 : I want my $PROFILE script to detect the OS whet...

Show Detail