Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "E4/Resources/Semantic File System/FAQ"
Line 1: | Line 1: | ||
− | Where are the files stored if the location is "semanticfs:/TestProject"? | + | ==== Q: Where are the files stored if the location is "semanticfs:/TestProject"? ==== |
+ | |||
+ | A: The SFS metadata itself (file store tree and attributes) is stored in an XMI file located at <project root>/.metadata/.plugins/org.eclipse.core.resources.semantic/metadata.xmi. Where the actual file content (BLOBs) is store, depends on the corresponding content provider. Some content providers may use no caches and always retrieve content from a remote location but it is not advisable for performance reasons. Content Providers may implement caching on their own or use a caching service provided by SFS. They may choose between two implementations: in-memory cache and file system cache. For file system cache, the files are located at <project root>/.metadata/.plugins/org.eclipse.core.resources.semantic/.cache. '''Note:''' the content of file system cache must not be accessed directly but only via file system cache service. |
Revision as of 08:56, 23 June 2010
Q: Where are the files stored if the location is "semanticfs:/TestProject"?
A: The SFS metadata itself (file store tree and attributes) is stored in an XMI file located at <project root>/.metadata/.plugins/org.eclipse.core.resources.semantic/metadata.xmi. Where the actual file content (BLOBs) is store, depends on the corresponding content provider. Some content providers may use no caches and always retrieve content from a remote location but it is not advisable for performance reasons. Content Providers may implement caching on their own or use a caching service provided by SFS. They may choose between two implementations: in-memory cache and file system cache. For file system cache, the files are located at <project root>/.metadata/.plugins/org.eclipse.core.resources.semantic/.cache. Note: the content of file system cache must not be accessed directly but only via file system cache service.