On Wed, Jun 20, 2012 at 3:10 PM, Richard S. Hall <[email protected]>wrote:
> The bundle, as provided by OBR, has a location of "obr://[bundle
>> name]/[some string]". Jetty doesn't know how to interpret that. Is there
>> any way of finding the filesystem location from the OBR provided bundle?
>>
> No, there is no way of determining it other than knowing the bundle cache
> format of the framework and calculating it yourself.
That's ok - I know we are using Felix. And this worked before I used OBR,
because bundle.getLocation would return a file URL. However the OBR URL
returned by getLocation is totally abstracted. How might I find the
location in the bundle cache?
Other than explicitly finding it on the filesystem - new
File("felix-cache") and going through the bundle.infos... or is that what
you meant? If so, this might be a show-stopper unless I can think of some
other way.
Dan