Why isn't my model recognised? [message #531370] |
Tue, 04 May 2010 15:47 |
Eclipse User |
|
|
|
Originally posted by: c.k.holmes.lboro.ac.uk
Hi,
I have created an example model using HUTN to test out the abstract
syntax of a metamodel. I can render this model using EGL. I have also
generated a model via ETL, the generated model gets placed in the same
folder as the HUTN-generated model. However, when I run the EGL script
and query the models via:
<snip>
'Document Set:'.println();
Document.allInstances().collect(d | d.title.println());
</snip>
I see only the HUTN-generated model, I expected to see both the HUTN and
the ETL-generated models present. I can open and browse both models
using the Exeed and/or text editors and both models appear as expected.
Regards
Chris
|
|
|
|
Re: Why isn't my model recognised? [message #531845 is a reply to message #531371] |
Thu, 06 May 2010 11:03 |
Eclipse User |
|
|
|
Originally posted by: c.k.holmes.lboro.ac.uk
Hi Dimitris,
I hadn't set up my Run Configuration correctly and it was pointing at
the wrong model (doh!) :(
But everything is fine now :)
Best Wishes
Chris
Dimitris Kolovos wrote:
> Hi Chris,
>
> Not sure I understand the exact nature of the problem. Could you
> possibly send me any sample models etc.?
>
> Cheers,
> Dimitris
>
> Chris Holmes wrote:
>> Hi,
>> I have created an example model using HUTN to test out the abstract
>> syntax of a metamodel. I can render this model using EGL. I have also
>> generated a model via ETL, the generated model gets placed in the same
>> folder as the HUTN-generated model. However, when I run the EGL script
>> and query the models via:
>> <snip>
>> 'Document Set:'.println();
>> Document.allInstances().collect(d | d.title.println());
>> </snip>
>>
>> I see only the HUTN-generated model, I expected to see both the HUTN
>> and the ETL-generated models present. I can open and browse both
>> models using the Exeed and/or text editors and both models appear as
>> expected.
>>
>> Regards
>> Chris
>
>
|
|
|
|
Re: Why isn't my model recognised? [message #588849 is a reply to message #531371] |
Thu, 06 May 2010 11:03 |
Eclipse User |
|
|
|
Originally posted by: c.k.holmes.lboro.ac.uk
Hi Dimitris,
I hadn't set up my Run Configuration correctly and it was pointing at
the wrong model (doh!) :(
But everything is fine now :)
Best Wishes
Chris
Dimitris Kolovos wrote:
> Hi Chris,
>
> Not sure I understand the exact nature of the problem. Could you
> possibly send me any sample models etc.?
>
> Cheers,
> Dimitris
>
> Chris Holmes wrote:
>> Hi,
>> I have created an example model using HUTN to test out the abstract
>> syntax of a metamodel. I can render this model using EGL. I have also
>> generated a model via ETL, the generated model gets placed in the same
>> folder as the HUTN-generated model. However, when I run the EGL script
>> and query the models via:
>> <snip>
>> 'Document Set:'.println();
>> Document.allInstances().collect(d | d.title.println());
>> </snip>
>>
>> I see only the HUTN-generated model, I expected to see both the HUTN
>> and the ETL-generated models present. I can open and browse both
>> models using the Exeed and/or text editors and both models appear as
>> expected.
>>
>> Regards
>> Chris
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04297 seconds