|how to read a file in another plugin? [message #905511]
||Thu, 30 August 2012 10:24
| Kosala Yapa
Registered: September 2010
I have two plugins.
I need to get the path to model.ecore, which is located at com.kosala.model/model/model.ecore.
I tried :
Bundle bundle= FrameworkUtil.getBundle(com.kosala.model.src.Activator.class);
URL fileUrl = bundle.getEntry("model/model.ecore");
I always get bundle as null.
any support to resolve this issuse is appreciated.
Thanks in advance!
Powered by FUDForum
. Page generated in 0.02915 seconds