Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EGL import?
EGL import? [message #491115] Tue, 13 October 2009 07:01 Go to next message
Darren  is currently offline Darren
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 08:24 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
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 02:49 Go to previous messageGo to next message
Darren  is currently offline Darren
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 02:49]

Report message to a moderator

Re: EGL import? [message #491341 is a reply to message #491315] Wed, 14 October 2009 04:34 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
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 09:09 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
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 02:49 Go to previous messageGo to next message
Darren  is currently offline Darren
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 05:16 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
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: Sat Jul 26 05:21:13 EDT 2014

Powered by FUDForum. Page generated in 0.02158 seconds