[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] Re: How to read file of the bundle in server-side equinox?

Hi Jeff,

Jeff schrieb:
How can I read sys.xml? Must I need to use org.eclipse.core.resources bundle?

You need to use an Activator to get access to the BundleContext. Use BundleContext#getBundle() to get the Bundle instance and from there you cann use Bundle#getEntry(String) to get the resource.


-Gunnar

--
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/