felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür <r...@apache.org>
Subject org.apache.felix.main as bundle
Date Wed, 06 Nov 2013 17:02:04 GMT
Hello

Investigating on why the scala compiler (running as an OSGi service) could
load BundleContext in one environment and not in another. I found that the
first had org.apache.felix.main loaded as a bundle. So it seems the
compiler requiring the actual bytecode of the classes can acess the class
from this "normal" bundle but not from the system bundle (where
bundle.getResource("/") == null).

Is adding org.apache.felix.main as bundle a good approach? Or is there a
better way to make org.osgi.framework classes available to the scala
compiler?

Cheers,
Reto

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message