O'Reilly logo

Implementing Domain-Specific Languages with Xtext and Xtend by Lorenzo Bettini

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the Xtext Buckminster wizard

In this chapter we will use a brand new example DSL project to demonstrate the building and releasing mechanisms (of course, the same mechanisms can be applied to an existing DSL as well):

  1. Go to File | New | Project..., in the dialog, navigate to the Xtext category and select Xtext Project.
  2. In the next dialog you should specify the following names:
    • Project name: org.example.build.hello
    • Name: org.example.build.hello.Hello
    • Extensions: hello
    • Check the option Create SDK feature project (this option must be checked for this example to work)

The wizard will create four projects in the workspace and it will open the file Hello.xtext.

We will use this example only for building and releasing, thus, we are not interested in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required