Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Workflow Engine] Chain DSL for the end-user
[Workflow Engine] Chain DSL for the end-user [message #610199] Sat, 03 November 2007 14:57
Jonathan MUSSET is currently offline Jonathan MUSSETFriend
Messages: 43
Registered: July 2009
I'm Jonathan, the leader of the Acceleo Project.
We worked on several DSLs and built editors for them using EMF.
One of the DSLs is very usefull to launch tasks like "Generation",
"Transformation", and "Parsing".
As far as I can see workflow engine doesn't currently use EMF for
We would like to add a model editor (generated by EMF) for the workflow
engine, like for Acceleo.
I saw that you have a XML configuration language :

<property name='genPath' value='/home/user/target'/>
<property name='model' value='/home/user/model.xmi'/>
<component class='an.handwriten.XmiReader'>
<model value='${model}'/>
<component class='oaw.xpand2.Generator'>
<path value='${genPath}'/>

So, it is quite simple to have an EMF model of this language.
Here is a small description of our chain metamodel :

It contains some declarations (resources) followed by the actions to run :

The resource part, also called "Repository", contains all of the
resources used by the actions :
- Model : The models to which the generator will be applied
- Folder : The directories in which the generation will take place
- Log : files that record errors
- Metamodel : The functional meta-models describing the entry models for
- Generator : The generator to apply
- Transformer : The transformation to apply

The action parts, also called "ActionSet", contain all the tasks that
must be run :

- Generate : applies a generator to a model, and creates the target files.
- Transform : applies a transformer to severals models.
- Parse : makes a reverse engeneering of the selected folder, and
creates the specified model
- Convert Xmi : Converts an XMI 1.x file that has been exported by a non
EMF modeler into a XMI 2.0 file based on EMF. This conversion can handle
UML13 and UML14 meta-models defined for EMF with the and
URIs. This action generally precedes a generation action, which is
applied to the model that results from the conversion.
- Remove : Completely removes the selected files and directories.
- Call : Launch the chains with the given path (« Chain Path »),
replacing the declared parameters of the sub chain by the given
arguments. A double click on the new "Call" is possible to select the
chain to call.
- Custom Action : Launch a custom action on the selected resources. It's
an infinite extension point. You can add ant tasks...
- ...

As the operations parameters are typed, this DSL is far simpler for the
end-user and many more checked are possible (just using the
EMF-validation framework).

Are you interested in such a contribution ?
If not, Are there any plans for this kind of features ?


Previous Topic:EMF model generation- performance problem?
Next Topic:[Workflow Engine] Chain DSL for the end-user
Goto Forum:

Current Time: Mon Apr 22 22:42:26 GMT 2024

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

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

Back to the top