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

jlahoda pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-netbeans-jackpot30.git


The following commit(s) were added to refs/heads/master by this push:
     new 1213569  Upgrading to JDK 11 and Apache NetBeans 10
1213569 is described below

commit 1213569162c5717a19605e77460676e4282c0770
Author: Jan Lahoda <jlah...@netbeans.org>
AuthorDate: Fri Jan 11 22:43:21 2019 +0100

    Upgrading to JDK 11 and Apache NetBeans 10
---
 .travis.yml       | 10 +++++-----
 cmdline/README.md |  8 ++++----
 cmdline/build.xml |  8 ++++----
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 48e04b6..3160af1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,13 +16,13 @@
 # under the License.
 language: java
 jdk:
-  - openjdk10
+  - openjdk11
 before_script:
-  - wget 
'http://www.apache.org/dyn/closer.lua?action=download&filename=incubator/netbeans/incubating-netbeans-java/incubating-9.0/incubating-netbeans-java-9.0-bin.zip'
 -O /tmp/incubating-netbeans-java-9.0-bin.zip
-  - (cd $HOME; unzip /tmp/incubating-netbeans-java-9.0-bin.zip)
+  - wget 
'http://www.apache.org/dyn/closer.lua?action=download&filename=incubator/netbeans/incubating-netbeans/incubating-10.0/incubating-netbeans-10.0-bin.zip'
 -O /tmp/incubating-netbeans-10.0-bin.zip
+  - (cd $HOME; unzip /tmp/incubating-netbeans-10.0-bin.zip)
   - unset _JAVA_OPTIONS
 script:
-  - export JDK10=$JAVA_HOME
+  - export JDK11=$JAVA_HOME
   - jdk_switcher use oraclejdk8
   - (cd cmdline; ant -Dnbplatform.default.harness.dir=$HOME/netbeans/harness 
rat)
-  - (cd cmdline; ant -Dnbplatform.default.harness.dir=$HOME/netbeans/harness 
-DNETBEANS_PLATFORM=$HOME/netbeans -DJDK10=$JDK10 build-and-test)
+  - (cd cmdline; ant -Dnbplatform.default.harness.dir=$HOME/netbeans/harness 
-DNETBEANS_PLATFORM=$HOME/netbeans -DJDK11=$JDK11 build-and-test)
diff --git a/cmdline/README.md b/cmdline/README.md
index d73ccd9..e9f4463 100644
--- a/cmdline/README.md
+++ b/cmdline/README.md
@@ -27,21 +27,21 @@ This tool allows to run NetBeans Java code checker without 
the NetBeans IDE. Thi
 
 #### To Build
 
-* NetBeans 9.0
-* JDK 8 and JDK 10
+* NetBeans 10.0
+* JDK 8 and JDK 11
 * bash
 * ant 1.9.9 or above
 
 #### To Run
 
-* JDK 10
+* JDK 11
 
 ### Building
 
 Build using:
 
 ```
-$ ant -DNETBEANS_PLATFORM=<path-to-NetBeans-9.0> -DJDK10=<path-to-JDK-10> 
build-and-test
+$ ant -DNETBEANS_PLATFORM=<path-to-NetBeans-10.0> -DJDK11=<path-to-JDK-11> 
build-and-test
 ```
 
 The built product is in tool/build/jackpot.
diff --git a/cmdline/build.xml b/cmdline/build.xml
index ec36182..a22e2a8 100644
--- a/cmdline/build.xml
+++ b/cmdline/build.xml
@@ -51,7 +51,7 @@
             <property name="nbplatform.default.harness.dir" 
value="${NETBEANS_PLATFORM}/harness" />
             <property name="nbplatform.default.netbeans.dest.dir" 
value="${NETBEANS_PLATFORM}" />
             <property name="test.run.args" 
value="--add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED" />
-            <property name="test.nbjdk.home" value="${JDK10}" />
+            <property name="test.nbjdk.home" value="${JDK11}" />
             <property name="jackpot.root" location="${jackpot.root}" />
             <target name="clean" />
             <target name="build" />
@@ -62,13 +62,13 @@
             <property name="nbplatform.default.netbeans.dest.dir" 
value="${NETBEANS_PLATFORM}" />
             <property name="continue.after.failing.tests" value="false" />
             <property name="test.run.args" 
value="--add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED" />
-            <property name="test.nbjdk.home" value="${JDK10}" />
+            <property name="test.nbjdk.home" value="${JDK11}" />
             <property name="jackpot.root" location="${jackpot.root}" />
         </ant>
         <property environment="env"/>
         <exec executable="build/test/scripted/run" dir="tool" 
failonerror="true">
-            <env key="JAVA_HOME" path="${JDK10}" />
-            <env key="PATH" path="${JDK10}/bin:${env.PATH}" />
+            <env key="JAVA_HOME" path="${JDK11}" />
+            <env key="PATH" path="${JDK11}/bin:${env.PATH}" />
         </exec>
     </target>
 


---------------------------------------------------------------------
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