Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [MOFScript]self. doesn't work
[MOFScript]self. doesn't work [message #384892] Fri, 22 August 2008 07:58 Go to next message
yeliu is currently offline yeliu
Messages: 145
Registered: July 2009
Senior Member
Hello,
I tried to test my code bit by bit,I found the transformation code
doesn't execute the self.xxx -> forEach(k) k.mapxx() iterator as well as
the rule in the statment.
I set the context of the main rule to the container class defined in
EMF.but even the self.name doesn't shown anything.

What could be the reason?

Thanks!

Ye
Re: [MOFScript]self. doesn't work [message #384906 is a reply to message #384892] Tue, 26 August 2008 03:30 Go to previous messageGo to next message
Gøran K. Olsen is currently offline Gøran K. Olsen
Messages: 184
Registered: July 2009
Senior Member
Hello Ye,

I think I it will make it much easier for me to answer your question if you
could send me the models and transformation you are using.

Cheers,
G
Re: [MOFScript]self. doesn't work [message #384909 is a reply to message #384906] Tue, 26 August 2008 03:46 Go to previous message
yeliu is currently offline yeliu
Messages: 145
Registered: July 2009
Senior Member
Hello,
Fortunately, this problem was solved.Thank you all the same!


Ye
Re: [MOFScript]self. doesn't work [message #620052 is a reply to message #384892] Tue, 26 August 2008 03:30 Go to previous message
Gøran K. Olsen is currently offline Gøran K. Olsen
Messages: 184
Registered: July 2009
Senior Member
Hello Ye,

I think I it will make it much easier for me to answer your question if you
could send me the models and transformation you are using.

Cheers,
G
Re: [MOFScript]self. doesn't work [message #620057 is a reply to message #384906] Tue, 26 August 2008 03:46 Go to previous message
yeliu is currently offline yeliu
Messages: 145
Registered: July 2009
Senior Member
Hello,
Fortunately, this problem was solved.Thank you all the same!


Ye
Previous Topic:[MOFScript] Ecore2<<Something>> elaborate example
Next Topic:[MOFScript]couldn't print list element
Goto Forum:
  


Current Time: Wed Apr 23 02:40:23 EDT 2014

Powered by FUDForum. Page generated in 0.02389 seconds