You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by rkmoquin <fr...@gmail.com> on 2013/05/05 23:18:23 UTC
Re: How can I obtain a file as a resource from within a Karaf
bundle
I ran into this problem a few months back and after a lot of research, I
discovered that there is a bundle specific way to load resources. The
example below will allow you to load multiple xsd files from the root of the
bundle if I remember correctly.
Anyhow, look at the javadocs related to findEntries and related methods
which will help you do what you need.
Ryan
--
View this message in context: http://karaf.922171.n3.nabble.com/How-can-I-obtain-a-file-as-a-resource-from-within-a-Karaf-bundle-tp4028549p4028563.html
Sent from the Karaf - User mailing list archive at Nabble.com.