Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMF search returns duplicate results
EMF search returns duplicate results [message #128831] Tue, 19 August 2008 18:11 Go to next message
Vineet is currently offline VineetFriend
Messages: 19
Registered: July 2009
Junior Member
I generated a text search engine for my EMF model and it works very well.

One slight problem though...it returns all results twice.
Putting debug points, I found that there is ModelSearchQuery.java class
which is overriding the following method that gets called twice:

@Override
public IStatus search(Object resource, boolean notify,
IProgressMonitor monitor) {.......}

Any idea why it gets called twice?

One note though, I generated the search code and then made Ecore model
changes and regenerated the code again.
I assumed that EMF Search also implements EMF core type of code merge (by
that i mean, when we do "Generate All" from EMF genmodel file, there is
very decent code regenration and merge happening).
Am I correct in assuming that EMF Search's code generation is doing the
same too?

Thanks,

Vineet
Re: EMF search returns duplicate results [message #128845 is a reply to message #128831] Tue, 19 August 2008 18:33 Go to previous messageGo to next message
Vineet is currently offline VineetFriend
Messages: 19
Registered: July 2009
Junior Member
False alarm.
Extremely sorry.

It is searching the "bin" or "output" directory...hence showing up twice
in results.

Vineet
Re: EMF search returns duplicate results [message #128872 is a reply to message #128845] Thu, 21 August 2008 18:27 Go to previous message
lucas bigeardel is currently offline lucas bigeardelFriend
Messages: 155
Registered: July 2009
Senior Member
Vineet,

No problem !

I reckon, I have been anxious for some seconds tough ;-)

regards,

> False alarm.
> Extremely sorry.
>
> It is searching the "bin" or "output" directory...hence showing up twice
> in results.
>
> Vineet
>
Re: EMF search returns duplicate results [message #620245 is a reply to message #128831] Tue, 19 August 2008 18:33 Go to previous message
Vineet is currently offline VineetFriend
Messages: 19
Registered: July 2009
Junior Member
False alarm.
Extremely sorry.

It is searching the "bin" or "output" directory...hence showing up twice
in results.

Vineet
Re: EMF search returns duplicate results [message #620247 is a reply to message #128845] Thu, 21 August 2008 18:27 Go to previous message
lucas bigeardel is currently offline lucas bigeardelFriend
Messages: 155
Registered: July 2009
Senior Member
Vineet,

No problem !

I reckon, I have been anxious for some seconds tough ;-)

regards,

> False alarm.
> Extremely sorry.
>
> It is searching the "bin" or "output" directory...hence showing up twice
> in results.
>
> Vineet
>
Previous Topic:[Teneo] Use several ecore file for the same model
Next Topic:[Teneo] Use several ecore file for the same model
Goto Forum:
  


Current Time: Fri Apr 19 03:06:26 GMT 2024

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

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

Back to the top