Step 1: Create a Project

Step 1: Create a Project

To create a Project, create an ordinary Xtend/Xpand-Project. This is done in Eclipse by changing to the Xtend/Xpand perspective and clicking on "File" / "New" / "Xtend/Xpand Project" . After entering a name for the project it is created.

After the project is created, support for XSD meta models needs to be activated. Click with your right mouse button on the project and open the properties window. Then go to the "Xpand/Xtend" page, " enable project specific settings " and activate the " XSD Metamodels " checkbox. There is no need to leave support for any other meta models activated, except you are sure that you want to use one of them, too. Figure 2, “Activate XSD Meta Model Support for Project” shows how the configuration is supposed to look like.

Figure 2. Activate XSD Meta Model Support for Project

Activate XSD Meta Model Support for Project

Then, org.eclipse.xtend.typesystem.xsd needs to be added to the project's dependencies. To do so open the file META-INF/MANIFEST.MF from your project and navigate to the "Dependencies"-tab. org.eclipse.xtend.typesystem.xsd needs to be added to the list of "Required Plug-ins", as it is shown in Figure 3, “Required Dependencies for Project” .

Figure 3. Required Dependencies for Project

Required Dependencies for Project