Hello,
I had this problem once too. The easiest solution is to have 2
separate directorys.
One for autostart with felix (in your case only fileinstall) and
another directory which
is watched by fileinstall to install all the other bundles.
It worked for me.
regards
Matthias
Am 06.10.2009 um 09:03 schrieb Leen Toelen:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]