Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EGL import?
EGL import? [message #491115] Tue, 13 October 2009 11:01 Go to next message
Darren  is currently offline Darren Friend
Messages: 40
Registered: September 2009
Member
Is it possible to import EOL or other EGL files into an EGL script.

In EOL I would use

import 'file2.eol';

I tried this in EGL but it fails to validate with message mismatched import.

Thanks,
Re: EGL import? [message #491125 is a reply to message #491115] Tue, 13 October 2009 12:24 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Darren,

That should work. Is your import statement between [% %] ?

Cheers,
Dimitris

Darren wrote:
> Is it possible to import EOL or other EGL files into an EGL script.
>
> In EOL I would use
> import 'file2.eol';
>
> I tried this in EGL but it fails to validate with message mismatched
> import.
>
> Thanks,


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: EGL import? [message #491315 is a reply to message #491125] Wed, 14 October 2009 06:49 Go to previous messageGo to next message
Darren  is currently offline Darren Friend
Messages: 40
Registered: September 2009
Member
It was,

however I had it occur after my

modelManager.registerMetamodel()
modelManager.loadModel()

calls. By moving it to above these calls it now works.

Thanks.

Darren

[Updated on: Wed, 14 October 2009 06:49]

Report message to a moderator

Re: EGL import? [message #491341 is a reply to message #491315] Wed, 14 October 2009 08:34 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Darren,

Glad you got it working and thanks for the update!

Cheers,
Dimitris

Darren wrote:
> It was however I had it occur after my
> modelManager.registerMetamodel()
> modelManager.loadModel()
>
> calls. By moving it to above these calls it now works.
>
> Thanks.
>
> Darren


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: EGL import? [message #582000 is a reply to message #491115] Tue, 13 October 2009 13:09 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Darren,

That should work. Is your import statement between [% %] ?

Cheers,
Dimitris

Darren wrote:
> Is it possible to import EOL or other EGL files into an EGL script.
>
> In EOL I would use
> import 'file2.eol';
>
> I tried this in EGL but it fails to validate with message mismatched
> import.
>
> Thanks,


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: EGL import? [message #582020 is a reply to message #582000] Wed, 14 October 2009 06:49 Go to previous messageGo to next message
Darren  is currently offline Darren Friend
Messages: 40
Registered: September 2009
Member
It was however I had it occur after my

modelManager.registerMetamodel()
modelManager.loadModel()

calls. By moving it to above these calls it now works.

Thanks.

Darren
Re: EGL import? [message #582038 is a reply to message #491315] Wed, 14 October 2009 09:16 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Darren,

Glad you got it working and thanks for the update!

Cheers,
Dimitris

Darren wrote:
> It was however I had it occur after my
> modelManager.registerMetamodel()
> modelManager.loadModel()
>
> calls. By moving it to above these calls it now works.
>
> Thanks.
>
> Darren


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:EGL import?
Next Topic:Node with 2 labels [GMF]
Goto Forum:
  


Current Time: Thu Mar 28 20:54:20 GMT 2024

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

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

Back to the top