|Load 2 differents input models an Acceleo template [message #1794013]
||Wed, 22 August 2018 12:44
| Gerard Nzebop
Registered: August 2018
This question is not new because I saw at least two previous posts related to it. But following the thread of the discussion, none has brought a solution.|
But it's really surprising that a question like this does not find a precise answer from the Acceleo community, or through their tutorials ...
To accept something like the following
[comment encoding = UTF-8 /]
[import org::eclipse::acceleo::module::sample::files::processJavaFile /]
[template public generate(aProcess : Process, aDefinition : Definition)]
[comment @main /]
Process Name : [aProcess.name/]
Def Location : [aDefinition.location/]
it is really beautiful, but after, do not offer tools to read two instances of these models during the execution, it's really a failure ...
Since then, I try to modify the Java code generated but I have not succeded to fix this issue.
I think that the designers of Acceleo must provide an answer, because it's really absurd.
Example: When performing an M2M transformation with ATL, the execution of the corresponding configuration gives a priori fields to indicate the access paths to the models.
Why Acceleo cannot do so much?
It's really confusing to say in their literature that we can take several models in input, and it is when you have advanced a lot that you realize that
- with one model it works perfectly,
- but with two, is a real headache.
Excuse me for presenting my problem that way, ...
Please I need help.
I don't know if there is someone who has REALLY SOLVED THIS PROBLEM and who can help me, so that I can move forward.
Thank you VM!
Powered by FUDForum
. Page generated in 0.01947 seconds