|
Re: Running QVTr transformations [message #1696902 is a reply to message #1421534] |
Fri, 29 May 2015 10:01 |
|
Hi,
Sorry for the super late reply. Currently Eclipse's QVT declarative project is in the development phase towards providing an execution engine for QVTr and QVTc. Our plan targetd QVTc support first and thus is the one for which most functionality has been developed. We have started working on QVTr, but it is still very preliminary work. If you are not bound to QVTr and would like to try QVTc, perhaps we can help you setting up a small java class that can run your transformation. A good palce to start would be to look at the QVTc tests under the plugin org.eclipse.qvtd.build.etl.tests (in the QVT git repository).
Horacio Hoyos Rodriguez
Kinori Tech
Need professional support for Epsilon, EMF?
Go to: https://kinori.tech
|
|
|
Re: Running QVTr transformations [message #1819443 is a reply to message #1696902] |
Wed, 15 January 2020 13:26 |
Siegfried Nolte Messages: 48 Registered: August 2009 |
Member |
|
|
Hi,
some time has gone by, I tried QVTrd again, QVTr as well as QVTc. Both failed.
I work with Eclipse 2019 Modeling Workbench and QVTd 0.20.0.
I imported the examples uml2rdbms (QVTc) and hstm2fstm (QVTr).
Both failed, the interpreted as well as the compiled version:
QVTc interpreted:
Failed to execute 'platform:/resource/org.eclipse.qvtd.examples.qvtcore.uml2rdbms/model/temp/SimpleUML2RDBMS.qvtias' - see console for more details.
Resource '/org.eclipse.qvtd.examples.qvtcore.uml2rdbms/model/in/$primitive$.xmi' does not exist.
Console:
Failed to execute 'platform:/resource/org.eclipse.qvtd.examples.qvtcore.uml2rdbms/model/temp/SimpleUML2RDBMS.qvtias'
org.eclipse.core.internal.resources.ResourceException(/org.eclipse.qvtd.examples.qvtcore.uml2rdbms/model/in/$primitive$.xmi)[368]: java.lang.Exception: Resource '/org.eclipse.qvtd.examples.qvtcore.uml2rdbms/model/in/$primitive$.xmi' does not exist.
QVTr interpreted:
Failed to execute 'platform:/resource/org.eclipse.qvtd.examples.qvtrelation.hstm2fstm/model/temp/HierarchicalStateMachine2FlatStateMachine.qvtias' - see console for more details.
Path must include project and resource name: /org.eclipse.qvtd.examples.qvtrelation.hstm2fstm/
Console:
Failed to execute 'platform:/resource/org.eclipse.qvtd.examples.qvtrelation.hstm2fstm/model/temp/HierarchicalStateMachine2FlatStateMachine.qvtias'
java.lang.IllegalArgumentException: Path must include project and resource name: /org.eclipse.qvtd.examples.qvtrelation.hstm2fstm/
Compile resp. Recompile seems to work properly. I see "Ready" Intermediates. Sure, I did something wrong. Any help would be appreciated.
Second, I don't know exactly what "Inputs: $primitive$" means. And what is "New Outputs middle"? The manuals and helps for the QVTc and QVTd run configurations are a bit poor in my eyes.
By the way, QVTr produces the exception, but at least I get a "flat.xmi" result. I have to add, using the interpreted run configuration .
Thanks for help and answers,
Siegfried
[Updated on: Wed, 15 January 2020 13:35] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04350 seconds