I have a case where I'd like to exclude a bundle from the runtime based
on its execution environment. Apparently, there is no way of doing that.
The bundle is installed by P2 regardless of EE and OSGi will make an
attempt (and fail) to start it and thus print errors in the .log file.
Has anyone had similar problems?