Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Why isn't my model recognised?
Why isn't my model recognised? [message #531370] Tue, 04 May 2010 15:47 Go to next message
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 #531371 is a reply to message #531370] Tue, 04 May 2010 15:51 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
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


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Why isn't my model recognised? [message #531845 is a reply to message #531371] Thu, 06 May 2010 11:03 Go to previous message
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 #588816 is a reply to message #531370] Tue, 04 May 2010 15:51 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
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


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Why isn't my model recognised? [message #588849 is a reply to message #531371] Thu, 06 May 2010 11:03 Go to previous message
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
>
>
Previous Topic:EML/ECL example problem
Next Topic:Declaring objects of enum types within EOL scripts
Goto Forum:
  


Current Time: Fri Oct 24 12:59:58 GMT 2014

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

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