Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Not updated transformation.
[ATL] Not updated transformation. [message #646322] Thu, 23 December 2010 10:50 Go to next message
Dave  is currently offline Dave Friend
Messages: 37
Registered: September 2010
Member
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.
Re: [ATL] Not updated transformation. [message #646335 is a reply to message #646322] Thu, 23 December 2010 11:09 Go to previous messageGo to next message
Tassilo Horn is currently offline Tassilo HornFriend
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 Go to previous messageGo to next message
Vincent MAHE is currently offline Vincent MAHEFriend
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 #646345 is a reply to message #646340] Thu, 23 December 2010 12:32 Go to previous messageGo to next message
Dave  is currently offline Dave Friend
Messages: 37
Registered: September 2010
Member
Hi guys, thanks for your replies!

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.

Some other suggetions?

Thanks,
Dave.
Re: [ATL] Not updated transformation. [message #646351 is a reply to message #646345] Thu, 23 December 2010 12:59 Go to previous messageGo to next message
Tassilo Horn is currently offline Tassilo HornFriend
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 #646355 is a reply to message #646351] Thu, 23 December 2010 13:24 Go to previous messageGo to next message
Dave  is currently offline Dave Friend
Messages: 37
Registered: September 2010
Member
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.
Re: [ATL] Not updated transformation. [message #646360 is a reply to message #646355] Thu, 23 December 2010 13:54 Go to previous messageGo to next message
Vincent MAHE is currently offline Vincent MAHEFriend
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
Re: [ATL] Not updated transformation. [message #646366 is a reply to message #646360] Thu, 23 December 2010 14:40 Go to previous messageGo to next message
Dave  is currently offline Dave Friend
Messages: 37
Registered: September 2010
Member
Hi all and thanks for your fast replies Smile

I think I solved my issue.
There was an ATL code-block having some syntactic and/or semantic problems, but they wasn't detected by the compiler; so, the asm file wasn't updated when saving the atl file.
Deleting that piece of code, the asm was compiled correctly.

If I'll have some other issues, I'll not hesitate to ask you some helps.

Many thanks for your time and consideration,
Dave.
Re: [ATL] Not updated transformation. [message #646382 is a reply to message #646366] Thu, 23 December 2010 15:06 Go to previous messageGo to next message
Tassilo Horn is currently offline Tassilo HornFriend
Messages: 93
Registered: July 2009
Member
Dave <davewilson@hotmail.it> writes:

Hi Dave,

> There was an ATL code-block having some syntactic and/or semantic
> problems, but they wasn't detected by the compiler; so, the asm file
> wasn't updated when saving the atl file.

I think it would be helpful if you provided the devs the problematic
code block.

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 #646415 is a reply to message #646382] Thu, 23 December 2010 20:48 Go to previous messageGo to next message
Dave  is currently offline Dave Friend
Messages: 37
Registered: September 2010
Member
Hi Tassilo,

Quote:
I think it would be helpful if you provided the devs the problematic
code block.


I'll provide the code-block in the next days.

Bye,
Dave.
Re: [ATL] Not updated transformation. [message #647646 is a reply to message #646415] Fri, 07 January 2011 14:54 Go to previous message
Dave  is currently offline Dave Friend
Messages: 37
Registered: September 2010
Member
Hi,

I think that was an error dependig by my insufficient experience with ATL, so it couldn't be helpful to provide the problematic code-block.

Dave.
Previous Topic:[ATL]Unable to access name on OclUndefined
Next Topic:[QVTO] Problems using more than one qvto library.
Goto Forum:
  


Current Time: Thu Mar 28 13:29:45 GMT 2024

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

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

Back to the top