Skip to content

Commit f3e9959

Browse files
committed
Upgrade to nb-23-rc3
1 parent 8b899d1 commit f3e9959

File tree

25 files changed

+3375
-3852
lines changed

25 files changed

+3375
-3852
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: 22
65+
ref: 23-rc3
6666

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

BUILD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $ git clone https://github.com/oracle/javavscode.git
3939
$ cd javavscode/
4040
$ git clone https://github.com/apache/netbeans.git
4141
$ cd netbeans/
42-
$ git checkout 22
42+
$ git checkout 23-rc3
4343
$ cd ..
4444
# the following target requires git executable to be on PATH:
4545
$ ant apply-patches

THIRD_PARTY_LICENSES.txt

Lines changed: 72 additions & 78 deletions
Large diffs are not rendered by default.

build.xml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,15 @@
3434
<loadresource property="patch-files">
3535
<string>
3636
patches/6330.diff
37-
patches/7001.diff
38-
patches/7271.diff
39-
patches/7353.diff
40-
patches/7368.diff
41-
patches/7370.diff
42-
patches/7382.diff
43-
patches/7390.diff
44-
patches/7491-preliminary.diff
45-
patches/7497.diff
46-
patches/7548_source-1.8.diff
47-
patches/7583_source-1.8.diff
37+
patches/7491.diff
4838
patches/7610.diff
49-
patches/7621.diff
5039
patches/7641.diff
5140
patches/7654.diff
52-
patches/7690.diff
41+
patches/7670.diff
5342
patches/7699.diff
5443
patches/7722.diff
5544
patches/7724.diff
45+
patches/7733.diff
5646
patches/mvn-sh.diff
5747
patches/generate-dependencies.diff
5848
patches/rename-debugger.diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
PROP_generate_setUp_default=false
19+
PROP_generate_tearDown_default=false
20+
PROP_generate_class_setUp_default=false
21+
PROP_generate_class_tearDown_default=false

nbcode/integration/src/org/netbeans/modules/nbcode/integration/layer.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,16 @@
5252
<attr name="instanceCreate" methodvalue="org.netbeans.modules.java.lsp.server.explorer.NodeActionsProvider.forFile"/>
5353
<attr name="action:org.netbeans.modules.cloud.oracle.actions.DownloadWalletAction" stringvalue="Tools"/>
5454
<attr name="action:org.netbeans.modules.cloud.oracle.actions.AddADBAction" stringvalue="Tools"/>
55+
<attr name="action:org.netbeans.modules.cloud.oracle.actions.AddDbConnectionToVault" stringvalue="Tools"/>
5556
<attr name="action:org.netbeans.modules.cloud.oracle.actions.CreateAutonomousDBAction" stringvalue="Tools"/>
5657
<attr name="action:org.netbeans.modules.cloud.oracle.actions.OpenServiceConsoleAction" stringvalue="Tools"/>
5758
<attr name="action:org.netbeans.modules.cloud.oracle.actions.CloudRefresh" stringvalue="Tools"/>
5859
<attr name="action:org.netbeans.modules.cloud.oracle.actions.AddToProject" stringvalue="Tools"/>
5960
<attr name="action:org.netbeans.modules.cloud.oracle.actions.CreateBuildRun" stringvalue="Tools"/>
6061
<attr name="action:org.netbeans.modules.cloud.oracle.actions.AddRepository" stringvalue="Tools"/>
62+
<attr name="action:org.netbeans.modules.cloud.oracle.actions.AddSuggestedItemAction" stringvalue="Tools"/>
63+
<attr name="action:org.netbeans.modules.cloud.oracle.actions.RemoveFromProject" stringvalue="Tools"/>
64+
<attr name="action:org.netbeans.modules.cloud.oracle.actions.SetReferenceName" stringvalue="Tools"/>
6165
</file>
6266
</folder>
6367
<folder name="AutoupdateType">
@@ -75,6 +79,9 @@
7579
<folder name="foundProjects">
7680
<file name="project-cookies.contextValues" url="project-cookies.contextValues"/>
7781
</folder>
82+
<folder name="cloud.assets">
83+
<file name="cloud-cookies.contextValues" url="cloud-cookies.contextValues"/>
84+
</folder>
7885
</folder>
7986
<folder name="Debugger">
8087
<file name="org-netbeans-modules-debugger-jpda-ui-CurrentThreadAnnotationListener.instance_hidden"/>
@@ -123,4 +130,16 @@
123130
</folder>
124131
<folder name="Persistence_hidden"/>
125132
</folder>
133+
<folder name="Projects">
134+
<folder name="org-netbeans-modules-maven">
135+
<folder name="Lookup">
136+
<file name="maven-actions-override.instance">
137+
<attr name="position" intvalue="10000"/>
138+
<attr name="instanceOf" stringvalue="org.netbeans.spi.project.LookupProvider"/>
139+
<attr name="instanceCreate" methodvalue="org.netbeans.api.maven.MavenActions.forProjectLayer"/>
140+
<attr name="resource" stringvalue="nbres:/org/netbeans/modules/nbcode/integration/maven-actions-override.xml"/>
141+
</file>
142+
</folder>
143+
</folder>
144+
</folder>
126145
</filesystem>
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one
4+
or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership. The ASF licenses this file
7+
to you under the Apache License, Version 2.0 (the
8+
"License"); you may not use this file except in compliance
9+
with the License. You may obtain a copy of the License at
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
Unless required by applicable law or agreed to in writing,
12+
software distributed under the License is distributed on an
13+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
KIND, either express or implied. See the License for the
15+
specific language governing permissions and limitations
16+
under the License.
17+
-->
18+
19+
<actions>
20+
<action>
21+
<actionName>build</actionName>
22+
<packagings>
23+
<packaging>*</packaging>
24+
</packagings>
25+
<goals>
26+
<goal>install</goal>
27+
</goals>
28+
<reactor>also-make</reactor>
29+
</action>
30+
<action>
31+
<actionName>rebuild</actionName>
32+
<packagings>
33+
<packaging>*</packaging>
34+
</packagings>
35+
<goals>
36+
<goal>clean</goal>
37+
<goal>install</goal>
38+
</goals>
39+
<reactor>also-make</reactor>
40+
</action>
41+
<action>
42+
<actionName>test.single</actionName>
43+
<packagings>
44+
<packaging>*</packaging>
45+
</packagings>
46+
<goals>
47+
<goal>process-test-classes</goal>
48+
<goal>surefire:test</goal>
49+
</goals>
50+
<properties>
51+
<test>${packageClassName}</test>
52+
</properties>
53+
</action>
54+
55+
<action>
56+
<actionName>run</actionName>
57+
<packagings>
58+
<packaging>jar</packaging>
59+
</packagings>
60+
<goals>
61+
<goal>process-classes</goal>
62+
<goal>org.codehaus.mojo:exec-maven-plugin:3.1.0:exec</goal>
63+
</goals>
64+
<properties>
65+
<exec.vmArgs></exec.vmArgs>
66+
<exec.args>${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs}</exec.args>
67+
<exec.appArgs></exec.appArgs>
68+
<exec.mainClass>${packageClassName}</exec.mainClass>
69+
<exec.executable>java</exec.executable>
70+
</properties>
71+
<preAction>build-with-dependencies</preAction>
72+
</action>
73+
<action>
74+
<actionName>debug</actionName>
75+
<packagings>
76+
<packaging>jar</packaging>
77+
</packagings>
78+
<goals>
79+
<goal>process-classes</goal>
80+
<goal>org.codehaus.mojo:exec-maven-plugin:3.1.0:exec</goal>
81+
</goals>
82+
<properties>
83+
<exec.vmArgs>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}</exec.vmArgs>
84+
<exec.args>${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs}</exec.args>
85+
<exec.appArgs></exec.appArgs>
86+
<exec.mainClass>${packageClassName}</exec.mainClass>
87+
<exec.executable>java</exec.executable>
88+
<jpda.listen>true</jpda.listen>
89+
</properties>
90+
<preAction>build-with-dependencies</preAction>
91+
</action>
92+
<action>
93+
<actionName>run.single.main</actionName>
94+
<packagings>
95+
<packaging>*</packaging>
96+
</packagings>
97+
<goals>
98+
<goal>process-classes</goal>
99+
<goal>org.codehaus.mojo:exec-maven-plugin:3.1.0:exec</goal>
100+
</goals>
101+
<properties>
102+
<exec.vmArgs></exec.vmArgs>
103+
<exec.args>${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs}</exec.args>
104+
<exec.executable>java</exec.executable>
105+
<exec.mainClass>${packageClassName}</exec.mainClass>
106+
<exec.classpathScope>${classPathScope}</exec.classpathScope>
107+
</properties>
108+
<preAction>build-with-dependencies</preAction>
109+
</action>
110+
111+
<action>
112+
<actionName>debug.single.main</actionName>
113+
<packagings>
114+
<packaging>*</packaging>
115+
</packagings>
116+
<goals>
117+
<goal>process-test-classes</goal>
118+
<goal>org.codehaus.mojo:exec-maven-plugin:3.1.0:exec</goal>
119+
</goals>
120+
<properties>
121+
<exec.vmArgs>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}</exec.vmArgs>
122+
<exec.args>${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs}</exec.args>
123+
<exec.executable>java</exec.executable>
124+
<exec.mainClass>${packageClassName}</exec.mainClass>
125+
<exec.classpathScope>${classPathScope}</exec.classpathScope>
126+
<jpda.listen>true</jpda.listen>
127+
</properties>
128+
<preAction>build-with-dependencies</preAction>
129+
</action>
130+
</actions>

0 commit comments

Comments
 (0)