Error message from ETL following Epsilon upgrade [message #530631] |
Fri, 30 April 2010 11:00 |
Eclipse User |
|
|
|
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
|
|
|
|
Re: Error message from ETL following Epsilon upgrade [message #530652 is a reply to message #530651] |
Fri, 30 April 2010 12:38 |
Eclipse User |
|
|
|
Originally posted by: c.k.holmes.lboro.ac.uk
Hi Dimitris,
OK, cool ... just checking:)
Best Wishes
Chris
Dimitris Kolovos wrote:
> Hi Chris,
>
> This is actually a debug message that was not cleared up and made it to
> the stable version :( Please ignore these messages. I'll remove it and
> release a new interim version shortly.
>
> Cheers,
> Dimitris
>
> Chris Holmes wrote:
>> 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
>
>
|
|
|
|
Re: Error message from ETL following Epsilon upgrade [message #588739 is a reply to message #530651] |
Fri, 30 April 2010 12:38 |
Eclipse User |
|
|
|
Originally posted by: c.k.holmes.lboro.ac.uk
Hi Dimitris,
OK, cool ... just checking:)
Best Wishes
Chris
Dimitris Kolovos wrote:
> Hi Chris,
>
> This is actually a debug message that was not cleared up and made it to
> the stable version :( Please ignore these messages. I'll remove it and
> release a new interim version shortly.
>
> Cheers,
> Dimitris
>
> Chris Holmes wrote:
>> 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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03480 seconds