Yes, you can safely delete them.

These are old OSGi manifest header entries that have been deprecated because they were only informational, but OBR does use them as a way to express a service capability/requirement.

I assume what is happening here is that your OBR repository does not contain a log service and/or the log service you are using doesn't contain "Export-Service: org.osgi.service.log.LogService" in its manifest. If the Log Service impl has this in its manifest (or its OBR description) then it will correctly resolve.

-> richard

Patrick Forhan wrote:
What is the purpose of these headers for shell.remote?

  <Import-Service>org.apache.felix.shell.ShellService</Import-Service>
  <Import-Service>org.osgi.service.log.LogService</Import-Service>

I am not familiar with them, there is no documentation on them for
maven-bundle-plugin or BND, and from what I gather from a casual
search, they are almost deprecated.  Can I remove the lines?  I cannot
start the bundle, even though bundles providing these services are
available.  Log/shell output:

-> obr list shell
Apache Felix Remote Shell (0.9.0.SNAPSHOT)
-> obr start "Apache Felix Remote Shell"
Unsatisfied requirement(s):
---------------------------
   (service=org.osgi.service.log.LogService)
      Apache Felix Remote Shell

-> services 12

OPS4J - Pax Logging Service (12) provides:
------------------------------------------
objectClass = org.osgi.service.log.LogReaderService
service.id = 28
----
objectClass = org.osgi.service.log.LogService,
org.knopflerfish.service.log.LogService,
org.ops4j.pax.logging.PaxLoggingService
service.id = 29
----
objectClass = org.osgi.service.cm.ManagedService,
org.ops4j.pax.logging.internal.LoggingServiceConfiguration
service.id = 30
service.pid = org.ops4j.pax.logging


Thanks,

Pat.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to