Jump to: navigation, search

Difference between revisions of "AMW Examples HowTo"

(Installation from the sources:)
Line 1: Line 1:
 
{{Backlink|AMW}}
 
{{Backlink|AMW}}
  
=Multiple source patterns (beta)=
+
=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 is not yet available for download in the binary versions of ATL. It uses the ATL 2006 compiler. The [[ATL 2006]] page explains how to update your sources with this version, and how to select the correct compiler.
  
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.
 
However, a beta version is available for download in the AMW page. Follow the installation instructions below:
 
  
 
== Installation from the sources: ==
 
== Installation from the sources: ==
  
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".
+
Check out the usual ATL sources from the CVS.
 +
Check out the "org.eclipse.gmt.atl.atl2006" project.
  
After copying the new compiler, be sure the ATL transformation was recompiled.  
+
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: ==
 
 
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 binaries must have been compiled with the latest ATL sources.
 
  
 
[http://www.eclipse.org/gmt/amw/examples/ AMW Examples]
 
[http://www.eclipse.org/gmt/amw/examples/ AMW Examples]

Revision as of 12:12, 29 November 2006

< To: AMW

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 is not yet available for download in the binary versions of ATL. It uses 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.


AMW Examples