Hello,

I have this plugin (http://nbnotify.com ) that works only on macOS so it has

OpenIDE-Module-Requires: org.openide.modules.os.MacOSX

I want to extends this plugin to work on Linux too.

Now, one solution would be to create a 2nd module with something like

OpenIDE-Module-Requires: org.openide.modules.os.Linux

But then I need to distribute 2 modules.

It would be ideal to be able to distribute a suite in the Plugin Portal so
I could bundle both modules. As far as I know this is not possible,
correct? (This is annoying since I cannot reuse code between the two
modules).

Alternatively it would be nice to conditionally register services based on
a token. Then I could have a single module which bundles the both operating
system services.

Are there other solutions I'm not aware of?

PS: Crossposting to [email protected] because we have to
start using it for Platform questions.

--emi

Reply via email to