Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [MOFScript]execute transformation
[MOFScript]execute transformation [message #384816] Thu, 21 August 2008 10:53 Go to next message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
Hello,
I designed an graphical editor using EMF and GMF,and when I create an
instance of this editor in Eclipse,there are two files generated, one is
xx(domain file extension) which is writen in XML Schema and another
xx_diagram.Now I wanna transfer model to text which is another kind of
code.
I have copied my .ecore file to the metamodel file of MOFScript and I
try to execute the transformation code.But when I select the source
model,should I select the .xx file,but no file of this extension is shown
in the dialogue.if I choose the xx.ecore file ,then nothing happend.I set
the file() with reasonable path in the main rule.Where had gone wrong?



Thanks a lot!


Ye
Re: [MOFScript]execute transformation [message #384827 is a reply to message #384816] Thu, 21 August 2008 23:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rivas_jorge55.hotmail.com

Hi, i have the same problem, i see something in the console seccion, its
said when the eclipse start, that ATL console is started, so i think, that
there are some priority, in perspectives, but when i look for morscript
perspective, its doesnt exists. then i try removing ATL plugin, now the
console seccion it said, mofscript started, but arter that send me a
message error.

i posted about this error, but no one answer me. know i looking for
exactly atl plug in, thinking that i remove then wrong. so i have no
answer for you, but, i never get rigth installation of mofscript and i
beleave that you are in the same problem.
Re: [MOFScript]execute transformation [message #384886 is a reply to message #384827] Fri, 22 August 2008 11:04 Go to previous messageGo to next message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello Jorge,

I suggest you try to click on the button in the console showing the hower
text "Display Selected Console", looks like a blue monitor.

There is noe such thing as a MOFScript perspective. When you open a m2t
file, the actions should be available, (Compile, Execute etc..)

Cheers,
G
Re: [MOFScript]execute transformation [message #384887 is a reply to message #384816] Fri, 22 August 2008 11:16 Go to previous messageGo to next message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello Ye,

Have you checked that the file filter on the selection dialog says *.* ?

Cheers,
G
Re: [MOFScript]execute transformation [message #384889 is a reply to message #384887] Fri, 22 August 2008 11:31 Go to previous messageGo to next message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
Hello,
Thank you!Now the input file can be loaded after I check *.*.the info
shown in console:
loading source model..
Executing MOFScript Specification
Starting transformation
New file:(the directory I designated .xx)
but I couldn't find the transformed code in the directory.

what could be the problem.My transformtion code doesn't function?


Thank you very much!
Re: [MOFScript]execute transformation [message #385274 is a reply to message #384889] Thu, 28 August 2008 13:00 Go to previous message
Tor Neple is currently offline Tor NepleFriend
Messages: 57
Registered: July 2009
Member
If the console outputs "New file :....:" the file i definitively
created. If you are looking for the file in the Eclipse environment,
select the folder where the output should be and press F5.

Regards


Tor

Ye Liu wrote:
> Hello,
> Thank you!Now the input file can be loaded after I check *.*.the info
> shown in console:
> loading source model..
> Executing MOFScript Specification
> Starting transformation
> New file:(the directory I designated .xx)
> but I couldn't find the transformed code in the directory.
>
> what could be the problem.My transformtion code doesn't function?
>
>
> Thank you very much!
>
Re: [MOFScript]execute transformation [message #619964 is a reply to message #384816] Thu, 21 August 2008 23:56 Go to previous message
Eclipse UserFriend
Originally posted by: rivas_jorge55.hotmail.com

Hi, i have the same problem, i see something in the console seccion, its
said when the eclipse start, that ATL console is started, so i think, that
there are some priority, in perspectives, but when i look for morscript
perspective, its doesnt exists. then i try removing ATL plugin, now the
console seccion it said, mofscript started, but arter that send me a
message error.

i posted about this error, but no one answer me. know i looking for
exactly atl plug in, thinking that i remove then wrong. so i have no
answer for you, but, i never get rigth installation of mofscript and i
beleave that you are in the same problem.
Re: [MOFScript]execute transformation [message #619979 is a reply to message #384827] Fri, 22 August 2008 11:04 Go to previous message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello Jorge,

I suggest you try to click on the button in the console showing the hower
text "Display Selected Console", looks like a blue monitor.

There is noe such thing as a MOFScript perspective. When you open a m2t
file, the actions should be available, (Compile, Execute etc..)

Cheers,
G
Re: [MOFScript]execute transformation [message #619982 is a reply to message #384816] Fri, 22 August 2008 11:16 Go to previous message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello Ye,

Have you checked that the file filter on the selection dialog says *.* ?

Cheers,
G
Re: [MOFScript]execute transformation [message #619985 is a reply to message #384887] Fri, 22 August 2008 11:31 Go to previous message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
Hello,
Thank you!Now the input file can be loaded after I check *.*.the info
shown in console:
loading source model..
Executing MOFScript Specification
Starting transformation
New file:(the directory I designated .xx)
but I couldn't find the transformed code in the directory.

what could be the problem.My transformtion code doesn't function?


Thank you very much!
Re: [MOFScript]execute transformation [message #620465 is a reply to message #384889] Thu, 28 August 2008 13:00 Go to previous message
Tor Neple is currently offline Tor NepleFriend
Messages: 57
Registered: July 2009
Member
If the console outputs "New file :....:" the file i definitively
created. If you are looking for the file in the Eclipse environment,
select the folder where the output should be and press F5.

Regards


Tor

Ye Liu wrote:
> Hello,
> Thank you!Now the input file can be loaded after I check *.*.the info
> shown in console:
> loading source model..
> Executing MOFScript Specification
> Starting transformation
> New file:(the directory I designated .xx)
> but I couldn't find the transformed code in the directory.
>
> what could be the problem.My transformtion code doesn't function?
>
>
> Thank you very much!
>
Previous Topic:[MOFScript]transformation code
Next Topic:Eclipse (Graphical) Modeling Framework Training
Goto Forum:
  


Current Time: Thu Nov 27 13:42:08 GMT 2014

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

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