Platform.getLocation();
NOT - workspace path (tried with eclipse 4.3 Kepler) as
@Inject @Named(E4Workbench.INSTANCE_LOCATION) private Location instanceLocation;
it will indicate the location of the configuration folder, but not the location of the workspace. One thing I discovered worked:
URL fileURL = FileLocator.find(Platform.getProduct().getDefiningBundle(),new Path(String_file2Locate), null);
(this only works for products not for plugins, but "String_file2Locate" is the path to the file of the file you want to use from the root / of your workspace folder)
Or also this . (but you will need a bite with the name of your plugin)