Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Problem when a uml profile defined several times
[ATL] Problem when a uml profile defined several times [message #667117] Tue, 26 April 2011 20:05
Sally  is currently offline Sally Friend
Messages: 16
Registered: March 2011
Junior Member
Hi all,

I'm trying to apply a UML profile to the target model by considering the profile as a metamodel. It works fine for my defined profile. But with an already defined profile such as MARTE profile, it raises lots of warning because the profile has a number of versions defined. This makes ATL thinks that the stereotypes have been defined several times.

ATL warning:
Metamodel contains several classifiers with same name: MARTE_Library_TimeTypesLibrary_TimeNatureKind
Metamodel contains several classifiers with same name: Time::MARTE_Library_TimeTypesLibrary_TimeNatureKind
Metamodel contains several classifiers with same name: MARTE_Library_MARTE_PrimitivesTypes_Boolean

Deleting all the previous defined EPackages from the file .profile.uml of the profile, still give me the same warning.

The target model is correctly generated but the prolife is not applied.

Any idea how to make ATL engine ignores these warnings or how to deal with a profile that defined several times.

Sally
Previous Topic: AML(AtlanMod Matching Language )
Next Topic:[ATL] Strange sequence setting in distinct foreach block
Goto Forum:
  


Current Time: Sat Apr 20 13:49:32 GMT 2024

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

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

Back to the top