[ATL] ATL plugin : path problem (Resolved) [message #686524] |
Wed, 22 June 2011 12:37 |
JM Gauthier Messages: 25 Registered: June 2011 |
Junior Member |
|
|
Hello everybody,
I am working on a model transformation like KM32Problem. This transformation instantiate a problem model to check the input model and to generate error.
The source meta-model is the Ecore of UML2.3 and the target one is problem.ecore.
The ATL file is correct (tested with a run configurations).
But here is my problem : i want to automate the transformation in order to check the input model. So i decided to create a new ATL plugin with the wizard. I have chosen "ATL launched configuration" to generate the plugin.
The problem is that the plugin doesn't find the file problem.ecore during the runtime. I tried to move the file in the package .files of the plugin (with the Uml2problem.java generated), I tried to change the Uml2problem.metatmodels.Problem path...But nothing...
error:
org.eclipse.m2m.atl.core.ATLCoreException : Error loading problem.ecore: java.io.FileNotFoundException : problem.ecore (Le fichier spécifié est introuvable)
Did i have done something wrong ?
Thanks for help!
[Updated on: Thu, 30 June 2011 07:59] Report message to a moderator
|
|
|
|
|
Re: [ATL] ATL plugin problem [message #780526 is a reply to message #689288] |
Wed, 18 January 2012 13:13 |
Stefan W. Messages: 6 Registered: October 2011 |
Junior Member |
|
|
Hi,
I have the same problem.
Unfortunately your solution doesn't work for me.
I've set the metamodel path as you mentioned:
Mof2cim.metamodels.cim = platform:/plugin/pluginID/metamodel/cim.ecore
When I want to run the transformation I get a MalformedURLException (unknown protocol: platform). I'm calling the transformation from another plugin.
What could be gone wrong?
Thank you very much for your help!
Stefan
|
|
|
Powered by
FUDForum. Page generated in 0.05308 seconds