Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [MTL] Status?
[MTL] Status? [message #53938] Mon, 15 December 2008 10:59 Go to next message
Florian Lautenbacher is currently offline Florian Lautenbacher
Messages: 61
Registered: July 2009
Member
Hi there,

I would like to use MTL for specifying some transformations as part of the
Eclipse project Java Workflow Tooling (JWT).
In ATL I have the problem that I didn't find a possibility to navigate
through some package structures and create as a target a workflow file
that contains the packages from the source file in the same structuring.

Since MTL is now a standard by the OMG, I thought I might better switch to
MTL in order to create my transformations and solve this problem.
Since the wiki pages are not really up to date and there is not much
documentation available (besides the ESE08 presentation which I attended
in Ludwigsburg), I would like to ask:

-what is the current status of the project (stable, all aspects of the OMG
standard covered)?
-whether the described package navigation is possible in MTL?

Thanks in advance for your assistance and best regards,

Florian
-JWT project co-lead-
Re: [MTL] Status? [message #54100 is a reply to message #53938] Tue, 16 December 2008 03:47 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1609
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020606080104020205030305
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Florian,

The latest integration builds are stable enough, but not all aspects of
the standard are covered yet. Macros are probably the biggest
non-covered feature.

I don't really understand the navigation problem you encounter. MTL
should allow for navigation through packages and the creation of the
same structure through its File blocks.

Laurent Goubet
Obeo

Florian Lautenbacher a
Re: [MTL] Status? [message #54154 is a reply to message #54100] Tue, 16 December 2008 05:32 Go to previous messageGo to next message
Florian Lautenbacher is currently offline Florian Lautenbacher
Messages: 61
Registered: July 2009
Member
Hi Laurant,

imagine a metamodel with the following structure:
Main package "A" with two sub-packages "A1" and "A2". Another main package
"B" with sub-package "B1". I would like to have a transformation from that
model into exactly the same model with the same package structure. In ATL
I only found a possibility to specify a rule which works for package in
general (e.g. rule Package2Package), but this rule then applies for all
packages found in the source model. Therefore, my target model would have
five main packages (A, A1, A2, B and B1), whereas my source model only had
two.

Does MTL take care of such packaging structure? Maybe you might show me a
link where this is described in detail?

Thanks in advance and best regards,

Florian
Re: [MTL] Status? [message #54180 is a reply to message #54154] Tue, 16 December 2008 08:12 Go to previous message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1609
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030504090107000207060905
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Florian,

I'm not sure what you're trying to achieve. You do know MTL is a model
to text technology as opposed to ATL that is a model to model? Was
wondering because of your mention of ATl and a "target model".

Nevertheless, if what you're trying to do is generating text from your
model, you can indeed take into account the package hierarchy when
generating your files. The only available documentation is the OMG MTL
specification though.

Regards,

Laurent Goubet
Obeo

Florian Lautenbacher a
Previous Topic:Re: Genereta XML file with VE
Next Topic:Use of JET setVariable to store commonly used XPath expressions
Goto Forum:
  


Current Time: Sun Apr 20 04:21:52 EDT 2014

Powered by FUDForum. Page generated in 0.01866 seconds