Jump to: navigation, search

Difference between revisions of "AMW Examples HowTo"

(Installation from the sources:)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Backlink|AMW}}
+
{{Backlink|AMMA}}
 +
{{Backlink|GMT}}
  
=Multiple source patterns (beta)=
 
  
Many AMW examples use ATL matching transformations with multiple source patterns, i.e., ATL rules that match more than one element. This feature is not yet available for download in the official binary versions of ATL because it is under testing.
+
==Multiple source patterns ==
However, a beta version is available for download in the AMW page. Follow the installation instructions below:
+
  
== Installation from the sources: ==
+
Many AMW examples use ATL matching transformations with multiple source patterns, i.e., ATL rules that match more than one element. This feature needs the ATL 2006 compiler. The [[ATL 2006]] page explains how to update your sources with this version, and how to select the correct compiler.
  
Download the file [http://www.eclipse.org/gmt/amw/download/compiler_beta/ATLToASMCompiler.asm ATLToASMCompiler.asm] and copy it into "org.atl.eclipse.engine/src/org/atl/eclipse/engine/resources".
+
== Installation from the sources ==
  
After copying the new compiler, be sure the ATL transformation was recompiled.  
+
Check out the usual ATL sources from the CVS.
 +
Check out the "org.eclipse.gmt.atl.atl2006" project.
 +
 
 +
After the checkout, be sure the ATL transformation was recompiled.  
 
To do that, just modify and save the .atl file.
 
To do that, just modify and save the .atl file.
  
== Installation from the binaries: ==
+
==Use Cases HowTos==
  
Download the [http://www.eclipse.org/gmt/amw/download/compiler_beta/org.atl.eclipse.engine_1.0.7.jar org.atl.eclipse.engine_1.0.7.jar] plugin and copy it into the "eclipse/plugins" folder.  
+
The AMW examples are being improved in the form of use cases. The [http://www.eclipse.org/gmt/amw/usecases/ Use Cases] page contains a general overview and a '''HowTo''' for every example.
The binaries must have been compiled with the latest ATL sources.
+
 
 +
{{Backlink|AMMA}}
 +
{{Backlink|GMT}}
  
 
[http://www.eclipse.org/gmt/amw/examples/ AMW Examples]
 
[http://www.eclipse.org/gmt/amw/examples/ AMW Examples]
 +
 +
[http://www.eclipse.org/gmt/amw/usecases/ AMW Use Cases]

Latest revision as of 12:31, 7 March 2007

< To: AMMA
< To: GMT


Multiple source patterns

Many AMW examples use ATL matching transformations with multiple source patterns, i.e., ATL rules that match more than one element. This feature needs the ATL 2006 compiler. The ATL 2006 page explains how to update your sources with this version, and how to select the correct compiler.

Installation from the sources

Check out the usual ATL sources from the CVS. Check out the "org.eclipse.gmt.atl.atl2006" project.

After the checkout, be sure the ATL transformation was recompiled. To do that, just modify and save the .atl file.

Use Cases HowTos

The AMW examples are being improved in the form of use cases. The Use Cases page contains a general overview and a HowTo for every example.

< To: AMMA
< To: GMT

AMW Examples

AMW Use Cases