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 #530631] Fri, 30 April 2010 11:00 Go to next message
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
Re: Error message from ETL following Epsilon upgrade [message #530651 is a reply to message #530631] Fri, 30 April 2010 12:23 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Error message from ETL following Epsilon upgrade [message #530652 is a reply to message #530651] Fri, 30 April 2010 12:38 Go to previous message
Eclipse UserFriend
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 #588728 is a reply to message #530631] Fri, 30 April 2010 12:23 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Error message from ETL following Epsilon upgrade [message #588739 is a reply to message #530651] Fri, 30 April 2010 12:38 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Error message from ETL following Epsilon upgrade
Next Topic:Where did my matches go?
Goto Forum:
  


Current Time: Tue Nov 25 21:28:31 GMT 2014

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

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