You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by pa...@apache.org on 2019/05/08 19:12:48 UTC
[sling-whiteboard] branch master updated: Add non bundles from
features to the classpath as well
This is an automated email from the ASF dual-hosted git repository.
pauls pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git
The following commit(s) were added to refs/heads/master by this push:
new 2499b10 Add non bundles from features to the classpath as well
2499b10 is described below
commit 2499b102148437adb9095672061925f2f875243a
Author: Karl Pauls <ka...@gmail.com>
AuthorDate: Wed May 8 21:12:39 2019 +0200
Add non bundles from features to the classpath as well
---
.../sling/feature/launcher/extensions/connect/impl/PojoSRLauncher.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/connectfeaturelauncher/src/main/java/org/apache/sling/feature/launcher/extensions/connect/impl/PojoSRLauncher.java b/connectfeaturelauncher/src/main/java/org/apache/sling/feature/launcher/extensions/connect/impl/PojoSRLauncher.java
index d22ce0c..80bae3c 100644
--- a/connectfeaturelauncher/src/main/java/org/apache/sling/feature/launcher/extensions/connect/impl/PojoSRLauncher.java
+++ b/connectfeaturelauncher/src/main/java/org/apache/sling/feature/launcher/extensions/connect/impl/PojoSRLauncher.java
@@ -106,6 +106,9 @@ public class PojoSRLauncher extends FrameworkLauncher
filter += "(" + Constants.BUNDLE_SYMBOLICNAME + "=" + bsn + ")";
}
}
+ else {
+ context.addAppJar(file);
+ }
} catch (Exception ex) {
ex.printStackTrace();