Difference between revisions of "AMW Examples HowTo"

From Eclipsepedia

Jump to: navigation, search
 
(10 intermediate revisions by one 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 ==
  
== Installation from the binaries: ==
+
Check out the usual ATL sources from the CVS.
 +
Check out the "org.eclipse.gmt.atl.atl2006" project.
  
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.  
+
After the checkout, be sure the ATL transformation was recompiled.
The binaries must have been compiled with the latest ATL sources.
+
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 [http://www.eclipse.org/gmt/amw/usecases/ Use Cases] page contains a general overview and a '''HowTo''' for every example.
 +
 
 +
{{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 13:31, 7 March 2007

< To: AMMA
< To: GMT


[edit] 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.

[edit] 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.

[edit] 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