Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 9.1.0 Major Release
-
Labels:
-
Story Points:2
-
Epic Link:
-
Sprint:Summer 2019 Sprint 8, Summer 2019 Sprint 9, Summer 2019 Sprint 10, Summer 2019 Sprint 11
Description
For details see:
Investigate bundle resolution error involving htsjdk-igb
https://jira.transvar.org/browse/IGBF-1627
This requires understanding OSGi and how bundle dependencies get resolved during bundle installation and activation.
Also, review how we made htsjdk-igb bundle in the first place by looking at linked Jira issues.
Probably we have to make some changes to how we generate that bundle?
Potentially useful resources:
- Wrapping libraries to OSGi bundles https://bnd.bndtools.org/chapters/390-wrapping.html
- Playing with Apache karaf - tool you can use to test installing bundles (note our bundle is a library and doesn't have an "activate" method, which is a bit like a "main" method in Java application) https://www.javaindeed.com/playing-with-apache-karaf-console/
Please add more as you work on this.
When done, please write up a short, plain English description of what you did to fix the problem. (This can be a useful case study to introduce devs to OSGi in IGB.)
*
[~aloraine]
Investigation Results:
htsjdk requires below jar to remove bundle resolution error. I manually downloaded this jar and copied them in /bundles.
1. commons-jexl-2.1.1.jar
jexl requires below jar to remove bundle resolution error. I manually downloaded this jar and copied them in /bundles.
1. commons-logging-1.2.jar
I manually copied these two jars in /bundles to remove bundle resolution error and now IGB runs without any error. These two jars should be downloaded from pom.xml (Maven). But for some reason maven is not downloading these jars even after providing dependencies.