Basic use case here is that I'd like to use Jackson within OBR. Jackson expresses a requirement on ee=J2SE-1.5. Felix Karaf doesn't have a facility for supported execution environments.
I can set:
before I start karaf from the command line but this seems like a hack. It's very possible that I'll start Karaf using Sun's 1.6 JVM or an IBM JVM.
Ideally at startup time Karaf could look at the runtime and determine the JVM version (at the very least). It could then expose the execution environment somehow (presumably in a way that OBR would understand).
We should still be able to explicitly set the org.osgi.framework.executionenvironment system property but ideally it'd be additive to the ee's that Karaf senses when it starts up.