User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

bundle_state_location [2014/01/23 17:23] (current)
mihael created
Line 1: Line 1:
 +====== 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 f. e. has the bundle location:
 +  workspace/​.metadata/​.plugins/​
 +  ​
 +The bundle state location can be easily retrieved with the class ''​org.eclipse.core.runtime.Platform''​.
 +<sxh java>
 +Bundle bundle = Platform.getBundle(PLUGIN_ID);​
 +IPath bundleStateLocation = Platform.getStateLocation(bundle);​
bundle_state_location.txt ยท Last modified: 2014/01/23 17:23 by mihael