Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Type 'model1!School' not found(Type 'model1!School' not found at (C:\Users\LENEW\eclipse-workspace\compositionWithEML\compare.ecl@2:10-2:23))
Type 'model1!School' not found [message #1856200] Sat, 26 November 2022 11:47 Go to next message
YMELE BRICE is currently offline YMELE BRICEFriend
Messages: 3
Registered: November 2022
Junior Member
Hello !
I am new to Epsilon and I would like to learn and perform model fusion

I ran the following example /org.eclipse.epsilon.examples.mergeentitywithvocabulary

I wanted to redo this example using two uml models created with papyrus
Since then I got this message:
Type 'model1!School' not found
at (C:\Users\LENEW\eclipse-workspace\compositionWithEML\compare.ecl@2:10-2:23)
at (C:\Users\LENEW\eclipse-workspace\compositionWithEML\compare.ecl@1:0-18:1)"
how should i solve this problem?

thank you in advance

I want to remember that I did not create and configure the XML and Launch files as in the examplehttp://
Re: Type 'model1!School' not found [message #1856203 is a reply to message #1856200] Sat, 26 November 2022 19:28 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2165
Registered: July 2009
Location: York, UK
Senior Member

Hello,

Could you please prepare a minimal example we can use to reproduce the behaviour you are encountering?

Thanks,
Dimitris
Re: Type 'model1!School' not found [message #1858460 is a reply to message #1856203] Tue, 04 April 2023 08:44 Go to previous messageGo to next message
YMELE BRICE is currently offline YMELE BRICEFriend
Messages: 3
Registered: November 2022
Junior Member
I understood my mistake and thus solved my problem.

Indeed School is a class in my model class diagram that I called model1.

I thought I could directly access this class in my model.

Instead of writing "model1!School", I had to write "model1!Class".
Re: Type 'model1!School' not found [message #1858461 is a reply to message #1858460] Tue, 04 April 2023 08:47 Go to previous messageGo to next message
YMELE BRICE is currently offline YMELE BRICEFriend
Messages: 3
Registered: November 2022
Junior Member
how to merge with ECL and EML two classes coming from two uml class diagram models?

thanks in advance

[Updated on: Tue, 04 April 2023 08:49]

Report message to a moderator

Re: Type 'model1!School' not found [message #1858464 is a reply to message #1858461] Tue, 04 April 2023 10:05 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2165
Registered: July 2009
Location: York, UK
Senior Member

You can use this example as a starting point and update it to work with relevant concept in the UML metamodel. For example, instead of a PersonWithPerson ECL rule that matches persons by name, you'd probably need a ClassWithClass rule that matches UML classes by name etc.

Thanks,
Dimitris
Previous Topic:Running Pinset from Ant Workflow
Next Topic:Programmtically load genmymodel XMI export file with Epsilon
Goto Forum:
  


Current Time: Sat Apr 27 11:16:31 GMT 2024

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

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

Back to the top