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

Bug 353277

Summary: Double ResourceSet initialization
Product: [Modeling] Acceleo Reporter: Ed Willink <ed>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: stephane.begaudeau
Version: 3.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2011-07-28 01:54:01 EDT
Execution of an Acceleo transformation requires two ResourceSets to be initialized. This is expensive since EcorePlugin.computePlatformURIMap() is invoked as part of each initialization.

Suggest use of registry delegation, so that most of the initialization occurs in a shared context. Active registry delegates to shared registry delegates to global registry.
Comment 1 Stephane Begaudeau CLA 2011-08-29 03:59:28 EDT
EcorePlugin.computePlatformURIMap() will only be called once during the initialization now. The fix has been contributed on R3_1_maintenance, it will be available in Acceleo 3.1.1
Comment 2 Laurent Goubet CLA 2015-05-27 08:55:27 EDT
Closing resolved bugs