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 14:18
zz Missing name is currently offline zz Missing name
Messages: 10
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 15: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: Wed Aug 20 04:50:46 EDT 2014

Powered by FUDForum. Page generated in 0.03967 seconds