Thomas Watson

Results 104 comments of Thomas Watson

I think this could be solved by the support coming for the Condition specification in R8 in DS. One could easily register a Condition to activate components based on framework...

> Is there a method Tycho can re-use from the Equinox Framework to parse / match file names like in `Bundle.findEntries`? Short of creating an `Equinox` framework instance and installing...

See https://github.com/osgi/design/blob/main/rfcs/rfc0238/rfc-0238-Multi-Release-Jar-Support.pdf ``` 5.3 Bundle Entries The framework APIs which provide access to bundle content independent of the bundle class loader, such as Bundle.getEntry, Bundle.getEntryPaths, Bundle.findEntries, and BundleWiring.findEntries, are not...

Perhaps it needs clarification in the specification. But there are assertions in https://github.com/osgi/osgi/blob/main/org.osgi.test.cases.framework.launch/src/org/osgi/test/cases/framework/launch/junit/MultiReleaseJarTestCase.java that test this. So all compliant frameworks behave this way. The term container here is in the...

In OSGi there is a standard way to get all the paths to resources contained in the bundle as long as you have the class loader that you got the...

We can discuss this for Core R9. But in the meantime there is no reason an R8 implementation could not implement this now. You could provide contributions to both Felix...

> > I'll contribute the implementation for Equinox as soon as possible and will try the same for Felix. Please open an Equinox bug to track. We can get that...

One thing to keep in mind is that if a connect implementation supplies its own class loader from the `org.osgi.framework.connect.ConnectContent.getClassLoader()` method then it is highly unlikely the supplied class loader...

> I'm not familiar with OSGi Connect, but couldn't it at least be recommended or mentioned that the supplied classLoaders should/could do this? However you are right, that code should...

> ok, fair enough - in that case, we must make sure that implementations can support javax packages without a high burden. For example, if we have an api package...