Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsComposing Epsilon tools?
https://www.eclipse.org/forums/index.php/mv/msg/160036/505563/#msg_505563
The motivation is to compose several Epsilon tools into one tool. For example: create an EVL tool that first transforms the model into another model (using ETL) and then validates the result.
Is it possible to do this in any of the E_L languages?
Is it possible in a more "low level" way, via Java?
Does it require a new EOL sub-language?
Itamar wrote:
> Is there any way to programmatically execute an E_L module on a model?
>
> The motivation is to compose several Epsilon tools into one tool. For
> example: create an EVL tool that first transforms the model into another
> model (using ETL) and then validates the result.
>
> Is it possible to do this in any of the E_L languages?
> Is it possible in a more "low level" way, via Java?
> Does it require a new EOL sub-language?
>
> Thanks !
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews]]>Dimitrios Kolovos2010-01-01T18:00:25-00:00Re: Composing Epsilon tools?
https://www.eclipse.org/forums/index.php/mv/msg/160036/505582/#msg_505582
Thanks for the prompt response.
I looked at the example and it seems to fit what I need. However, I was thinking maybe of another approach for this:
Is it possible in Epsilon (and if not - is it worthy in your opinion?) to exploit the "Model!Type" syntax for composition?
For example, is it possible to write something along the following to implicitly invoke an ETL module?
-- in some EVL module, for example
...
context ETL("UML2Graph") ! Node {
...
}
The semantics is that instead of applying the constraint on instances of types in the model (e.g UML14!Class), it would be applied on instances of Graph!Node which are obtained by a transformation defined in the ETL module "UML2Graph".
Does such thing exist?
If not, do you think its worth to implement such a "hack"? How would I go about this? (suppose I create some class that implements IModel and executes the ETL module -- where would I "stitch" that into Epsilon's execution engine?)]]>Itamar2010-01-02T10:54:33-00:00Re: Composing Epsilon tools?
https://www.eclipse.org/forums/index.php/mv/msg/160036/584226/#msg_584226
Thanks for the prompt response.
I looked at the example and it seems to fit what I need. However, I was thinking maybe of another approach for this:
Is it possible in Epsilon (and if not - is it worthy in your opinion?) to exploit the "Model!Type" syntax for composition?
For example, is it possible to write something along the following to implicitly invoke an ETL module?
-- in some EVL module, for example
...
context ETL("UML2Graph",UML14!Class) ! Node {
...
}
The semantics is that instead of applying the constraint on instances of UML14!Class, it would be applied on instances of Graph!Node which are obtained by a transformation defined in the ETL module "UML2Graph".
Does such thing exist?
If not, do you think its worth to implement such a "hack"? How would I go about this? (suppose I create some class that implements IModel and executes the ETL module -- where would I "stitch" that into Epsilon's execution engine?)]]>Itamar2010-01-02T10:54:57-00:00Re: Composing Epsilon tools?
https://www.eclipse.org/forums/index.php/mv/msg/160036/584262/#msg_584262
There is nothing like this at the moment in Epsilon (and I must admit I
haven't come across anything similar elsewhere). What would be the
benefit of this approach vs. the workflow?
Cheers,
Dimitris
Itamar wrote:
> Hi Dimitrios,
>
> Thanks for the prompt response.
> I looked at the example and it seems to fit what I need. However, I was
> thinking maybe of another approach for this:
>
> Is it possible in Epsilon (and if not - is it worthy in your opinion?)
> to exploit the "Model!Type" syntax for composition?
> For example, is it possible to write something along the following to
> implicitly invoke an ETL module?
>
> -- in some EVL module, for example
> ..
> context ETL("UML2Graph",UML14!Class) ! Node {
> ...
> }
>
> The semantics is that instead of applying the constraint on instances of
> UML14!Class, it would be applied on instances of Graph!Node which are
> obtained by a transformation defined in the ETL module "UML2Graph".
>
> Does such thing exist?
> If not, do you think its worth to implement such a "hack"? How would I
> go about this? (suppose I create some class that implements IModel and
> executes the ETL module -- where would I "stitch" that into Epsilon's
> execution engine?)
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews]]>Dimitrios Kolovos2010-01-02T15:55:18-00:00Re: Composing Epsilon tools?
https://www.eclipse.org/forums/index.php/mv/msg/160036/505592/#msg_505592
There is nothing like this at the moment in Epsilon (and I must admit I
haven't come across anything similar elsewhere). What would be the
benefit of this approach vs. the workflow?
Cheers,
Dimitris
Itamar wrote:
> Hi Dimitrios,
>
> Thanks for the prompt response.
> I looked at the example and it seems to fit what I need. However, I was
> thinking maybe of another approach for this:
>
> Is it possible in Epsilon (and if not - is it worthy in your opinion?)
> to exploit the "Model!Type" syntax for composition?
> For example, is it possible to write something along the following to
> implicitly invoke an ETL module?
>
> -- in some EVL module, for example
> ..
> context ETL("UML2Graph",UML14!Class) ! Node {
> ...
> }
>
> The semantics is that instead of applying the constraint on instances of
> UML14!Class, it would be applied on instances of Graph!Node which are
> obtained by a transformation defined in the ETL module "UML2Graph".
>
> Does such thing exist?
> If not, do you think its worth to implement such a "hack"? How would I
> go about this? (suppose I create some class that implements IModel and
> executes the ETL module -- where would I "stitch" that into Epsilon's
> execution engine?)
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews]]>Dimitrios Kolovos2010-01-02T15:55:18-00:00Re: Composing Epsilon tools?
https://www.eclipse.org/forums/index.php/mv/msg/160036/506104/#msg_506104
* it can be easier to define validation rules that use a transformation of the model (virtually, all you need to do is just declare that instead of operating on model A, you operate on "a transformation of A")
* it can be easier to run such EVLs -- just like any other EVLs, and not like ANT scripts
However, I do admit I might be missing a simple (or even simpler) alternative using workflows. I will check that, and post again.]]>Itamar2010-01-06T08:02:43-00:00Re: Composing Epsilon tools?
https://www.eclipse.org/forums/index.php/mv/msg/160036/584392/#msg_584392
* it can be easier to define validation rules that use a transformation of the model (virtually, all you need to do is just declare that instead of operating on model A, you operate on "a transformation of A")
* it can be easier to run such EVLs -- just like any other EVLs, and not like ANT scripts
However, I do admit I might be missing a simple (or even simpler) alternative using workflows. I will check that, and post again.]]>Itamar2010-01-06T08:02:44-00:00