+1
I only see my solution as transitory as long as the OSGi alliance does
not release a compatible lib.
For karaf internally it is definately better to have a spec module than
to include the spec in another module that contains
impl classes and has additional dependencies.
Btw. I already commited a first version and would be happy about feedback.
http://svn.apache.org/repos/asf/karaf/trunk/osgicore/
I also switched the instance.core to this module instead of karaf.main.
The resulting jar seems to have the same Import-Package statements as
before so it seems to work well.
Christian
Am 27.04.2012 20:56, schrieb Felix Meschberger:
Hi,
Am 27.04.2012 um 19:15 schrieb Christian Schneider:
Hi Richard,
thanks for the clarification. I think we will then create a osgi spec
project in karaf. So at least inside karaf we have a cleaner build. I
will then ask the other committers if we would like
to recommend to users to also use the jar to compile on java 7 or not.
I don't think this is a good idea.
I wonder whether we could ask the OSGi Alliance to produce Java 7 compatible
builds of the libraries.
Regards
Felix
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com