| Re: HUTN Eclipse / Epsilon [message #561365] |
Thu, 30 October 2008 16:38 |
Louis Rose Messages: 427 Registered: July 2009 Location: York, United Kingdom |
Senior Member |
|
|
Dear Matheiu,
Many thanks for your email.
This looks like it might be a bug. Could you tell me which version of
Epsilon and HUTN you have installed. This information is available from
the Help
I'll see if I can recreate this problem in the morning. It may have been
fixed in the latest release of HUTN (which appeared earlier in the
week), or it may be a regression.
I've included the Epsilon newsgroup in the reply to this post. This is
the recommended place to report bugs, ask questions and request features
as everyone working on and with Epsilon contributes there.
I'll reply again tomorrow, with some more information!
Cheers,
Louis.
Acher Mathieu wrote:
> Dear Louis,
>
> I was in the assistance when you have made your presentation about
HUTN in
> Models conference, Toulouse.
> It was a very interesting work so let me first congratulate you and your
> colleagues...
>
> Although I am not necessary involved with domain specific / generic
> language, I want to test your implementation and especially your tools.
> Indeed, I have some metamodels, and the ability to construct models with
> the HUTN seems very promising.
>
> Thus, I made a few experiences this afternoon, and unfortunately, it
> doesn't work for me... I have downloaded the lastest version of Eclipse,
> Ganymede, incubation version (about 300MB), and made the installation
> using the Update site specified. Here, everything is fine!
>
> I play with the tools -- okay, it seems that the current version is a
> little bit different than the one used for the demo
> (http://www.eclipse.org/gmt/epsilon/cinema/HUTN.htm).
> So, I have registered some ecore-based metamodel, created a HUTN file,
> activated "Enable HUTN Project Nature", and written in HUTN language.
>
> And here is the problem :
> I have always the same error :
> " org.eclipse.epsilon.hutn.exceptions.HutnValidationException: Constraint
> FeatureMustExist not found (47:20)"
>
> I am sure I have written correctly in HUTN.
>
> I even try to use Families metamodel here :
>
http://dev.eclipse.org/viewsvn/index.cgi/trunk/tests/org.ecl ipse.epsilon.hutn.test.dependencies/models/org/eclipse/epsil on/hutn/test/acceptance/models/Families.ecore?view=markup&am p;root=Modeling_EPSILON&pathrev=92
>
> seems that the error is related to EVL :
>
http://dev.eclipse.org/viewsvn/index.cgi/trunk/plugins/org.e clipse.epsilon.hutn.engine/src/org/eclipse/epsilon/hutn/vali dation/model/ValidateIntermediateModel.evl?view=markup&r oot=Modeling_EPSILON&pathrev=92
>
>
> context Slot {
> constraint FeatureMustExist {
> guard: hasSpecificMetamodel() and self.owner.isTypeOf(ClassObject) and
> self.owner.toClass().isDefined() and self.feature.isDefined()
> check: self.owner.toClass().eAllStructuralFeatures.select(c|c.name =
> self.feature).size() = 1
> message: 'Unrecognised feature: ' + self.feature
> }
> }
>
> In the attachment, there are the metamodel and HUTN used
>
> Sorry to disturb you with such a boring problem...
> but maybe you can give me some tips... or some contact (mailing list
?) to
> deal with the problem.
>
> Best regards,
>
|
|
|
Powered by
FUDForum. Page generated in 0.01396 seconds