Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVT] IN Model URI does not accept non XMI input(QVT runtime configuration:IN Model URI does not accept non XMI input)
[QVT] IN Model URI does not accept non XMI input [message #826846] Thu, 22 March 2012 15:21 Go to next message
Sudarsan Gokhale Raghunath is currently offline Sudarsan Gokhale Raghunath
Messages: 3
Registered: March 2012
Junior Member
Hi,

I am a beginner for M2M.

Our metamodel is defined using XSD. We generate ECore and genmodel from our XSD. The instances of our metamodel will generate files such as xyz.mymodel.

I am trying to transform MyModel (*.mymodel) to YourModel(*.yourmodel).

I defined a simple transformation (MyModel2YourModel.qvto) as follows:

I defined a run configuration, I would like to point the IN 'Model URI' to the abc.mymodel file that I copied into the 'model' folder in my project.

This is not being accepted and the run configuration always expect a file with extension .xmi.

Your guidance would be helpful.

Note: I have attached .qvto file.

Thank you,
Sudarsan

Re: [QVT] IN Model URI does not accept non XMI input [message #827496 is a reply to message #826846] Fri, 23 March 2012 12:04 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 4087
Registered: July 2009
Senior Member
Hi

Your comments don't correlate with what I experience and since you only
summarize what you are trying to do it is not possible to tell where you
are going wronmg/the tool is getting confused. I quite happily use
arbitrary extensions.

The SimpleUML to RDB example provided with QVTo is a very helpful and
almost mandatory starting point.

If that doesn't help, please post your transformation, your
..settings/org.eclipse.m2m.qvt.oml.mmodel.urimap and your lauch
configuration.

Regards

Ed Willink


On 22/03/2012 11:21, Sudarsan Gokhale Raghunath wrote:
> Hi,
>
> I am a beginner for M2M.
>
> Our metamodel is defined using XSD. We generate ECore and genmodel from our XSD. The instances of our metamodel will generate files such as xyz.mymodel.
>
> I am trying to transform MyModel (*.mymodel) to YourModel(*.yourmodel).
>
> I defined a simple transformation (MyModel2YourModel.qvto) as follows:
>
> I defined a run configuration, I would like to point the IN 'Model URI' to the abc.mymodel file that I copied into the 'model' folder in my project.
>
> This is not being accepted and the run configuration always expect a file with extension .xmi.
>
> Your guidance would be helpful.
>
> Note: I have attached .qvto file.
>
> Thank you,
> Sudarsan
>
>
Previous Topic:Nullpointer XMLHandler#createObjectFromFeatureType - Reference internal a second metamodel
Next Topic:Henshin how to create multiple NAC
Goto Forum:
  


Current Time: Tue Oct 21 15:26:54 GMT 2014

Powered by FUDForum. Page generated in 0.15811 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software