K2 Build workflow
Kermeta 2 internal build activity diagram.
Note: it doesn't show the cache mechanism that applies on most steps
yuml source :
(load km importProjects*)->|importProjects|->(generic merge)->|importSource| (load ecore importSource*)->|importSource| (load km importSource*)->|importSource| (load kmt importSource*)->|importSource| (load uml profile importSource*)->|importSource| |importSource|->(merge and preresolve all but last source)->|preresolved| |importSource|->[last modified source]->|preresolved| |importSource|-><a>[has local ecore mode]->(generate java ecore model)->(compile java ecore model)->|resolved|
|preresolved|->(merge)->(check merged model)->(resolve)->(check resolved model)->|resolved| |resolved|->(km2scala)->(scala2bytecode)->(end)