Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Easy way of checking for duplicate name in a resource while using JvmModelInferrer?
Easy way of checking for duplicate name in a resource while using JvmModelInferrer? [message #1073330] Wed, 24 July 2013 14:30
Victor Noël is currently offline Victor NoëlFriend
Messages: 112
Registered: June 2010
Senior Member
Hi,

Is there an easy way for checking duplicate names in a resource WHILE using JvmModelInferrer.

From what I gathered for now is that:

Using NamesAreUniqueValidator is not really compatible with using the JvmModelInferrer as we get a lot of duplicate with the inferred jvm stuffs.

Xtend does seem to actually only check that within a given file, but not between several files.

I was hoping that I could make the NamesAreUniqueValidator works only on some given EClass, but I didn't succeed... the cluster mechanism does not seem to allow for ignoring some EClass...
Am I wrong?
Is there other ways?

Thank you Smile
Previous Topic:migration guide to Xtext 2.4.2
Next Topic:dot notation and scoping
Goto Forum:
  


Current Time: Mon Dec 22 18:45:16 GMT 2014

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

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