Hi,
I have a cosmetic problem where fileinstall is used to install all bundles,
but it always tries to install itself as well. Is it possible to tell
fileinstall which bundles to skip?

This is my config.properties:

org.osgi.framework.storage.clean=onFirstInit
org.osgi.framework.startlevel.beginning=6
felix.startlevel.bundle=5

felix.auto.start.1= \
 file:bundles/org.apache.felix.fileinstall_2.0.0.jar

And this is the error I get:
org.osgi.framework.BundleException: Bundle symbolic name and version are not
unique: org.apache.felix.fileinstall:2.0.0
at org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:1125)
at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:82)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2379)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2282)
at
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:668)
  at
org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:580)
  at
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:287)
Failed to install artifact: bundles\org.apache.felix.fileinstall_2.0.0.jar:
org.osgi.framework.BundleException: Bundle symbolic name and version are not
unique: org.apache.felix.fileinstall:2.0.0

Regards,
Leen

Reply via email to