Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Amalgam » DSL toolkit book - problem when running tranformations
DSL toolkit book - problem when running tranformations [message #525228] Thu, 31 December 2009 16:26 Go to next message
Martin Baez is currently offline Martin Baez
Messages: 12
Registered: July 2009
Junior Member
I am developing a dsl toolkit and trying to give support for running
some atl, qvto and xpand tranformations programatically.
I am a bit lost when trying to understand how invokations must be done
and found some problems when running the transformations:

1) The m2t tranformation(TransformMindmap2Csv class) was not running
beacuse the code is commented, I uncommented the code and used the
org.eclipse.emf.mwe plugins in order to compile the uncommented code,
but when I try to export a mindmap diagram to cvs nothing happens, after
some debug I found this issue reported for the WorkflowRunner

[ERROR]: Class not found: 'org.eclipse.xpand2.Generator'

What bundle am I missing?, I understood that the dsl sample must be used
with the ganymede version, but what version of xpand should I use?

2) I cannot run the transformations(mindmap to requirementes for
example) because the wizard reported this error:

"Cannot find imported module
'/org.eclipse.amalgam.examples.dnc.TransformDnc2Java.transfo rmationId' "




Any clue?, by the way the book is great!!


thanks in advance

colo
Re: DSL toolkit book - problem when running tranformations [message #525229 is a reply to message #525228] Mon, 11 January 2010 01:57 Go to previous message
Martin Baez is currently offline Martin Baez
Messages: 12
Registered: July 2009
Junior Member
Anybody has a clue about the problem I have with the sample code? , I
try to describe them better:

1_ When I run the "Export to cvs" tranformation I get this error:

EvaluationException : No Definition 'mindmap2csv::Main for mindmap::Map'
found!
[23,67] on line 1 'EXPAND mindmap2csv::Main FOR
model.typeSelect(mindmap::Map).first()'


2_ When I try to run the "transform to requirements" transformation I
get this one:

Cannot find imported module
'/org.eclipse.amalgam.examples.dnc.TransformDnc2Java.transfo rmationId'


What am I missing?. am I the only one with these problems? :(

thanks

colo




Colo wrote:
> I am developing a dsl toolkit and trying to give support for running
> some atl, qvto and xpand tranformations programatically.
> I am a bit lost when trying to understand how invokations must be done
> and found some problems when running the transformations:
>
> 1) The m2t tranformation(TransformMindmap2Csv class) was not running
> beacuse the code is commented, I uncommented the code and used the
> org.eclipse.emf.mwe plugins in order to compile the uncommented code,
> but when I try to export a mindmap diagram to cvs nothing happens, after
> some debug I found this issue reported for the WorkflowRunner
>
> [ERROR]: Class not found: 'org.eclipse.xpand2.Generator'
>
> What bundle am I missing?, I understood that the dsl sample must be used
> with the ganymede version, but what version of xpand should I use?
>
> 2) I cannot run the transformations(mindmap to requirementes for
> example) because the wizard reported this error:
>
> "Cannot find imported module
> '/org.eclipse.amalgam.examples.dnc.TransformDnc2Java.transfo rmationId' "
>
>
>
>
> Any clue?, by the way the book is great!!
>
>
> thanks in advance
>
> colo
>
Re: DSL toolkit book - problem when running tranformations [message #587257 is a reply to message #525228] Mon, 11 January 2010 01:57 Go to previous message
Martin Baez is currently offline Martin Baez
Messages: 12
Registered: July 2009
Junior Member
Anybody has a clue about the problem I have with the sample code? , I
try to describe them better:

1_ When I run the "Export to cvs" tranformation I get this error:

EvaluationException : No Definition 'mindmap2csv::Main for mindmap::Map'
found!
[23,67] on line 1 'EXPAND mindmap2csv::Main FOR
model.typeSelect(mindmap::Map).first()'


2_ When I try to run the "transform to requirements" transformation I
get this one:

Cannot find imported module
'/org.eclipse.amalgam.examples.dnc.TransformDnc2Java.transfo rmationId'


What am I missing?. am I the only one with these problems? :(

thanks

colo




Colo wrote:
> I am developing a dsl toolkit and trying to give support for running
> some atl, qvto and xpand tranformations programatically.
> I am a bit lost when trying to understand how invokations must be done
> and found some problems when running the transformations:
>
> 1) The m2t tranformation(TransformMindmap2Csv class) was not running
> beacuse the code is commented, I uncommented the code and used the
> org.eclipse.emf.mwe plugins in order to compile the uncommented code,
> but when I try to export a mindmap diagram to cvs nothing happens, after
> some debug I found this issue reported for the WorkflowRunner
>
> [ERROR]: Class not found: 'org.eclipse.xpand2.Generator'
>
> What bundle am I missing?, I understood that the dsl sample must be used
> with the ganymede version, but what version of xpand should I use?
>
> 2) I cannot run the transformations(mindmap to requirementes for
> example) because the wizard reported this error:
>
> "Cannot find imported module
> '/org.eclipse.amalgam.examples.dnc.TransformDnc2Java.transfo rmationId' "
>
>
>
>
> Any clue?, by the way the book is great!!
>
>
> thanks in advance
>
> colo
>
Previous Topic:DSL toolkit book - problem when running tranformations
Next Topic:[Announce] Eclipse/OMG Symposium 2010
Goto Forum:
  


Current Time: Fri Oct 31 09:31:33 GMT 2014

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

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