This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new aee3653 Automated site publishing by Jenkins build 1284
aee3653 is described below
commit aee36538beb959c909c3f517c54e72dd83c3afa9
Author: jenkins <[email protected]>
AuthorDate: Wed Jun 3 10:44:08 2020 +0000
Automated site publishing by Jenkins build 1284
---
content/download/nb120/index.html | 114 +++++++++++++++++++++++++++++++++++++-
content/sitemap.xml | 70 +++++++++++------------
2 files changed, 147 insertions(+), 37 deletions(-)
diff --git a/content/download/nb120/index.html
b/content/download/nb120/index.html
index 4ad82ba..a3f42d8 100644
--- a/content/download/nb120/index.html
+++ b/content/download/nb120/index.html
@@ -71,7 +71,11 @@
<div id="toc" class="toc">
<div id="toctitle"></div>
<ul class="sectlevel1">
-<li><a href="#_release_drivers">Release Drivers</a></li>
+<li><a href="#_release_drivers">Release Drivers</a>
+<ul class="sectlevel2">
+<li><a href="#_java">Java</a></li>
+</ul>
+</li>
</ul>
</div>
<div id="preamble">
@@ -86,7 +90,7 @@
<i class="fa icon-tip" title="Tip"></i>
</td>
<td class="content">
-The LTS release of the Apache NetBeans 12 cycle is Apache NetBeans 12.0, which
consolidates the feature releases 11.1, 11.2, and 11.3. Feature releases have
not been tested as heavily as the LTS release, which passes through the NetCAT
Community Acceptance process and is therefore the annual major release.
+The LTS release of the Apache NetBeans 12 cycle is Apache NetBeans 12.0, which
consolidates the feature releases 11.1, 11.2, and 11.3. Feature releases have
not been tested as heavily as the LTS release, which passes through the <a
href="https://cwiki.apache.org/confluence/display/NETBEANS/Results+from+Apache+NetBeans+IDE+12.0+Community+Acceptance+survey">NetCAT
Community Acceptance process</a> and is for these reasons the annual major
release.
</td>
</tr>
</table>
@@ -102,7 +106,113 @@ The LTS release of the Apache NetBeans 12 cycle is Apache
NetBeans 12.0, which c
<div class="sect1">
<h2 id="_release_drivers">Release Drivers</h2>
<div class="sectionbody">
+<div class="sect2">
+<h3 id="_java">Java</h3>
+<div class="paragraph">
+<p>The highlights of enhancements in the Java area are focused on support for
JDK 14.</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><a href="https://openjdk.java.net/jeps/359">JEP 359</a>: Records (Preview
Feature) — syntax coloring for the new "record" keyword;
Navigator shows equals, hashCode, toString, etc; and formatting support for
records.</p>
+</li>
+</ul>
+</div>
+<div class="openblock feature">
+<div class="content">
+<div class="imageblock left">
+<div class="content">
+<a class="image" href="record-keyword.png"><img src="record-keyword.png"
alt="record keyword"></a>
+</div>
+</div>
+</div>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><a href="https://openjdk.java.net/jeps/305">JEP 305</a>: Pattern Matching
for instanceof (Preview Feature)</p>
+</li>
+</ul>
+</div>
+<div class="openblock feature">
+<div class="content">
+<div class="imageblock left">
+<div class="content">
+<a class="image" href="ezgif.com-video-to-gif.gif"><img
src="ezgif.com-video-to-gif.gif" alt="ezgif.com video to gif"></a>
+</div>
+</div>
+</div>
+</div>
+<div class="admonitionblock tip">
+<table>
+<tr>
+<td class="icon">
+<i class="fa icon-tip" title="Tip"></i>
+</td>
+<td class="content">
+<a href="https://openjdk.java.net/jeps/12">JEP 12</a> provides for a preview
language or VM feature, which "is a new feature of the Java SE Platform that is
fully specified, fully implemented, and yet impermanent. It is available in a
JDK feature release to provoke developer feedback based on real world use; this
may lead to it becoming permanent in a future Java SE Platform".
+</td>
+</tr>
+</table>
+</div>
+<div class="paragraph">
+<p>Preview features can only be used if the Java compiler’s
<code>--enable-preview</code> flag is set, as shown below for Maven.</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="prettyprint highlight"><code class="language-xml"
data-lang="xml"><build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.0</version>
+ <configuration>
+ <compilerArgs>
+ <arg>--enable-preview</arg>
+ </compilerArgs>
+ </configuration>
+ </plugin>
+ </plugins>
+</build></code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>An example to add <code>--enable-preview</code> in Gradle:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="prettyprint highlight"><code class="language-groovy"
data-lang="groovy">tasks.withType(JavaCompile).each {
+ it.options.compilerArgs.add('--enable-preview')
+}
+run.jvmArgs(['--enable-preview'])</code></pre>
+</div>
+</div>
+<div class="admonitionblock tip">
+<table>
+<tr>
+<td class="icon">
+<i class="fa icon-tip" title="Tip"></i>
+</td>
+<td class="content">
+To use JDK 14 features, such as the new "record" keyword, in the Java Editor,
you’ll need to run Apache NetBeans 11.3 itself on JDK 14, so that Apache
NetBeans will use the Java compiler from JDK 14 for code recognition, syntax
coloring, etc. Also, make sure to uninstall nb-javac, if it is installed, and
not to install and use it, when prompted, so that the Java compiler from JDK 14
will be used, rather than nb-javac, which does not support JDK 14.
+</td>
+</tr>
+</table>
+</div>
+<div class="paragraph">
+<p>Other enhancements in the Java area.</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><a href="https://openjdk.java.net/jeps/330">JEP 330</a>: Launch Single-File
Source-Code Programs — single Java source files can be
created, outside of projects, in the Favorites window, and they can be run and
debugged, if NetBeans is running on JDK 11 or later.</p>
+</li>
+<li>
+<p><a href="https://openjdk.java.net/jeps/355">JEP 355</a>: Text Blocks
(Preview) — in addition to the Text Block features introduced
to the Java Editor in previous 11.x releases, a new Java editor hint has been
introduced in 11.3 for reverting from Text Block to String.</p>
+</li>
+</ul>
+</div>
+</div>
</div>
</div>
diff --git a/content/sitemap.xml b/content/sitemap.xml
index ab4a8bd..ac8b197 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -7882,6 +7882,11 @@
</url>
<url>
+ <loc>http://netbeans.apache.org/tutorials/nbm-povray-2.html</loc>
+ <lastmod>2020-06-03</lastmod>
+ </url>
+
+ <url>
<loc>http://netbeans.apache.org/tutorials/nbm-povray-3.html</loc>
<lastmod>2020-06-03</lastmod>
</url>
@@ -7917,6 +7922,11 @@
</url>
<url>
+
<loc>http://netbeans.apache.org/tutorials/nbm-projectextension.html</loc>
+ <lastmod>2020-06-03</lastmod>
+ </url>
+
+ <url>
<loc>http://netbeans.apache.org/tutorials/nbm-projectsamples.html</loc>
<lastmod>2020-06-03</lastmod>
</url>
@@ -8057,6 +8067,11 @@
</url>
<url>
+ <loc>http://netbeans.apache.org/tutorials/nbm-visual_library.html</loc>
+ <lastmod>2020-06-03</lastmod>
+ </url>
+
+ <url>
<loc>http://netbeans.apache.org/tutorials/nbm-visual_library2.html</loc>
<lastmod>2020-06-03</lastmod>
</url>
@@ -8092,6 +8107,11 @@
</url>
<url>
+ <loc>http://netbeans.apache.org/tutorials/nbm-wizard_ru.html</loc>
+ <lastmod>2020-06-03</lastmod>
+ </url>
+
+ <url>
<loc>http://netbeans.apache.org/tutorials/nbm-wizard_zh_CN.html</loc>
<lastmod>2020-06-03</lastmod>
</url>
@@ -14697,6 +14717,11 @@
</url>
<url>
+ <loc>http://netbeans.apache.org/tutorials/nbm-code-template.html</loc>
+ <lastmod>2020-06-03</lastmod>
+ </url>
+
+ <url>
<loc>http://netbeans.apache.org/tutorials/nbm-copyfqn.html</loc>
<lastmod>2020-06-03</lastmod>
</url>
@@ -14727,6 +14752,11 @@
</url>
<url>
+ <loc>http://netbeans.apache.org/tutorials/nbm-crud_zh_CN.html</loc>
+ <lastmod>2020-06-03</lastmod>
+ </url>
+
+ <url>
<loc>http://netbeans.apache.org/tutorials/nbm-dukescript.html</loc>
<lastmod>2020-06-03</lastmod>
</url>
@@ -14957,6 +14987,11 @@
</url>
<url>
+
<loc>http://netbeans.apache.org/tutorials/nbm-maven-quickstart.html</loc>
+ <lastmod>2020-06-03</lastmod>
+ </url>
+
+ <url>
<loc>http://netbeans.apache.org/tutorials/nbm-maven-quickstart_ja.html</loc>
<lastmod>2020-06-03</lastmod>
</url>
@@ -15081,39 +15116,4 @@
<lastmod>2020-06-03</lastmod>
</url>
- <url>
- <loc>http://netbeans.apache.org/tutorials/nbm-povray-2.html</loc>
- <lastmod>2020-06-03</lastmod>
- </url>
-
- <url>
-
<loc>http://netbeans.apache.org/tutorials/nbm-projectextension.html</loc>
- <lastmod>2020-06-03</lastmod>
- </url>
-
- <url>
- <loc>http://netbeans.apache.org/tutorials/nbm-visual_library.html</loc>
- <lastmod>2020-06-03</lastmod>
- </url>
-
- <url>
- <loc>http://netbeans.apache.org/tutorials/nbm-wizard_ru.html</loc>
- <lastmod>2020-06-03</lastmod>
- </url>
-
- <url>
- <loc>http://netbeans.apache.org/tutorials/nbm-code-template.html</loc>
- <lastmod>2020-06-03</lastmod>
- </url>
-
- <url>
- <loc>http://netbeans.apache.org/tutorials/nbm-crud_zh_CN.html</loc>
- <lastmod>2020-06-03</lastmod>
- </url>
-
- <url>
-
<loc>http://netbeans.apache.org/tutorials/nbm-maven-quickstart.html</loc>
- <lastmod>2020-06-03</lastmod>
- </url>
-
</urlset>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists