Generated from commit: https://github.com/eclipse/xtext/commit/00bfd9beedb60b9e0f2cea4dc7ef4b7b934a592d
diff --git a/documentation/203_xtend_expressions.html b/documentation/203_xtend_expressions.html
index e787d39..7f012e4 100644
--- a/documentation/203_xtend_expressions.html
+++ b/documentation/203_xtend_expressions.html
@@ -1272,6 +1272,24 @@
'''
</code></pre>
+<p>You can also use <code>IF...ELSE...ENDIF</code> or <code>IF...ELSEIF...ENDIF</code> expressions:</p>
+
+<pre><code class="language-xtend">def someHTML(Paragraph p) '''
+ <html>
+ <body>
+ «IF p.headLine != null»
+ <h1>«p.headline»</h1>
+ «ELSE»
+ <h1>«p.standartHeadline»</h1>
+ «ENDIF»
+ <p>
+ «p.text»
+ </p>
+ </body>
+ </html>
+'''
+</code></pre>
+
<h3 id="template-foreach">Loops in Templates</h3>
<p>Also a <code>FOR</code> expression is available:</p>
diff --git a/documentation/204_activeannotations.html b/documentation/204_activeannotations.html
index e676093..aef11e2 100644
--- a/documentation/204_activeannotations.html
+++ b/documentation/204_activeannotations.html
@@ -380,13 +380,13 @@
<pre><code><dependency>
<groupId>org.eclipse.xtend</groupId>
<artifactId>org.eclipse.xtend.core</artifactId>
- <version>2.14.0</version>
+ <version>2.15.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.xbase.testing</artifactId>
- <version>2.14.0</version>
+ <version>2.15.0</version>
<scope>test</scope>
</dependency>
</code></pre>
diff --git a/download.html b/download.html
index f93409d..7ed700e 100644
--- a/download.html
+++ b/download.html
@@ -166,7 +166,7 @@
<pre><code class="language-xml"><dependency>
<groupId>org.eclipse.xtend</groupId>
<artifactId>org.eclipse.xtend.lib</artifactId>
- <version>2.14.0</version>
+ <version>2.15.0</version>
</dependency>
</code></pre>
@@ -175,7 +175,7 @@
<pre><code class="language-xml"><plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
- <version>2.14.0</version>
+ <version>2.15.0</version>
<executions>
<execution>
<goals>
@@ -196,13 +196,13 @@
<p>Here is a minimal Gradle build script using Xtend:</p>
<pre><code class="language-groovy">plugins {
- id "org.xtext.xtend" version "1.0.21"
+ id "org.xtext.xtend" version "2.0.1"
}
repositories.jcenter()
dependencies {
- compile 'org.eclipse.xtend:org.eclipse.xtend.lib:2.14.0'
+ compile 'org.eclipse.xtend:org.eclipse.xtend.lib:2.15.0'
}
</code></pre>
diff --git a/feed.xml b/feed.xml
index 7aca068..758d773 100644
--- a/feed.xml
+++ b/feed.xml
@@ -6,8 +6,8 @@
</description>
<link>http://xtend-lang.org/xtend/</link>
<atom:link href="http://xtend-lang.org/xtend/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Tue, 28 Aug 2018 08:37:15 -0400</pubDate>
- <lastBuildDate>Tue, 28 Aug 2018 08:37:15 -0400</lastBuildDate>
+ <pubDate>Wed, 19 Sep 2018 15:39:29 -0400</pubDate>
+ <lastBuildDate>Wed, 19 Sep 2018 15:39:29 -0400</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>
diff --git a/images/releasenotes/2_15_junit_quickfix.png b/images/releasenotes/2_15_junit_quickfix.png
new file mode 100644
index 0000000..f6c39bc
--- /dev/null
+++ b/images/releasenotes/2_15_junit_quickfix.png
Binary files differ
diff --git a/images/releasenotes/2_15_xtext_core.png b/images/releasenotes/2_15_xtext_core.png
new file mode 100644
index 0000000..e4167fd
--- /dev/null
+++ b/images/releasenotes/2_15_xtext_core.png
Binary files differ
diff --git a/images/releasenotes/2_15_xtext_core_fast.png b/images/releasenotes/2_15_xtext_core_fast.png
new file mode 100644
index 0000000..3911a68
--- /dev/null
+++ b/images/releasenotes/2_15_xtext_core_fast.png
Binary files differ
diff --git a/js/lang-xtend.js b/js/lang-xtend.js
index c83e927..2dea51c 100644
--- a/js/lang-xtend.js
+++ b/js/lang-xtend.js
@@ -30,7 +30,7 @@
// A character literal has single quotes on either side
[PR['PR_STRING'], /^'(?:[^\r\n\\']|\\(?:'|[^\r\n']+))'/],
[PR['PR_LITERAL'], /^'[a-zA-Z_$][\w$]*(?!['$\w])/],
- [PR['PR_KEYWORD'], /^(?:this|it|null|abstract|annotation|boolean|case|catch|char|class|create|def|default|do|double|enum|else|extends|extension|final|finally|float|for|if|implements|import|int|interface|long|new|override|package|private|protected|return|short|static|super|switch|throw|throws|try|typeof|val|var|void|while|FOR|ENDFOR|IF|ENDIF|ELSEIF|BEFORE|AFTER|SEPARATOR)\b/],
+ [PR['PR_KEYWORD'], /^(?:this|it|null|abstract|annotation|boolean|case|catch|char|class|create|def|default|do|double|enum|else|extends|extension|final|finally|float|for|if|implements|import|int|interface|long|new|override|package|private|protected|return|short|static|super|switch|throw|throws|try|typeof|val|var|void|while|FOR|ENDFOR|IF|ENDIF|ELSEIF|ELSE|BEFORE|AFTER|SEPARATOR)\b/],
[PR['PR_LITERAL'], /^(?:true|false|null|this|it)\b/],
[PR['PR_LITERAL'], /^(?:(?:0(?:[0-7]+|X[0-9A-F]+))L?|(?:(?:0|[1-9][0-9]*)(?:(?:\.[0-9]+)?(?:E[+\-]?[0-9]+)?F?|L?))|\\.[0-9]+(?:E[+\-]?[0-9]+)?F?)/i],
// Treat upper camel case identifiers as types.