Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353277 - Double ResourceSet initialization
Summary: Double ResourceSet initialization
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows Vista
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 01:54 EDT by Ed Willink CLA
Modified: 2015-05-27 08:55 EDT (History)
1 user (show)

See Also:


Attachments

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