Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Little bug in string convertion with ATL 3.0.0
[ATL] Little bug in string convertion with ATL 3.0.0 [message #107652] Wed, 01 July 2009 09:55 Go to next message
Skander TURKI is currently offline Skander TURKIFriend
Messages: 130
Registered: July 2009
Senior Member
Hi,
I have a new aanoying mistake that appeared with last versions of ATL
(release 3.0.0 and RC6), but it was working fine with ATL2 :

********************
unique lazy rule myMemoryTypes {
from s : UML2!Class
to t : AAXL!MemoryType (
name <- s.name.debug('nameMem'),
....

Console:
nameMem: 'Memory'

***********************

So the name of the UML2!Class is "Memory" but the problem is that in the
produced AADL model if it converted to "Keyword_Memory"
It doesn't do the same thing with all the other lazy rules (that are
exatly the same):

************************
unique lazy rule myProcessorTypes {
from s : UML2!Class
to t : AAXL!ProcessorType (
name <- s.name,
...
************************

It looks to me like an error in a UML String conversion
Can anybody help?!
thanks
Re: [ATL] Little bug in string convertion with ATL 3.0.0 [message #480515 is a reply to message #107652] Mon, 17 August 2009 13:23 Go to previous message
Alfons Laarman is currently offline Alfons LaarmanFriend
Messages: 35
Registered: July 2009
Member
Hi Skander,

I think this is related to this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=286796
Let me know, i rememeber having the same prob in a project.


Regards,

Alfons


On 7/1/09 11:55 AM, in article
446752a9e9f932ffdc3de4f87efc1834$1@www.eclipse.org, "Skander"
<skander.turki@gmail.com> wrote:

> Hi,
> I have a new aanoying mistake that appeared with last versions of ATL
> (release 3.0.0 and RC6), but it was working fine with ATL2 :
>
> ********************
> unique lazy rule myMemoryTypes {
> from s : UML2!Class
> to t : AAXL!MemoryType (
> name <- s.name.debug('nameMem'),
> ...
>
>
> Console:
> nameMem: 'Memory'
>
> ***********************
>
> So the name of the UML2!Class is "Memory" but the problem is that in the
> produced AADL model if it converted to "Keyword_Memory"
> It doesn't do the same thing with all the other lazy rules (that are
> exatly the same):
>
> ************************
> unique lazy rule myProcessorTypes {
> from s : UML2!Class
> to t : AAXL!ProcessorType (
> name <- s.name,
> ..
>
> ************************
>
> It looks to me like an error in a UML String conversion
> Can anybody help?!
> thanks
>
Previous Topic:[ATL] internal error occurred
Next Topic:Invoking ATL programaticaly in Galileo
Goto Forum:
  


Current Time: Mon Jan 13 01:17:05 GMT 2025

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

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

Back to the top