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/netbeans-jackpot30.git
The following commit(s) were added to refs/heads/master by this push:
new 84e56a6 Preparing release 12.0 of the Standalone Java Hints.
84e56a6 is described below
commit 84e56a62e68c2390a9b5a9b2a1db8ba8c5384cfe
Author: Jan Lahoda <[email protected]>
AuthorDate: Sun Jun 21 20:36:34 2020 +0200
Preparing release 12.0 of the Standalone Java Hints.
---
cmdline/README.md | 4 ++--
cmdline/build.xml | 2 +-
cmdline/maven/pom.xml | 2 +-
.../java/org/netbeans/modules/jackpot30/maven/RunJackpot30Test.java | 2 +-
cmdline/tool/scripts/pom.xml | 2 +-
.../src/org/netbeans/modules/jackpot30/cmdline/ProcessorImplTest.java | 4 ++--
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/cmdline/README.md b/cmdline/README.md
index 9aa932e..146db79 100644
--- a/cmdline/README.md
+++ b/cmdline/README.md
@@ -27,7 +27,7 @@ This tool allows to run NetBeans Java code checker without
the NetBeans IDE. Thi
#### To Build
-* Apache NetBeans 11.1
+* Apache NetBeans 12.0
* JDK 8 and JDK 11
* bash
* Apache ant 1.9.9 or above
@@ -42,7 +42,7 @@ This tool allows to run NetBeans Java code checker without
the NetBeans IDE. Thi
Build using:
```
-$ ant -DNETBEANS_PLATFORM=<path-to-NetBeans-11.1> -DJDK11=<path-to-JDK-11>
build-and-test
+$ ant -DNETBEANS_PLATFORM=<path-to-NetBeans-12.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 fd80860..6358c97 100644
--- a/cmdline/build.xml
+++ b/cmdline/build.xml
@@ -52,7 +52,7 @@
</target>
<target name="build-and-test">
- <property name="version" value="11.1" />
+ <property name="version" value="12.0" />
<condition property="jackpot.root" value="${basedir}"
else="${basedir}/..">
<available file="${basedir}/LICENSE" />
</condition>
diff --git a/cmdline/maven/pom.xml b/cmdline/maven/pom.xml
index aa9182b..d1c58eb 100644
--- a/cmdline/maven/pom.xml
+++ b/cmdline/maven/pom.xml
@@ -21,7 +21,7 @@
<groupId>org.apache.netbeans.modules.jackpot30</groupId>
<artifactId>jackpot30-maven-plugin</artifactId>
- <version>11.1</version>
+ <version>12.0</version>
<packaging>maven-plugin</packaging>
<name>Jackpot 3.0 Command Line Tool Maven Bridge</name>
diff --git
a/cmdline/maven/src/test/java/org/netbeans/modules/jackpot30/maven/RunJackpot30Test.java
b/cmdline/maven/src/test/java/org/netbeans/modules/jackpot30/maven/RunJackpot30Test.java
index 3808034..cb46dce 100644
---
a/cmdline/maven/src/test/java/org/netbeans/modules/jackpot30/maven/RunJackpot30Test.java
+++
b/cmdline/maven/src/test/java/org/netbeans/modules/jackpot30/maven/RunJackpot30Test.java
@@ -67,7 +67,7 @@ public class RunJackpot30Test extends TestCase {
Process p = Runtime.getRuntime().exec(new String[] {
maven,
- "-Djackpot.plugin.version=11.1",
+ "-Djackpot.plugin.version=12.0",
"-q",
"jackpot30:analyze"
}, null, testDir);
diff --git a/cmdline/tool/scripts/pom.xml b/cmdline/tool/scripts/pom.xml
index d4d329b..2fea196 100644
--- a/cmdline/tool/scripts/pom.xml
+++ b/cmdline/tool/scripts/pom.xml
@@ -21,7 +21,7 @@
<groupId>org.apache.netbeans.modules.jackpot30</groupId>
<artifactId>jackpot30-maven-plugin</artifactId>
- <version>11.1</version>
+ <version>12.0</version>
<packaging>maven-plugin</packaging>
<name>Jackpot 3.0 Command Line Tool</name>
diff --git
a/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/ProcessorImplTest.java
b/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/ProcessorImplTest.java
index 88c68fd..8f16ba4 100644
---
a/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/ProcessorImplTest.java
+++
b/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/ProcessorImplTest.java
@@ -123,7 +123,7 @@ public class ProcessorImplTest extends NbTestCase {
" public int size() { return 0; }\n" +
"}\n",
"src/META-INF/upgrade/test.hint",
- "$coll.size() == 0 :: $coll test.Test;;\n",
+ "$coll.size() == 0 :: $coll instanceof test.Test;;\n",
null,
"-source",
"7",
@@ -151,7 +151,7 @@ public class ProcessorImplTest extends NbTestCase {
" public int size() { return 0; }\n" +
"}\n",
"src/META-INF/upgrade/test.hint",
- "$coll.size() == 0 :: $coll test.Test;;\n",
+ "$coll.size() == 0 :: $coll instanceof test.Test;;\n",
null,
"-source",
"7",
---------------------------------------------------------------------
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