Xtend is a flexible and expressive dialect of Java that compiles into readable Java source code. You can use any existing Java library seamlessly. The compiled output is readable and pretty-printed, and tends to run as fast as the equivalent handwritten Java code. Become productive and write beautiful code with powerful macros, lambdas, operator overloading, and many more modern language features.
How To Build
Check out and run
Additional command line arguments:
-PcompileXtend=trueactivates the Xtend compiler, but this is optional because the generated Java code is included in the repository.
-PuseJenkinsSnapshots=trueswitches to using the Maven repositories generated by the Jenkins build jobs for xtext-lib, xtext-core, and xtext-extras. Without this argument, Sonatype snapshots are used (except for xtext-idea, which is only available from the Jenkins server).
./gradlew createLocalMavenRepo to compile and install the Xtend core module, then run
mvn -f maven-pom.xml clean install -PuseSonatypeSnapshots
With the above configuration, Sonatype snapshots are used for upstream Xtext dependencies. The alternative profile
-PuseJenkinsSnapshots activates the Maven repositories generated on the Jenkins server for xtext-lib, xtext-core, and xtext-extras instead.
mvn -f tycho-pom.xml clean install.
How to Work with the Source Code
- how to setup your workspace,
- how to contribute,
- and many other useful guides
This project is built by the xtext-xtend multi-branch job on Jenkins.