.. ******************************************************************************* * MetaFactory.io R2 * Technical Documentation * * File name : T01_HelloWorld.rst * Created by : MetaFactory (Marnix ?) * Last update : 08-03-2021 * Updated by : Niels de Nies * * MetaFactory BV Amsterdam ******************************************************************************* .. include:: /external-links.txt T01 Hello World =============== .. rubric:: In this tutorial we will build a simple ‘Hello World’ application with MetaFactory. In the directory metafactory-workshop-metafactory\\src\\patterns, add an xml file named hello-world.xml with this content: .. literalinclude:: /_static/tutorial-files/1-hello-world/hello-world.xml :caption: hello-world.xml :language: xml :linenos: Now: - Click on metafactory-workshop-metafactory in the MetaFactory Project window. - Click on the Play button to run the MetaFactory machine. Once finished MetaFactory will have generated the Java class HelloWorld. .. figure:: /_static/tutorial-files/1-hello-world/generate-hello-world-screenshot.png :name: T01_Screenshot :scale: 60%