Skip to main content
Jump to: navigation, search

E4/Resources/Semantic File System/FAQ

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 stored, 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.  

Back to the top