Home » Archived » M2M (model-to-model transformation) » [ATL] Not updated transformation.
|
Re: [ATL] Not updated transformation. [message #646335 is a reply to message #646322] |
Thu, 23 December 2010 11:09 |
Tassilo Horn Messages: 93 Registered: July 2009 |
Member |
|
|
Dave <davewilson@hotmail.it> writes:
Hey Dave,
> while I was workin' on an ATL transformation, it happened a strange
> thing: my Eclipse seems to execute always the same transformation,
> independently from my modifications.
> Each modification I make doesn't effect the transformation execution,
> so it seems to execute the same version of the transformation. But the
> .atl file is effectively modified, so I don't understand why the
> output is always the same. This is an original problem for me, because
> I've never met it. There's someone who could help me, please?
Hm, just a blind guess: Since ATL doesn't execute the ATL file but the
ASM file that is compiled from the ATL file, I'd say that this
compilation somehow fails.
But I have no clue how to fix that...
Bye,
Tassilo
--
Dipl.-Inform. Tassilo Horn | Room: B015
University of Koblenz-Landau, Campus Koblenz | Phone: +49 (261) 287-2745
Institute for Software Technology | Mail: horn@uni-koblenz.de
Universitätsstr. 1, 56070 Koblenz, Germany |
|
|
|
Re: [ATL] Not updated transformation. [message #646340 is a reply to message #646322] |
Thu, 23 December 2010 12:17 |
Vincent MAHE Messages: 129 Registered: July 2009 |
Senior Member |
|
|
Le 23/12/2010 11:51, Dave a écrit :
> Hi all,
>
> while I was workin' on an ATL transformation, it happened a strange thing:
> my Eclipse seems to execute always the same transformation,
> independently from my modifications.
> Each modification I make doesn't effect the transformation execution, so
> it seems to execute the same version of the transformation. But the .atl
> file is effectively modified, so I don't understand why the output is
> always the same. This is an original problem for me, because I've never
> met it. There's someone who could help me, please?
>
> Many thanks in advance,
> Dave.
It seems your ATL file is not compiled.
Check if your project:
- has the ATL nature
- has the ATL builder in its list
--
Cordialement
Vincent MAHÉ
Ingénieur Expert - Projet IDM++ - Équipe AtlanMod
École des Mines de Nantes
La Chantrerie - 4, rue Alfred Kastler
B.P. 20722 - F-44307 NANTES Cedex 3
Tel: (33)2 51 85 81 00
|
|
| |
Re: [ATL] Not updated transformation. [message #646351 is a reply to message #646345] |
Thu, 23 December 2010 12:59 |
Tassilo Horn Messages: 93 Registered: July 2009 |
Member |
|
|
Dave <davewilson@hotmail.it> writes:
Hi Dave
> The .project file is the following:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <projectDescription>
> <name>SDs2EGs</name>
> <comment></comment>
> <projects>
> </projects>
> <buildSpec>
> <buildCommand>
> <name>org.eclipse.m2m.atl.adt.builder.atlBuilder</name>
> <arguments>
> </arguments>
> </buildCommand>
> </buildSpec>
> <natures>
> <nature>org.eclipse.m2m.atl.adt.builder.atlNature</nature>
> </natures>
> </projectDescription>
>
> So, I think both the atl nature and the atl builder are verified.
Looks correct.
> Some other suggetions?
The first thing I'd do is check if a change to the ATL file causes a
change to the ASM file. If yes, then compiling seems to work, if not,
well, then not, but don't ask me why.
Bye,
Tassilo
--
Dipl.-Inform. Tassilo Horn | Room: B015
University of Koblenz-Landau, Campus Koblenz | Phone: +49 (261) 287-2745
Institute for Software Technology | Mail: horn@uni-koblenz.de
Universitätsstr. 1, 56070 Koblenz, Germany |
|
|
| |
Re: [ATL] Not updated transformation. [message #646360 is a reply to message #646355] |
Thu, 23 December 2010 13:54 |
Vincent MAHE Messages: 129 Registered: July 2009 |
Senior Member |
|
|
Le 23/12/2010 14:24, Dave a écrit :
> Quote:
>> The first thing I'd do is check if a change to the ATL file causes a
>> change to the ASM file. If yes, then compiling seems to work, if not,
>> well, then not, but don't ask me why.
>
>
> I've tried to do the following thing:
>
> I had an older version of my project, so I've pasted the new version of
> my .atl file in the older version, for verifying if the old .asm file
> was affected by changes. The result was that the transformation gives
> the same output of the older version. I deduced that the .asm file has
> not been changed.
> The thing that surprise me is that this problem arised from one day to
> the next...
>
> Dave.
Verify in the properties dialog of your project that on 'Builders' page
the ATL builder is checked
--
Cordialement
Vincent MAHÉ
Ingénieur Expert - Projet IDM++ - Équipe AtlanMod
École des Mines de Nantes
La Chantrerie - 4, rue Alfred Kastler
B.P. 20722 - F-44307 NANTES Cedex 3
Tel: (33)2 51 85 81 00
|
|
| | | | |
Goto Forum:
Current Time: Thu Sep 19 19:44:20 GMT 2024
Powered by FUDForum. Page generated in 0.04758 seconds
|