Skip to content

Commit 74e82fb

Browse files
authored
Merge pull request #169 from Achal1607/integrate-nb-22
Initial sketch of integrating NB 22
2 parents 2e4a84d + 9b9830c commit 74e82fb

File tree

14 files changed

+918
-3326
lines changed

14 files changed

+918
-3326
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
with:
6363
repository: apache/netbeans
6464
path: netbeans
65-
ref: 21
65+
ref: 22
6666

6767
- name: Apply NetBeans patches
6868
run: ant apply-patches

BUILD.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
## Prerequisities
2929

30-
- JDK, version 11 or later upto JDK 20
30+
- JDK, version 11 or later upto JDK 22
3131
- Ant, latest version
3232
- Maven, latest version
3333
- node.js, latest LTS (to build VSIX)
@@ -38,7 +38,7 @@
3838
```bash
3939
$ git clone https://github.com/apache/netbeans.git
4040
$ cd netbeans/
41-
$ git checkout 21
41+
$ git checkout 22
4242
$ cd ..
4343
# the following target requires git executable to be on PATH:
4444
$ ant apply-patches

THIRD_PARTY_LICENSES.txt

Lines changed: 324 additions & 965 deletions
Large diffs are not rendered by default.

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<property name="nbplatform.default.harness.dir" location="${nbplatform.default.netbeans.dest.dir}/harness" />
3232
<property name="nbantext.jar" location="netbeans/nbbuild/build/nbantext.jar" />
3333
<property name="nb_all" location="netbeans" />
34-
<property name="patches" value="patches/6330.diff patches/6760.diff patches/6834.diff patches/7001.diff patches/6968.diff patches/7104.diff patches/7158.diff patches/7353.diff patches/7370.diff patches/mvn-sh.diff patches/rename-debugger.diff patches/generate-dependencies.diff patches/remove-db.diff" />
34+
<property name="patches" value="patches/6330.diff patches/7001.diff patches/7271.diff patches/7353.diff patches/7368.diff patches/7370.diff patches/mvn-sh.diff patches/generate-dependencies.diff patches/rename-debugger.diff patches/remove-db.diff" />
3535
<condition property="cmd.suffix" value=".cmd" else="">
3636
<os family="windows"/>
3737
</condition>

patches/6760.diff

Lines changed: 0 additions & 333 deletions
This file was deleted.

patches/6834.diff

Lines changed: 0 additions & 972 deletions
This file was deleted.

patches/6968.diff

Lines changed: 0 additions & 737 deletions
This file was deleted.

patches/7001.diff

Lines changed: 4 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,3 @@
1-
diff --git a/ide/c.google.guava.failureaccess/external/binaries-list b/ide/c.google.guava.failureaccess/external/binaries-list
2-
index c71c3937fb60..f4ff27670bf5 100644
3-
--- a/ide/c.google.guava.failureaccess/external/binaries-list
4-
+++ b/ide/c.google.guava.failureaccess/external/binaries-list
5-
@@ -14,4 +14,4 @@
6-
# KIND, either express or implied. See the License for the
7-
# specific language governing permissions and limitations
8-
# under the License.
9-
-1DCF1DE382A0BF95A3D8B0849546C88BAC1292C9 com.google.guava:failureaccess:1.0.1
10-
+C4A06A64E650562F30B7BF9AAEC1BFED43ACA12B com.google.guava:failureaccess:1.0.2
11-
diff --git a/ide/c.google.guava.failureaccess/external/failureaccess-1.0.1-license.txt b/ide/c.google.guava.failureaccess/external/failureaccess-1.0.2-license.txt
12-
similarity index 99%
13-
rename from ide/c.google.guava.failureaccess/external/failureaccess-1.0.1-license.txt
14-
rename to ide/c.google.guava.failureaccess/external/failureaccess-1.0.2-license.txt
15-
index 8db246aa2be6..0c948ba081a4 100644
16-
--- a/ide/c.google.guava.failureaccess/external/failureaccess-1.0.1-license.txt
17-
+++ b/ide/c.google.guava.failureaccess/external/failureaccess-1.0.2-license.txt
18-
@@ -1,5 +1,5 @@
19-
Name: Guava - Failure Access Library
20-
-Version: 1.0.1
21-
+Version: 1.0.2
22-
License: Apache-2.0
23-
Origin: https://github.com/google/guava
24-
Description: A Guava subproject
25-
diff --git a/ide/c.google.guava.failureaccess/nbproject/project.properties b/ide/c.google.guava.failureaccess/nbproject/project.properties
26-
index 1fcc19e43c10..68cfb5ce8306 100644
27-
--- a/ide/c.google.guava.failureaccess/nbproject/project.properties
28-
+++ b/ide/c.google.guava.failureaccess/nbproject/project.properties
29-
@@ -16,7 +16,7 @@
30-
# under the License.
31-
javac.compilerargs=-Xlint -Xlint:-serial
32-
javac.source=1.8
33-
-spec.version.base=1.1.0
34-
-release.external/failureaccess-1.0.1.jar=modules/com-google-guava-failureaccess.jar
35-
+spec.version.base=1.3.0
36-
+release.external/failureaccess-1.0.2.jar=modules/com-google-guava-failureaccess.jar
37-
is.autoload=true
38-
nbm.module.author=Tomas Stupka
39-
diff --git a/ide/c.google.guava.failureaccess/nbproject/project.xml b/ide/c.google.guava.failureaccess/nbproject/project.xml
40-
index 358696d3e293..9284279c26eb 100644
41-
--- a/ide/c.google.guava.failureaccess/nbproject/project.xml
42-
+++ b/ide/c.google.guava.failureaccess/nbproject/project.xml
43-
@@ -28,7 +28,7 @@
44-
<public-packages/>
45-
<class-path-extension>
46-
<runtime-relative-path>com-google-guava-failureaccess.jar</runtime-relative-path>
47-
- <binary-origin>external/failureaccess-1.0.1.jar</binary-origin>
48-
+ <binary-origin>external/failureaccess-1.0.2.jar</binary-origin>
49-
</class-path-extension>
50-
</data>
51-
</configuration>
521
diff --git a/java/maven.embedder/build.xml b/java/maven.embedder/build.xml
532
index 1cf553760703..9dd89c01e769 100644
543
--- a/java/maven.embedder/build.xml
@@ -301,15 +250,15 @@ index 8271d91403a2..69494e4f2e05 100644
301250
<class-path-extension>
302251
<runtime-relative-path>../maven/lib/guava-32.0.1-jre.jar</runtime-relative-path>
303252
diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps
304-
index ec9973e06191..3082c90a21cc 100644
253+
index ec07902509..dd52e08038 100644
305254
--- a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps
306255
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps
307256
@@ -26,7 +26,7 @@ ide/db.sql.visualeditor/external/javacc-7.0.10.jar java/performance/external/jav
308257
java/maven.embedder/external/apache-maven-3.9.6-bin.zip ide/slf4j.api/external/slf4j-api-1.7.36.jar
309258
java/maven.embedder/external/apache-maven-3.9.6-bin.zip platform/o.apache.commons.lang3/external/commons-lang3-3.12.0.jar
310-
java/maven.embedder/external/apache-maven-3.9.6-bin.zip platform/o.apache.commons.codec/external/commons-codec-1.16.0.jar
311-
-java/maven.embedder/external/apache-maven-3.9.6-bin.zip ide/c.google.guava.failureaccess/external/failureaccess-1.0.1.jar
259+
java/maven.embedder/external/apache-maven-3.9.6-bin.zip platform/o.apache.commons.codec/external/commons-codec-1.16.1.jar
260+
-java/maven.embedder/external/apache-maven-3.9.6-bin.zip ide/c.google.guava.failureaccess/external/failureaccess-1.0.2.jar
312261
+java/maven.embedder/external/failureaccess-1.0.2.jar ide/c.google.guava.failureaccess/external/failureaccess-1.0.2.jar
262+
java/maven.embedder/external/apache-maven-3.9.6-bin.zip java/maven.indexer/external/javax.annotation-api-1.3.2.jar
313263

314264
# Used to parse data during build, but need to as a lib for ide cluster
315-
nbbuild/external/json-simple-1.1.1.jar ide/libs.json_simple/external/json-simple-1.1.1.jar

patches/7104.diff

Lines changed: 0 additions & 167 deletions
This file was deleted.

patches/7158.diff

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)