In the integration tests of a product that tests OSGi containers there's a test where it does a

systemBundle.getResource("META-INF/")

and the test fails if the system bundle returns null. It's my understanding that Equinox, Felix, and Knoplerfish seem to return a URL.


Regards,
Alan


On May 4, 2009, at 7:03 AM, Thomas Watson wrote:

In what context is this coming up? If you jar contains directory entries the I would expect bundle.getResource("META-INF/") to return a URL. But you are asking about the system bundle. Who is calling getResource on the system bundle?

Tom



<graycol.gif>"Alan D. Cabrera" ---05/01/2009 11:03:29 PM---I'm not sure why my system bundle needs to return a URL to META-INF/

<ecblank.gif>
From:   <ecblank.gif>
"Alan D. Cabrera" <[email protected]>
<ecblank.gif>
To:     <ecblank.gif>
OSGi Developer Mail List <[email protected]>
<ecblank.gif>
Date:   <ecblank.gif>
05/01/2009 11:03 PM
<ecblank.gif>
Subject:        <ecblank.gif>
[osgi-dev] System bundle must provide a URL to its META-INF/?



I'm not sure why my system bundle needs to return a URL to META-INF/
from the getResource() call.  Did I miss something in the specs?


Regards,
Alan

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to