Reuse of EOL operations in ETL [message #587653] |
Thu, 25 March 2010 12:02 |
Eclipse User |
|
|
|
Originally posted by: c.k.holmes.lboro.ac.uk
Hi,
I would like to access a number of operations captured in EOL in the
form shown below from within an ETL scipt.
operation MyType myOperation() : MyReturnType {
<blah>
}
I'm running ETL via ANT and ETL seems to expect to be passed in the
source model such that the type is expressed as:
MyModel!MyType
e.g.
MyRule
transform inThing : InModel!InType
to outThing : OutModel!OutType {
var myObj : MyModel!MyType := <some expression>;
<blah>;
myObj.myOperation();
}
The call myObj.myOperation() appears to be resolved such that it finds
the relevant eol file (which is imported at the top of the ETL script,
but then fails with the error message stating that the type MyType could
not be found. How do I dereference MyModel!MyType such that I can invoke
EOL operations on type MyType from within the ETL script?
Regards,
Chris
|
|
|
Powered by
FUDForum. Page generated in 0.03073 seconds