[MOFScript]execute transformation [message #384816] |
Thu, 21 August 2008 06:53  |
Eclipse User |
|
|
|
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 19:56   |
Eclipse User |
|
|
|
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 #385274 is a reply to message #384889] |
Thu, 28 August 2008 09:00  |
Eclipse User |
|
|
|
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 19:56  |
Eclipse User |
|
|
|
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 07:04  |
Eclipse User |
|
|
|
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 #619985 is a reply to message #384887] |
Fri, 22 August 2008 07:31  |
Eclipse User |
|
|
|
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 09:00  |
Eclipse User |
|
|
|
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!
>
|
|
|
Powered by
FUDForum. Page generated in 0.03554 seconds