Skip to content

Commit d2d8db7

Browse files
committed
GH-597 VisualVM is now built on top of NetBeans 22 FCS
1 parent 56e35ab commit d2d8db7

File tree

2 files changed

+58
-23
lines changed

2 files changed

+58
-23
lines changed

THIRDPARTYLICENSE

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,19 @@ Apache NetBeans License and Third party licenses information
205205
******* List of Third Party Components ***********
206206
Apache NetBeans includes a number of components and libraries with separate copyright notices and license terms. Your use of those components are subject to the terms and conditions of the following licenses.
207207

208-
THIRD-PARTY COMPONENT FILE VERSION LICENSE
209-
platform/modules/ext/flatlaf-3.1.jar 3.1 Apache-2.0
210-
platform/modules/ext/jna-5.12.1.jar 5.12.1 Apache-2.0
211-
platform/modules/ext/jna-platform-5.12.1.jar 5.12.1 Apache-2.0
212-
platform/core/asm-tree-9.5.jar 9.5 BSD-INRIA
213-
platform/core/asm-9.5.jar 9.5 BSD-INRIA
214-
platform/core/asm-commons-9.5.jar 9.5 BSD-INRIA
208+
THIRD-PARTY COMPONENT FILE VERSION LICENSE
209+
platform/modules/ext/flatlaf-3.3.jar 3.3 Apache-2.0
210+
platform/modules/lib/flatlaf-windows-arm64.dll 3.3 Apache-2.0
211+
platform/modules/lib/flatlaf-windows-x86.dll 3.3 Apache-2.0
212+
platform/modules/lib/flatlaf-windows-x86_64.dll 3.3 Apache-2.0
213+
platform/modules/lib/libflatlaf-linux-x86_64.so 3.3 Apache-2.0
214+
platform/modules/lib/libflatlaf-macos-arm64.dylib 3.3 Apache-2.0
215+
platform/modules/lib/libflatlaf-macos-x86_64.dylib 3.3 Apache-2.0
216+
platform/modules/ext/jna-5.14.jar 5.14 Apache-2.0
217+
platform/modules/ext/jna-platform-5.14.jar 5.14 Apache-2.0
218+
platform/core/asm-tree-9.7.jar 9.7 BSD-INRIA
219+
platform/core/asm-9.7.jar 9.7 BSD-INRIA
220+
platform/core/asm-commons-9.7.jar 9.7 BSD-INRIA
215221
*******************************************************************************
216222
BSD-INRIA
217223
ASM: a very small and fast Java bytecode manipulation framework

visualvm/build-nb.sh

Lines changed: 45 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22

3-
# NetBeans 19 FCS
4-
REV=ba85468772292fd64f188f4022f9d49f77f00b89
5-
BRANCH=release190
3+
# NetBeans 22 FCS
4+
REV=0d0bfcf3faf364a2643238f2a44e1bb6eb8217bd
5+
BRANCH=release220
66
BUILD_DATE=`git log -n1 --date=format:'%Y%m%d' $0 | fgrep 'Date' | awk '{print $2}'`
7-
ZIPNAME=nb190_platform_$BUILD_DATE
7+
ZIPNAME=nb220_platform_$BUILD_DATE
88

99
set -e
1010

@@ -26,7 +26,9 @@ fi
2626

2727
git checkout $BRANCH
2828
git reset --hard $REV
29-
git revert --no-edit -n d55be1aff900a81b22081f7699fd16ab04e42553
29+
git revert --no-edit -n 0a64c810435ade77907e5ddbf2491385a5efab2f
30+
git revert --no-edit -n -Xignore-all-space --strategy-option=theirs 7e625c44a472d45a513ada1e6ef7526c6d3a7720
31+
git revert --no-edit -n -Xignore-all-space --strategy-option=theirs d55be1aff900a81b22081f7699fd16ab04e42553
3032
git restore --staged .github/ apisupport/ harness/ platform/
3133
patch -p1 <<'EOF'
3234
diff --git a/platform/keyring.impl/src/org/netbeans/modules/keyring/impl/KeyringSupport.java b/platform/keyring.impl/src/org/netbeans/modules/keyring/impl/KeyringSupport.java
@@ -96,7 +98,7 @@ index 4adfc32095..7712a2f8b3 100644
9698
if (bgColor.getAlpha() > 0) {
9799
double circPosX = (width - d) / 2.0;
98100
diff --git a/nbbuild/build.properties b/nbbuild/build.properties
99-
index 743fc7e3f5..f30d2bc922 100644
101+
index 9fd630de70..f30d2bc922 100644
100102
--- a/nbbuild/build.properties
101103
+++ b/nbbuild/build.properties
102104
@@ -134,7 +134,6 @@ config.javadoc.stable=\
@@ -107,14 +109,16 @@ index 743fc7e3f5..f30d2bc922 100644
107109
api.java,\
108110
api.java.classpath,\
109111
api.search,\
110-
@@ -171,15 +170,12 @@ config.javadoc.forwarded.devel=\
112+
@@ -171,16 +170,12 @@ config.javadoc.forwarded.devel=\
111113
editor.bracesmatching,\
112114
editor.lib,\
113115
editor,\
114116
- lib.uihandler,\
115117
- uihandler,\
116-
spi.editor.hints
117-
118+
- spi.editor.hints,\
119+
- api.dashboard
120+
+ spi.editor.hints
121+
118122
# List of javadocs under development
119123
config.javadoc.devel=\
120124
junit,\
@@ -124,10 +128,18 @@ index 743fc7e3f5..f30d2bc922 100644
124128
gradle.java,\
125129
o.n.swing.outline,\
126130
diff --git a/nbbuild/cluster.properties b/nbbuild/cluster.properties
127-
index 25f6bb112c..705729ca0f 100644
131+
index e1f0f4b544..f212333905 100644
128132
--- a/nbbuild/cluster.properties
129133
+++ b/nbbuild/cluster.properties
130-
@@ -163,25 +163,18 @@ nb.cluster.platform=\
134+
@@ -143,7 +143,6 @@ nb.cluster.platform.dir=platform
135+
nb.cluster.platform.depends=nb.cluster.bootstrap
136+
nb.cluster.platform=\
137+
api.annotations.common,\
138+
- api.dashboard,\
139+
api.htmlui,\
140+
api.intent,\
141+
api.io,\
142+
@@ -164,25 +163,18 @@ nb.cluster.platform=\
131143
core.multitabs,\
132144
core.multiview,\
133145
core.nativeaccess,\
@@ -153,15 +165,15 @@ index 25f6bb112c..705729ca0f 100644
153165
libs.flatlaf,\
154166
libs.javafx,\
155167
libs.jna,\
156-
@@ -189,7 +182,6 @@ nb.cluster.platform=\
168+
@@ -190,7 +182,6 @@ nb.cluster.platform=\
157169
libs.jsr223,\
158170
libs.junit4,\
159171
libs.junit5,\
160172
- libs.osgi,\
161173
libs.testng,\
162174
masterfs,\
163175
masterfs.linux,\
164-
@@ -200,19 +192,8 @@ nb.cluster.platform=\
176+
@@ -201,19 +192,8 @@ nb.cluster.platform=\
165177
net.java.html,\
166178
net.java.html.boot,\
167179
net.java.html.boot.fx,\
@@ -171,7 +183,7 @@ index 25f6bb112c..705729ca0f 100644
171183
- net.java.html.sound,\
172184
- netbinox,\
173185
- o.apache.commons.codec,\
174-
- o.apache.commons.io,\
186+
- o.apache.commons.commons_io,\
175187
- o.apache.commons.lang3,\
176188
- o.apache.commons.logging,\
177189
o.n.core,\
@@ -181,7 +193,7 @@ index 25f6bb112c..705729ca0f 100644
181193
o.n.swing.laf.dark,\
182194
o.n.swing.laf.flatlaf,\
183195
o.n.swing.outline,\
184-
@@ -223,16 +204,13 @@ nb.cluster.platform=\
196+
@@ -224,16 +204,13 @@ nb.cluster.platform=\
185197
openide.compat,\
186198
openide.dialogs,\
187199
openide.execution,\
@@ -198,7 +210,7 @@ index 25f6bb112c..705729ca0f 100644
198210
openide.windows,\
199211
options.api,\
200212
options.keymap,\
201-
@@ -245,8 +223,7 @@ nb.cluster.platform=\
213+
@@ -246,8 +223,7 @@ nb.cluster.platform=\
202214
spi.actions,\
203215
spi.quicksearch,\
204216
templates,\
@@ -208,6 +220,23 @@ index 25f6bb112c..705729ca0f 100644
208220
validation.nb.cluster.platform=\
209221
o.n.core,\
210222
core.windows,\
223+
diff --git a/nbbuild/jdk.xml b/nbbuild/jdk.xml
224+
index c47694ecae..b09b36a9d3 100644
225+
--- a/nbbuild/jdk.xml
226+
+++ b/nbbuild/jdk.xml
227+
@@ -210,10 +210,10 @@
228+
<!-- Define fallback values of some things. -->
229+
<property name="java.home.parent" location="${java.home}/.."/>
230+
<condition property="nbjdk.home" value="${java.home.parent}">
231+
- <available file="${java.home.parent}/jmods/java.base.jmod" type="file"/>
232+
+ <available file="${java.home.parent}/lib/tools.jar" type="file"/>
233+
</condition>
234+
<condition property="nbjdk.home" value="${java.home}">
235+
- <available file="${java.home}/jmods/java.base.jmod" type="file"/>
236+
+ <available file="${java.home}/lib/tools.jar" type="file"/>
237+
</condition>
238+
239+
<!-- Mac OS X -->
211240
diff --git a/harness/apisupport.harness/nbproject/project.properties b/harness/apisupport.harness/nbproject/project.properties
212241
index 7db6d57275..4b8b94fa03 100644
213242
--- a/harness/apisupport.harness/nbproject/project.properties

0 commit comments

Comments
 (0)