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

Bug 315081

Summary: Acceleo doesn't find jarred dynamic overrides anymore
Product: [Modeling] Acceleo Reporter: Goulwen Le Fur <goulwen.lefur>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: laurent.goubet, pelder.eclipse
Version: 3.0.0Flags: pelder.eclipse: pmc_approved+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Fix for the dynamic modules URI converter none

Description Goulwen Le Fur CLA 2010-05-31 10:00:00 EDT
When defining dynamic overrides in jarred plugins, Acceleo doesn't apply the override anymore
Comment 1 Laurent Goubet CLA 2010-05-31 10:54:07 EDT
Created attachment 170537 [details]
Fix for the dynamic modules URI converter

This patch introduces a BundleURLConverter class that allows us to convert file protocol URLs pointing to the workspace's metadate to jar or platform:/plugin protocols when possible. Dynamic modules will then properly be resolved when in jars.
Comment 2 Laurent Goubet CLA 2010-05-31 10:57:40 EDT
As we are passed M7, I believe we need PMC approval before commiting any change. This patch doesn't sport any API change as the added class is internal, and the changed code is fully contained in internal classes.
Comment 3 Paul Elder CLA 2010-05-31 11:17:55 EDT
PMC Approved
Comment 4 Laurent Goubet CLA 2010-05-31 11:27:31 EDT
Thanks Paul.

This has been commited on HEAD. Goulwen, could you check that the latest version fixes the issue on your side?