Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315081 - Acceleo doesn't find jarred dynamic overrides anymore
Summary: Acceleo doesn't find jarred dynamic overrides anymore
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: All All
: P3 blocker
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-31 10:00 EDT by Goulwen Le Fur CLA
Modified: 2010-06-01 03:51 EDT (History)
2 users (show)

See Also:
pelder.eclipse: pmc_approved+


Attachments
Fix for the dynamic modules URI converter (13.33 KB, patch)
2010-05-31 10:54 EDT, Laurent Goubet CLA
no flags Details | Diff

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