We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c3bae2 commit ae5ac96Copy full SHA for ae5ac96
1 file changed
sensorhub-core-osgi/src/main/java/org/sensorhub/impl/osgi/SensorHubOsgi.java
@@ -129,7 +129,9 @@ public boolean accept(File dir, String name) {
129
for (var f: bundleJarFiles) {
130
LOGGER.info("Installing bundle " + f);
131
var bundle = systemCtx.installBundle(REF_PREFIX + f.toPath().toString());
132
- bundle.start();
+ if (bundle.getHeaders().get("Fragment-Host") == null) {
133
+ bundle.start();
134
+ }
135
}
136
137
// start all installed bundles
@@ -144,7 +146,9 @@ public boolean accept(File dir, String name) {
144
146
try
145
147
{
148
var bundle = systemCtx.installBundle(REF_PREFIX + path.toString());
149
150
151
152
153
catch (BundleException e)
154
0 commit comments