Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [Epsilon - EOL](Problem iterating elements in a fragmented model)
[Epsilon - EOL] [message #1768114] Thu, 13 July 2017 16:33 Go to next message
Anthony Garmendia is currently offline Anthony GarmendiaFriend
Messages: 43
Registered: May 2014
Member
Hi,

I attach a project with an example of a model (Root.xmi) that contains two models (A1.xmi and A2.xmi, using containment proxies). The example query (eolQuery.eol) iterates all elements of the type A, but the element in the model A1.xmi and A2.xmi are repeated twice. It does not seem the appropriate behavior right?

To work around this I used all.asSet().

Cheers,
Antonio
  • Attachment: test.eol.zip
    (Size: 2.64KB, Downloaded 19 times)
Re: [Epsilon - EOL] [message #1768119 is a reply to message #1768114] Thu, 13 July 2017 17:58 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 1498
Registered: July 2009
Location: York, UK
Senior Member

Hi Antonio,

In my setup I don't seem to be getting duplicates (i.e. the size of both collections is 4). Which version of Epsilon/EMF are you using?

Cheers,
Dimitris
Re: [Epsilon - EOL] [message #1768146 is a reply to message #1768119] Fri, 14 July 2017 07:26 Go to previous messageGo to next message
Anthony Garmendia is currently offline Anthony GarmendiaFriend
Messages: 43
Registered: May 2014
Member
Hi Dimitris,

I' using EMF - 2.12.0.v20160526-0356, Epsilon 1.4.0.201611012202 and Eclipse Neon 3.

Cheers,
Antonio
Re: [Epsilon - EOL] [message #1768165 is a reply to message #1768146] Fri, 14 July 2017 09:30 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 1498
Registered: July 2009
Location: York, UK
Senior Member

Hi Antonio,

I'm using the same version of EMF but the latest interim version of Epsilon. Could you please try with the latter and let me know if the problem persists?

Cheers,
Dimitris
Re: [Epsilon - EOL] [message #1768168 is a reply to message #1768165] Fri, 14 July 2017 09:59 Go to previous message
Anthony Garmendia is currently offline Anthony GarmendiaFriend
Messages: 43
Registered: May 2014
Member
Hi Dimitris,

I have tested with the interim version and the problem does not persist. Thanks!

Cheers,
Antonio
Previous Topic:[Epsilon - EOL]
Next Topic:ETL standalone problem
Goto Forum:
  


Current Time: Thu Jan 18 12:08:34 GMT 2018

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

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