[QVTO] Problems using more than one qvto library. [message #647693] |
Fri, 07 January 2011 19:01 |
Toñi Reina 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
|
|
|
Powered by
FUDForum. Page generated in 0.02762 seconds