Running QVTr transformations [message #1421534] |
Thu, 11 September 2014 09:50  |
Eclipse User |
|
|
|
Hi QVTr folks,
I did my first step with a QVTr project of writing a really simple QVTr transformation. I managed editing and parsing so far. Well, it is really simple. But I don't know, how to run the transformation. I found something like "QVTi transformation run", but no "QVTr transformation run".
By the way, I am working with Luna.
Any help would be welcome.
Thanks and best regards,
Siegfried
|
|
|
|
Re: Running QVTr transformations [message #1819443 is a reply to message #1696902] |
Wed, 15 January 2020 08:26   |
Eclipse User |
|
|
|
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 08:35] by Moderator
|
|
|
|
|
|
|
|
Re: Running QVTr transformations [message #1819521 is a reply to message #1819518] |
Thu, 16 January 2020 11:57  |
Eclipse User |
|
|
|
Hi
There should be an intelligent message instructing the use of the JDK.
Since the synthesis of Java code requires the Java to Byte code compiler, I'm not sure how you can avoid a JDK.
Regards
Ed Willink
|
|
|
Powered by
FUDForum. Page generated in 0.05053 seconds