User Tools

Site Tools


bundle_state_location

Bundle State Location

The bundle state location is the path to a meta data folder of the bundle in the workspace where a bundle can put its state and/or temporary stuff.

Bundle miworkplace.services f. e. has the bundle location:

workspace/.metadata/.plugins/miworkplace.services

The bundle state location can be easily retrieved with the class org.eclipse.core.runtime.Platform.

Bundle bundle = Platform.getBundle(PLUGIN_ID);
IPath bundleStateLocation = Platform.getStateLocation(bundle);

bundle_state_location.txt · Last modified: 2014/01/23 17:23 by mihael