Applying UML profile for target model using ATL [message #888121] |
Sun, 17 June 2012 18:18 |
zz lalou 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
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 profile as an additional input model for the transformation??
Please help me
[Updated on: Sun, 17 June 2012 19:01] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03063 seconds