Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] running ATL in RCP
[ATL] running ATL in RCP [message #85054] Tue, 24 June 2008 11:03
Eclipse UserFriend
Originally posted by:

Hi, all!

I am building RCP application which performs ATL transformations. I
already succeeded to run them properly in ant file, and in RCP run from
Eclipse IDE. Problem occurs when I run transformation in separate RCP
product. Then, result of OclQuery, which normally should be a sequence, is
null. Below is code of query.

Map<String, Object> queryModels = new HashMap<String, Object>();
queryModels.put("MDL", mdlMetamodel);
queryModels.put("IN", mdlInputModel);

String query =
"MDL!Object.allInstances()->select(e|e.type='ClassDiagram')- >"
"iterate(e;acc:Sequence(String)=Sequence{}|acc->append( >any(e|'quid').value.value))";

ASMSequence cls = (ASMSequence)OclQuery.eval(query, queryModels);

mdlInputModel is a result of ebnf injection performed before query. It
seems that the injection and the resulting model is OK.
RCP product is working on the same set of plug-ins as the one run under

Anybody has idea what can be the cause of this problem?

Thanks in advance,

Martin Jakubowski
Previous Topic:[ATL] ATL for Eclipse 3.2.2
Next Topic:ATL for Eclipse 3.2.2
Goto Forum:

Current Time: Tue Aug 04 23:06:39 GMT 2020

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

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

Back to the top