Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357144

Summary: resource splitting always enabled
Product: [Modeling] EMFStore Reporter: Andre Boehlke <ab>
Component: ClientcoreAssignee: Maximilian Koegel <mkoegel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: corrmage, eclipse, mkoegel
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
proposed patch eclipse: iplog+

Description Andre Boehlke CLA 2011-09-08 15:03:15 EDT
Configuration.isResourceSplittingEnabled always returns true, see the implementation, whatever happens, this will return true. Right?

		if (resourceSplitting != null) {
			return true;
		}
		resourceSplitting = new Boolean(false);
		IConfigurationElement[] rawExtensions = Platform.getExtensionRegistry()
				.getConfigurationElementsFor(
						"org.eclipse.emf.emfstore.client.persistence.options");
		for (IConfigurationElement extension : rawExtensions) {
			resourceSplitting = new Boolean(extension.getAttribute("enabled"));
		}
		return true;
Comment 1 Andre Boehlke CLA 2011-09-08 15:04:01 EDT
I debugged this when I tried to disabled resource loading...
Comment 2 Maximilian Koegel CLA 2011-09-09 03:26:12 EDT
Right ;)! I will fix it.
Comment 3 Nikolay Kasyanov CLA 2011-10-06 17:06:01 EDT
*** Bug 360169 has been marked as a duplicate of this bug. ***
Comment 4 Nikolay Kasyanov CLA 2011-10-06 17:07:06 EDT
Created attachment 204722 [details]
proposed patch
Comment 5 Maximilian Koegel CLA 2011-10-10 04:24:50 EDT
Thanks for your help, the bug is fixed!