Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTO] Problems using more than one qvto library.
[QVTO] Problems using more than one qvto library. [message #647693] Fri, 07 January 2011 19:01
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
Hi all,

I'm writing a qvto transformation, and as I believe some parts could
be reused in other contexts, I've created two qvto libraries
(XHMTLCreation and libGUIAnnotation). I also need a third library
containing a set of blackbox operations
(2m.qvt.oml.MWACSLUtilitiesLibrary). The problem is that the queries
defined in the second library (the ones defined in libGUIAnnotation),
can not be used in my transformation. However, there's no problem with
the queries defined in XHTMLCreation nor the blackbox library. Is there
any constraint on the number of qvto libraries accessed by a transformation?

I have included the header of the qvto file in order to see the
libraries import structure. Note also that I have omitted the modeltype
sentences in order to focus on the import sentences and transformation
definition.


-- the library containing our blackbox operations
import m2m.qvt.oml.MWACSLUtilitiesLibrary;
-- the library containing XHTML elements creation operations
import XHTMLCreation;
-- the library containing
import libGUIAnnotation;


transformation SWC2JSP(in inModel:swcmm, in anotModel: amwAnot, out
outModel: jspmm)
access library XHTMLCreation
access library libGUIAnnotation
access library MWACSLUtilitiesLibrary;


Thanks in advance,
Toñi
Previous Topic:[ATL] Not updated transformation.
Next Topic:CanI use a uml Profiel as a metamodel for ATL
Goto Forum:
  


Current Time: Sun Jun 16 16:32:40 GMT 2019

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

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

Back to the top