Hi In Felix these packages are defined on a per-Java version basis in version specific properties. This way we can semi-dynamically define the actual packages depending on the actual Java version.
Currently we have versions upto and including Java 7 extracted from the actual Java Platform. The Java 8 version is currently the same as for Java 7 to at least support running on Java 8 -- but as the Java 8 API is not final yet, we cannot define these packages definitely yet. Hope this helps. Regards Felix Am 11.09.2013 um 19:53 schrieb Per-Erik Svensson: > Hi, > > I'm trying to start a minimal set-up to run Jersey (JAX-RS) and Jetty in > Apache Felix. When doing this, I get a uses constraint violation on > javax.annotation. > > None of this is of course Felix concern, but... > > I was wondering if there is a quick way to specify the > "org.osgi.framework.system.packages" (or any other) property to > *exclude* certain > packages. What I did was that I ran "inspect c osgi.wiring.package 0" and > copy/pasted the result (with some find-replace to format it correctly and > removing javax.annotation) to the system.packages property. This works > fine. However, it isn't very "future proof". If either felix or java8 comes > with a new set of "default" packages, I have to change this property. > > So, is there any way to remove only some of the default exported packages - > or is this an all-or-none affair? > > Regards, > Per-Erik Svensson
smime.p7s
Description: S/MIME cryptographic signature

