Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

janino-fragment matches wrong Bundle-SymbolicName #21

Open
diamondq opened this issue Sep 10, 2018 · 0 comments
Open

janino-fragment matches wrong Bundle-SymbolicName #21

diamondq opened this issue Sep 10, 2018 · 0 comments

Comments

@diamondq
Copy link

The janino-fragment is meant to inject a header into the janino bundle to allow it to resolve logback classes. However, janino changed their 'name' between 3.0.1 and 3.0.8. In 3.0.1, the name was org.codehaus.janino. In 3.0.2, they lost all OSGi headers, and it wasn't fixed until 3.0.8, when they decided the name would be org.codehaus.janino.janino.

This means that the current fragment won't match the newer versions of the Janino library. The easiest solution is to just update the janino-fragment's MANIFEST.MF to point to org.codehaus.janino.janino, but this will force the usage of only 3.0.8 and higher. So, not a great fix. Unfortunately, you can't specify multiple Fragment-Hosts on a single fragment, so the only complete fix is to create two fragment projects, one for 3.0.1 and older and one for 3.0.8 and higher.

Until this is resolved (one way or another), Janino 3.0.1 is the highest version that can work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant