Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Applying UML profile for target model using ATL
Applying UML profile for target model using ATL [message #888121] Sun, 17 June 2012 18:18
zz lalou is currently offline zz lalouFriend
Messages: 17
Registered: April 2011
Junior Member
Hi
In my work, I must transform a model annotated with a profile UML to another model with another profile UML using ATL,
the problem is that I could not apply the profile of the target model Crying or Very Sad
I try this code

entrypoint rule Start () {
to t : MM2!System (name <- ('ImplementationModel'))
do {
thisModule.package <- t;
t.applyProfile(profile!Profile.allInstances().asSequence ().first());
}
}

but an error occurred :

org.eclipse.m2m.atl.engine.emfvm.VMException: Cannot find reference model profile

should i providing the pro file as an additional input model for the transformation??
Please help me

[Updated on: Sun, 17 June 2012 19:01]

Report message to a moderator

Previous Topic:ATL plugin using UML metamodel
Next Topic:XML file reading using ecore and java program
Goto Forum:
  


Current Time: Thu Apr 25 13:56:55 GMT 2024

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

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

Back to the top