[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.gmt.amw] Re: Question about Keys2Nested_AMW2ATL AMW example

Hi,

Can you look into the ATL-model.ecore to see if it has any elements?
This way we can verify if the problem is when transforming the weaving model into the ATL model or when extracting the ATL-model.ecore into .atl.


Regards,
Marcos.

Frank Grimm wrote:
Dear newsgroup,

I tried the Keys2Nested_AMW2ATL model weaving example and following the
instructions given on the example's documentation website
(http://www.eclipse.org/gmt/amw/examples/Keys2Nested_AMW2ATL/Keys2Nested_AMW2ATL_doc.php)
I could execute the first ATL programme, i.e., AMW2toTL.atl to create the
transformation model output_atl/ATL-model.ecore. But when I try to "Extract
ATL-0.2 model into ATL-0.2 file" from ATL-model.ecore, the generated
output_atl/ATL-model.atl's content is just

module ModelTrans;
create OUT : XML

The rest of the file (as inculded in the example zip) is missing. Neither
the eclipse log file nor the consolse show any error messages.

I'm using a "clean" Eclipse 3.1.1 installation with EMF 2.1.1, ADT, AMW, and
AM3. The ADT version used is 20060113, AMW version is 20060126, and AM3
version is 20060117 (all versions were downloaded from the Eclipse GMT
website).

What am I doing wrong? Could you please give some hints which part of the
source code is performing the extraction of an ATL model into a ATL file?

Many thanks in advance,
Frank.

(Please remove "nospam-" in email address to directly reply via email.)