Download Options

Xtend can be used in Eclipse. You can use your IDE's plug-in mechanism to add Xtend, using one of the URLs below.

Xtend 2.34.0 Release Notes

Download Eclipse

Eclipse Updatesites

To install the Xtend plug-in into a running Eclipse.

Releases (right click & copy)

Milestones (right click & copy)

Nightly Builds (right click & copy)

Installation Instructions

  • Choose Help -> Install New Software... from the menu bar and Add....
  • Insert one of the update site URLs below. This site aggregates all the necessary and optional components and dependencies of Xtend.
  • Select the Xtend IDE from the category Xtend and complete the wizard by clicking the Next button until you can click Finish.
  • After a quick download and a restart of Eclipse, Xtend is ready to use.

Maven Plugin

You can create a readily configured project with the following command.

mvn archetype:generate -DarchetypeGroupId=org.eclipse.xtend -DarchetypeArtifactId=xtend-archetype

If you already have a project, you need to add the Xtend library:

<dependency>
  <groupId>org.eclipse.xtend</groupId>
  <artifactId>org.eclipse.xtend.lib</artifactId>
  <version>2.34.0</version>
</dependency>

and the Xtend compiler plugin:

<plugin>
  <groupId>org.eclipse.xtend</groupId>
  <artifactId>xtend-maven-plugin</artifactId>
  <version>2.34.0</version>
  <executions>
    <execution>
      <goals>
        <goal>compile</goal>
        <goal>testCompile</goal>
      </goals>
      <configuration>
        <outputDirectory>${project.build.directory}/xtend-gen/main</outputDirectory>
        <testOutputDirectory>${project.build.directory}/xtend-gen/test</testOutputDirectory>
      </configuration>
    </execution>
  </executions>
</plugin>

Gradle Plugin

Here is a minimal Gradle build script using Xtend:

plugins {
  id "org.xtext.xtend" version "4.0.0"
}

repositories.mavenCentral()

dependencies {
  compile 'org.eclipse.xtend:org.eclipse.xtend.lib:2.34.0'
}

For more information, visit the plugin’s page on GitHub

Have Fun!

You can now use your IDE’s “New Xtend Class” wizard to start your journey.

Click here for documentation and examples.