Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Error message from ETL following Epsilon upgrade
Error message from ETL following Epsilon upgrade [message #588719] Fri, 30 April 2010 11:00
Eclipse UserFriend
Originally posted by: c.k.holmes.lboro.ac.uk

Hi,
I have recently upgraded to the latest stable release of Epsilon
(0.8.9.201004151115). Whilst running a transformation that worked
successfully under the previous interim release I noticed that the
following error (I assume its an error as it's shown in red) is now
being emitted in the console window:
[epsilon.etl - MyTx.etl] transformPriorityType
[epsilon.etl - MyTx.etl] pkg ->
org.eclipse.emf.ecore.impl.EPackageImpl@15a00b3 (name: <aSchemaName>)
(nsURI: mySchema.xsd, nsPrefix: aPrefix)
[epsilon.etl - MyTx.etl] pkg ->
org.eclipse.emf.ecore.impl.EPackageImpl@11dadef (name: ParentPkg)
(nsURI: ParentNamespace, nsPrefix: Parent)
[epsilon.etl - MyTx.etl] pkg ->
org.eclipse.emf.ecore.impl.EPackageImpl@1523d21 (name: ChildPkg) (nsURI:
ChildNamespace, nsPrefix: Child)

The message (which was not emitted in the previous release) appears to
relate to the following code in my ETL script:
operation Any transformPriorityType() {
'transformPriorityType'.println();
if (self = Source!PriorityType#NONE) {
return Target!ATargetTypeType#NONE;
} else if (self = Source!PriorityType#LOW) {
return Target!ATargetType#LOW;
} else if (self = Source!PriorityType#MEDIUM) {
return Target!ATargetType#MEDIUM;
} else if (self = Source!PriorityType#HIGH) {
return Target!ATargetType#HIGH;
} else {
throw 'transformPriorityType enumeration literal error. Unhandled
enumeration literal: ' + self.literal + '.';
}
}

This is invoked via the following Ant fragment:
<epsilon.etl src="${EtlFile}">
<model ref="${SourceName}" as="Source"/>
<model ref="${MessageSet}" as="Target"/>
<model ref="${DataDictionary}" as="DataDictionary"/>
</epsilon.etl>


Note that, whilst this appears to be indicated as an error, the
transformation runs to completion successfully and produces the expected
result.

Regards
Chris
Previous Topic:[EOL] How to call constructor when using Native
Next Topic:Error message from ETL following Epsilon upgrade
Goto Forum:
  


Current Time: Tue Apr 23 07:36:37 GMT 2024

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

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

Back to the top