Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[QVTo] get the path of the in model
https://www.eclipse.org/forums/index.php/mv/msg/323623/837616/#msg_837616
I'm trying to get the file path of one of the in model in QVTo....
It's very usefull to set an import/include of the input file in the resulting model
It seems impossible, is there a trick ?
thanks,
j.]]>Julien Deantoni2012-04-05T22:34:46-00:00Re: [QVTo] get the path of the in model
https://www.eclipse.org/forums/index.php/mv/msg/323623/837855/#msg_837855
Can you be clearer? This is the M2T newsgroup.
Are you trying to get QVTo to prepare for an M2T?
Regards
Ed Willink
On 05/04/2012 23:34, Julien DeAntoni wrote:
> Hello,
>
> I'm trying to get the file path of one of the in model in QVTo....
> It's very usefull to set an import/include of the input file in the
> resulting model
>
> It seems impossible, is there a trick ?
>
> thanks,
>
> j.]]>Ed Willink2012-04-06T07:15:58-00:00Re: [QVTo] get the path of the in model
https://www.eclipse.org/forums/index.php/mv/msg/323623/837878/#msg_837878
In fact I create a M2T transformation whose result is a QVTo specification. However my problem is for the QVTo specification itself.
In fact I have a model in input of my transformation provided by the runConfiguration (let's say '../adirectory/model.xmi'). In the resulting model, I'd like to set a String attribute with the model path (i.e. '../adirectory/model.xmi').
Can I do this ?
thanks,
j. ]]>Julien Deantoni2012-04-06T08:10:00-00:00Re: [QVTo] get the path of the in model
https://www.eclipse.org/forums/index.php/mv/msg/323623/837904/#msg_837904
I think you can either pass an additional string parameter to the QVTo
transformation, or have a Java helper/blackbox to provide the interrogation.
Regards
Ed Willink
On 06/04/2012 09:10, Julien DeAntoni wrote:
> Woooops sorry it should goes to the M2M forum, I do not know how to
> move it :-/
>
> In fact I create a M2T transformation whose result is a QVTo
> specification. However my problem is for the QVTo specification itself.
>
> In fact I have a model in input of my transformation provided by the
> runConfiguration (let's say '../adirectory/model.xmi'). In the
> resulting model, I'd like to set a String attribute with the model
> path (i.e. '../adirectory/model.xmi').
>
> Can I do this ?
>
> thanks,
>
> j.]]>Ed Willink2012-04-06T09:04:55-00:00Re: [QVTo] get the path of the in model
https://www.eclipse.org/forums/index.php/mv/msg/323623/838017/#msg_838017
best regards,