I wondered this myself. EIK actually strips out the OSGi classes from the karaf.main so it does not interfere with the running Karaf instance. I also noticed that the OSGi interfaces have to be on the boot classpath in addition to the system bundle.
Stephen On Sun, Mar 18, 2012 at 10:30 AM, Andreas Pieber <[email protected]> wrote: > didn't we changed it because of the 1.4 build problem with java 7? > > Kind regards, > Andreas > > On Sun, Mar 18, 2012 at 14:52, Christian Schneider > <[email protected]> wrote: >> Hi all, >> >> I wondered why so main karaf modules depend on the karaf.main module. I >> found that karaf.main contains the sources for the OSGi core spec. >> >> Why do we have these sources in our code? Shouldn´t we just depend on the >> official package or at least only inline it during the build? If there is a >> good reason then I would like to document it in the architecture decisions >> page in the wiki. >> >> Christian >> >> -- >> Christian Schneider >> http://www.liquid-reality.de >> >> Open Source Architect >> Talend Application Integration Division http://www.talend.com >> -- Stephen Evanchik http://stephen.evanchik.com
