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.sch...@vogella.com, Web: http://www.vogella.com
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to