Bug 197797 - Problem when saving a model outside of the Eclipse workspace using the EMF ATL Model Handler
Summary: Problem when saving a model outside of the Eclipse workspace using the EMF AT...
Status: CLOSED FIXED
Alias: None
Product: MMT.ATL
Classification: Modeling
Component: Engine (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: mmt-atl.toolkit-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-07-25 09:45 EDT by Hugo Bruneliere CLA
Modified: 2017-06-05 09:30 EDT (History)
0 users

See Also:


Attachments
New saveModel method dealing with the problem (2.83 KB, patch)
2007-07-25 09:49 EDT, Hugo Bruneliere CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Bruneliere CLA 2007-07-25 09:45:38 EDT
It generates an error when I am trying to save an ASMModel outside of the Eclipse workspace by calling the saveModel() method of the org.eclipse.m2m.atl.engine.AtlEMFModelHandler.

The problem seems to come from the fact that this method contains the following method call: ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(uri.path()));
Comment 1 Hugo Bruneliere CLA 2007-07-25 09:49:26 EDT
Created attachment 74558 [details]
New saveModel method dealing with the problem
Comment 2 Freddy Allilaire CLA 2007-07-27 11:57:26 EDT
This patch is now integrated in CVS.

Thanks for the contribution.

Freddy.
Comment 3 Dennis Wagelaar CLA 2017-06-05 09:30:27 EDT
Bug inactive - closing.