Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Reuse of EOL operations in ETL
Reuse of EOL operations in ETL [message #587653] Thu, 25 March 2010 12:02
Eclipse UserFriend
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
Previous Topic:ETL, problem with a data type
Next Topic:Reuse of EOL operations in ETL
Goto Forum:
  


Current Time: Sat Apr 20 03:09:17 GMT 2024

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

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

Back to the top