Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Accessing files of a feature project during runtime

Hi guys,

is there a way to access files from features?

With bundles it works pretty straight forward:

Bundle bundle = Platform.getBundle("myBundlesSymbolicName");

or

Bundle bundle = FrameworkUtil.getBundle(getClass());

and then using the FileLocator to get resources inside the bundle.

Unfortunately there is nothing like:

Feature feature = Platform.getFeature("myFeatureId"); + a way to get
files from this feature JAR.

Can someone tell me how to do that in the right way?

Thanks in Advance,

Simon Scholz


-- 
-- 
Trainer, Consultant and Developer

vogella GmbH
Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Tel (040) 78804360, Fax (032) 221739404, Email:
simon.scholz@xxxxxxxxxxx, Web: http://www.vogella.com


Back to the top