This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch multisite-test
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/multisite-test by this push:
     new 509a16a  Adding the "feature" component, to add images and features to 
the release page. (#6)
509a16a is described below

commit 509a16a0c25b20fb7895c79f5ea5151956412d33
Author: Antonio Vieiro <vie...@users.noreply.github.com>
AuthorDate: Sat Feb 24 11:37:11 2018 +0100

    Adding the "feature" component, to add images and features to the release 
page. (#6)
    
    - Features can be easily added in asciidoc documents, with floating images 
(and links to enlarged versions).
    - Example page for some of the NetBeans 9.0 features.
---
 .../src/content/download/index.asciidoc            |   5 +-
 .../src/content/download/nb90/index.asciidoc       | 137 +++++++++++++++++++++
 .../content/download/{ => nb90}/nb90-beta.asciidoc |   6 +-
 .../src/content/download/nb90/nb90-javashell.png   | Bin 0 -> 77386 bytes
 .../download/nb90/nb90-module-info-completion.png  | Bin 0 -> 153488 bytes
 .../src/content/download/nb90/nb90-module-info.png | Bin 0 -> 42458 bytes
 .../download/nb90/nb90-new-multi-module.png        | Bin 0 -> 82100 bytes
 .../src/content/download/nb90/nb90-shell-agent.png | Bin 0 -> 47555 bytes
 .../src/content/download/nb90/nb90-shell-save.png  | Bin 0 -> 85728 bytes
 .../src/content/scss/components/_features.scss     |  68 ++++++++++
 netbeans.apache.org/src/content/scss/netbeans.scss |   1 +
 .../src/content/templates/footer.gsp               |   3 +
 netbeans.apache.org/src/content/templates/news.gsp |   2 +-
 .../src/content/templates/slider.gsp               |  20 ++-
 14 files changed, 231 insertions(+), 11 deletions(-)

diff --git a/netbeans.apache.org/src/content/download/index.asciidoc 
b/netbeans.apache.org/src/content/download/index.asciidoc
index 66618fc..f0aba0f 100644
--- a/netbeans.apache.org/src/content/download/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/index.asciidoc
@@ -35,7 +35,10 @@ for important requirements for download pages for Apache 
projects.
 [[releases]]
 == Releases
 
-- link:nb90-beta.html[Apache NetBeans 9.0 Beta], released on the 22nd of 
February, 2018.
+=== Apache NetBeans 9.0
+
+- link:nb90/[Apache NetBeans 9.0 Features]
+- link:nb90/nb90-beta.html[Apache NetBeans 9.0 Beta], released on the 22nd of 
February, 2018.
 
 [[latest]]
 == Latest Builds
diff --git a/netbeans.apache.org/src/content/download/nb90/index.asciidoc 
b/netbeans.apache.org/src/content/download/nb90/index.asciidoc
new file mode 100644
index 0000000..3130b69
--- /dev/null
+++ b/netbeans.apache.org/src/content/download/nb90/index.asciidoc
@@ -0,0 +1,137 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
+= Apache NetBeans IDE 9.0 features
+:jbake-type: page
+:jbake-tags: 9.0 features
+:jbake-status: published
+:keywords: Apache NetBeans 9.0 IDE features
+:icons: font
+:description: Apache NetBeans 9.0 (incubating) features
+:toc: left
+:toc-title: 
+:toclevels: 4
+
+== Apache NetBeans IDE (incubating) 9.0 
+
+Apache NetBeans 9.0 is the first release of the Apache NetBeans IDE.
+
+The main goals for this release are
+
+- IP clearance of the Oracle code donation.
+- Java 9 Support.
+
+=== Downloads
+
+- See link:/download/nb90/nb90-beta.html[Apache NetBeans 9.0 Beta], released 
on february, 2018.
+
+=== Features
+
+NOTE: This is a list of the *proposed* features of Apache NetBeans 9.0. The 
beta release may provide a *subset* of these.
+
+////
+To display a feature do as follows:
+
+Add a header title, and an anonymous asciidoc block (--) with the ".feature" 
metadata, and write text inside the block:
+
+== A title here
+[.feature]
+--
+This is a feature
+--
+
+You can add images to the feature by adding a png file along with the 
document, and adding a image: construct to the text.
+
+Use role="left" for left alignment or role="right" for right alignment.
+
+Examples:
+
+== An amazing feature
+[.feature]
+--
+Here goes some text
+
+image:nb90-module-info.png[Adding module-info.java, title="Adding 
module-info.java, click to enlarge", role="left", link="nb90-module-info.png"]
+
+And some more text
+
+image:nb90-module-info-completion.png[Autocompletion in module-info.java, 
title="Autocompletion in module-info.java, click to enlarge", role="right", 
link="nb90-module-info-completion.png"]
+
+And even some more
+--
+
+////
+==== Supporting JPMS (Jigsaw) to full extent
+[.feature]
+--
+image:nb90-module-info.png[Adding module-info.java, title="Adding 
module-info.java, click to enlarge", role="left", link="nb90-module-info.png"]
+
+NetBeans 9 supports link:http://openjdk.java.net/projects/jigsaw/spec/[JPMS 
(Jigsaw)] to full extent. 
+
+Modulepath was added as a crucial paradigm to NetBeans in addition to 
Classpath.
+
+The standard NetBeans Java SE Project Type (Ant based) can be a single JDK9 
module simply by adding a `module-info.java` file into the default package.
+
+image:nb90-module-info-completion.png[Autocompletion in module-info.java, 
title="Autocompletion in module-info.java, click to enlarge", role="right", 
link="nb90-module-info-completion.png"]
+
+Of course, we provide full autocompletion for `module-info.java`
+--
+
+==== A brand new Java Modular Application project type
+[.feature]
+--
+image:nb90-new-multi-module.png[Java Modular Application, title="New Java 
Modular Application Project Type, click to enlarge", role="left", 
link="nb90-new-multi-module.png"]
+
+We have added a new *Java Modular project* type. This allows to develop
+several JDK9 modules in one NetBeans project (Ant based). 
+
+The advantage of this project type over several Java SE projects (each
+containing one module) is that dependencies are simply managed by declaring
+appropriate `exports` and `requires` in `module-info.java`, and all modules
+in the project will be compiled at once.
+--
+
+==== Java Shell support
+[.feature]
+--
+Java Shell is a new tool included in JDK9 defined in 
link:http://openjdk.java.net/jeps/222[JEP 222] to introduce REPL
+(read-eval-print-loop) capabilities to Java. 
+
+image:nb90-javashell.png[Java Shell Support, title="Java Shell Support, click 
to enlarge", role="left", link="nb90-javashell.png"]
+
+NetBeans provides integrated console-like UI for the Java Shell, leveraing 
NetBeans editor capabilites.
+
+NetBeans can support the tool with the user project configuration, so the Java
+Shell is set up to work with project classes and libraries, providing 
autocompletion out of the box in
+the editor.
+
+image:nb90-shell-agent.png[Shell Agent Configuration, title="JShell acess 
configuration, click to enlarge", role="right", link="nb90-shell-agent.png"]
+
+Also NetBeans greatly extends the capabilities of the commandline tool.
+NetBeans can execute the shell *as an agent*, similar to a debugging agent, on 
the
+debugged or run application (currently only J2SE applications are supported,
+both Ant and Maven-based).
+
+image:nb90-shell-save.png[Saving JShell snippets, title="Saving JShell 
snippets, click to enlarge", role="left", link="nb90-shell-save.png"]
+
+Snippets written in JShell can be redefined and tested, even against a running
+code. When the prototype is ready, it can be saved to a regular java source 
file
+and integrated with the project.
+
+--
+
diff --git a/netbeans.apache.org/src/content/download/nb90-beta.asciidoc 
b/netbeans.apache.org/src/content/download/nb90/nb90-beta.asciidoc
similarity index 84%
rename from netbeans.apache.org/src/content/download/nb90-beta.asciidoc
rename to netbeans.apache.org/src/content/download/nb90/nb90-beta.asciidoc
index a6656ba..9f1a027 100644
--- a/netbeans.apache.org/src/content/download/nb90-beta.asciidoc
+++ b/netbeans.apache.org/src/content/download/nb90/nb90-beta.asciidoc
@@ -38,11 +38,7 @@ Apache NetBeans (incubating) 9.0 Beta was announced on the 
22nd of february, 201
 
 === Main features
 
-This release is *primarily focused on IP clearance*. Its functionality has not 
been tested — the link:/participate/netcat.html[NetCAT (NetBeans Community 
Acceptance Testing)] process will begin during the coming months. Watch 
link:/participate/netcat.html[the NetCAT page] for upcoming announcements about 
NetCAT. When NetCAT completes, we will vote on the final release of Apache 
NetBeans (incubating) 9.0.
-
-This release constitutes all the modules in the 
link:https://github.com/apache/incubator-netbeans[Apache NetBeans Git] repo, 
which together provide the NetBeans Platform (i.e., the underlying application 
framework), which was released as Apache NetBeans (incubating) 9.0 Alpha, as 
well as all the modules that provide the Java SE-related features of Apache 
NetBeans, with special support for Java 9 features such as *JShell*, *JLink*, 
*Jigsaw* and more.
-
-In short, Apache NetBeans (incubating) 9.0 Beta is a *full IDE for Java SE 9* 
development.
+See link:/download/nb90/index.html[Apache NetBeans 9.0 Features] for a full 
list of features.
 
 === Downloading
 
diff --git a/netbeans.apache.org/src/content/download/nb90/nb90-javashell.png 
b/netbeans.apache.org/src/content/download/nb90/nb90-javashell.png
new file mode 100644
index 0000000..dbee11b
Binary files /dev/null and 
b/netbeans.apache.org/src/content/download/nb90/nb90-javashell.png differ
diff --git 
a/netbeans.apache.org/src/content/download/nb90/nb90-module-info-completion.png 
b/netbeans.apache.org/src/content/download/nb90/nb90-module-info-completion.png
new file mode 100644
index 0000000..37d4975
Binary files /dev/null and 
b/netbeans.apache.org/src/content/download/nb90/nb90-module-info-completion.png 
differ
diff --git a/netbeans.apache.org/src/content/download/nb90/nb90-module-info.png 
b/netbeans.apache.org/src/content/download/nb90/nb90-module-info.png
new file mode 100644
index 0000000..2af6e28
Binary files /dev/null and 
b/netbeans.apache.org/src/content/download/nb90/nb90-module-info.png differ
diff --git 
a/netbeans.apache.org/src/content/download/nb90/nb90-new-multi-module.png 
b/netbeans.apache.org/src/content/download/nb90/nb90-new-multi-module.png
new file mode 100644
index 0000000..16e239b
Binary files /dev/null and 
b/netbeans.apache.org/src/content/download/nb90/nb90-new-multi-module.png differ
diff --git a/netbeans.apache.org/src/content/download/nb90/nb90-shell-agent.png 
b/netbeans.apache.org/src/content/download/nb90/nb90-shell-agent.png
new file mode 100644
index 0000000..732e0a7
Binary files /dev/null and 
b/netbeans.apache.org/src/content/download/nb90/nb90-shell-agent.png differ
diff --git a/netbeans.apache.org/src/content/download/nb90/nb90-shell-save.png 
b/netbeans.apache.org/src/content/download/nb90/nb90-shell-save.png
new file mode 100644
index 0000000..4a86288
Binary files /dev/null and 
b/netbeans.apache.org/src/content/download/nb90/nb90-shell-save.png differ
diff --git a/netbeans.apache.org/src/content/scss/components/_features.scss 
b/netbeans.apache.org/src/content/scss/components/_features.scss
new file mode 100644
index 0000000..5f129e4
--- /dev/null
+++ b/netbeans.apache.org/src/content/scss/components/_features.scss
@@ -0,0 +1,68 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+.openblock.feature {
+    padding: 1em;
+    margin: 0.5em;
+    overflow: auto;
+    padding: 1em 0 0.5em 0;
+
+    .title {
+        font-weight: bold;
+        font-size: 140%;
+    }
+
+    .content {
+        .paragraph {
+            p {
+                span.image {
+                    max-width: 100%;
+                    padding: 4px;
+                }
+            }
+        }
+    }
+
+    @include breakpoint(medium) {
+        .content {
+            .paragraph {
+                p {
+                    span.image, span.image.left {
+                        float: left;
+                        margin: 0 1em 0 0;
+                        max-width: 33%;
+                        border: 1px solid $nb-link-color;
+                    }
+                    span.image.right {
+                        float: right;
+                        margin: 0 0 0 1em;
+                        max-width: 33%;
+                        border: 1px solid $nb-link-color;
+                    }
+                }
+            }
+        }
+        &:after {
+            clear: both;
+        }
+    }
+
+    
+}
+
diff --git a/netbeans.apache.org/src/content/scss/netbeans.scss 
b/netbeans.apache.org/src/content/scss/netbeans.scss
index de32252..9c7786c 100644
--- a/netbeans.apache.org/src/content/scss/netbeans.scss
+++ b/netbeans.apache.org/src/content/scss/netbeans.scss
@@ -35,3 +35,4 @@
 
 @import "components/footer";
 @import "components/card";
+@import "components/features";
diff --git a/netbeans.apache.org/src/content/templates/footer.gsp 
b/netbeans.apache.org/src/content/templates/footer.gsp
index af91d32..a95b232 100644
--- a/netbeans.apache.org/src/content/templates/footer.gsp
+++ b/netbeans.apache.org/src/content/templates/footer.gsp
@@ -81,6 +81,9 @@
                 <h1><a href="/download/index.html">Download</a></h1>
                 <ul>
                     <li><a 
href="/download/index.html#releases">Releases</a></li>
+                    <ul>
+                        <li><a href="/download/nb90/index.html">Apache 
NetBeans 9.0 (beta)</a></li>
+                    </ul>
                     <li><a href="/plugins/index.html">Plugins</a></li>
                     <li><a href="/download/index.html#source">Building from 
source</a></li>
                     <li><a href="/download/index.html#previous">Previous 
releases</a></li>
diff --git a/netbeans.apache.org/src/content/templates/news.gsp 
b/netbeans.apache.org/src/content/templates/news.gsp
index 21daec8..5389aec 100644
--- a/netbeans.apache.org/src/content/templates/news.gsp
+++ b/netbeans.apache.org/src/content/templates/news.gsp
@@ -24,7 +24,7 @@
         <div class='cell'>
             <div class="annotation">Just released!</div>
             <h1>Apache NetBeans 9.0 Beta</h1>
-            <p><a class="button success" href="/download/nb90-beta.html">Read 
more</a></p>
+            <p><a class="button success" 
href="/download/nb90/nb90-beta.html">Read more</a></p>
         </div>
     </div>
 </section>
diff --git a/netbeans.apache.org/src/content/templates/slider.gsp 
b/netbeans.apache.org/src/content/templates/slider.gsp
index 55cb722..75dd26b 100644
--- a/netbeans.apache.org/src/content/templates/slider.gsp
+++ b/netbeans.apache.org/src/content/templates/slider.gsp
@@ -31,13 +31,25 @@
               <div class='grid-container'>
                   <div class='cell'>
                       <div class='annotation'>Apache Transition News</div>
+                      <h1>Apache NetBeans 9.0 Features</h1>
+                      <p>
+                        Full Java 9 Support, including <b>Jigsaw</b>, 
<b>JShell</b>, <b>JLink</b> and more.
+                      </p>
+                      <p><a class='button success' 
href="/download/nb90/index.html">Features</a></p>
+                  </div>
+              </div>
+          </section>
+      </li>
+      <li class="orbit-slide">
+          <section class='hero alternate'>
+              <div class='grid-container'>
+                  <div class='cell'>
+                      <div class='annotation'>Apache Transition News</div>
                       <h1>Apache NetBeans 9.0 Beta released!</h1>
                       <p>
-                        Apache NetBeans (incubating) 9.0 Beta is the Apache 
NetBeans incubator release
-                        of the NetBeans Java SE IDE.<br>With support for 
<b>Java 9</b>, <b>JShell</b>, <b>JLink</b>,
-                        <b>Jigsaw</b> and more!
+                        Download the 9.0 beta from an Apache mirror near you.
                       </p>
-                      <p><a class='button success' 
href="/download/nb90-beta.html">Read more</a></p>
+                      <p><a class='button success' 
href="/download/nb90/nb90-beta.html">Download</a></p>
                   </div>
               </div>
           </section>

-- 
To stop receiving notification emails like this one, please contact
vie...@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to