Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357144 - resource splitting always enabled
Summary: resource splitting always enabled
Status: CLOSED FIXED
Alias: None
Product: EMFStore
Classification: Modeling
Component: Clientcore (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Maximilian Koegel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 360169 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-08 15:03 EDT by Andre Boehlke CLA
Modified: 2012-05-07 10:13 EDT (History)
3 users (show)

See Also:


Attachments
proposed patch (625 bytes, patch)
2011-10-06 17:07 EDT, Nikolay Kasyanov CLA
eclipse: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!