[jira] [Updated] (NETBEANS-6379) Editor NoSuchMethodError on JDK1.8

2022-01-10 Thread Arnaud Kleinveld (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arnaud Kleinveld updated NETBEANS-6379:
---
Attachment: Screenshot from 2022-01-11 14-34-21.png

> Editor NoSuchMethodError on JDK1.8
> --
>
> Key: NETBEANS-6379
> URL: https://issues.apache.org/jira/browse/NETBEANS-6379
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.6
> Environment: Fedora 34 and 
> java-1.8.0-openjdk-1.8.0.312.b07-2.fc34.x86_64
>Reporter: Arnaud Kleinveld
>Priority: Major
> Attachments: Screenshot from 2022-01-11 14-02-06.png, Screenshot from 
> 2022-01-11 14-34-21.png, ide.log, ui.log
>
>
> Hit enter at the end of a line (35) the editor throws a NoSuchMethodError and 
> does not complete the expected indention on the inserted line (36). A green 
> versioning label/mark is wrongly placed at the start of the next line (37) 
> after the inserted line.
> !Screenshot from 2022-01-11 14-02-06.png|width=575,height=58!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Commented] (NETBEANS-6379) Editor NoSuchMethodError on JDK1.8

2022-01-10 Thread Arnaud Kleinveld (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17472516#comment-17472516
 ] 

Arnaud Kleinveld commented on NETBEANS-6379:


Tested JDK11 and exception was not thrown, however did reproduce wrongly placed 
versioning label.

!Screenshot from 2022-01-11 14-34-21.png|width=627,height=54!

> Editor NoSuchMethodError on JDK1.8
> --
>
> Key: NETBEANS-6379
> URL: https://issues.apache.org/jira/browse/NETBEANS-6379
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.6
> Environment: Fedora 34 and 
> java-1.8.0-openjdk-1.8.0.312.b07-2.fc34.x86_64
>Reporter: Arnaud Kleinveld
>Priority: Major
> Attachments: Screenshot from 2022-01-11 14-02-06.png, Screenshot from 
> 2022-01-11 14-34-21.png, ide.log, ui.log
>
>
> Hit enter at the end of a line (35) the editor throws a NoSuchMethodError and 
> does not complete the expected indention on the inserted line (36). A green 
> versioning label/mark is wrongly placed at the start of the next line (37) 
> after the inserted line.
> !Screenshot from 2022-01-11 14-02-06.png|width=575,height=58!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Created] (NETBEANS-6379) Editor NoSuchMethodError on JDK1.8

2022-01-10 Thread Arnaud Kleinveld (Jira)
Arnaud Kleinveld created NETBEANS-6379:
--

 Summary: Editor NoSuchMethodError on JDK1.8
 Key: NETBEANS-6379
 URL: https://issues.apache.org/jira/browse/NETBEANS-6379
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Editor
Affects Versions: 12.6
 Environment: Fedora 34 and 
java-1.8.0-openjdk-1.8.0.312.b07-2.fc34.x86_64
Reporter: Arnaud Kleinveld
 Attachments: Screenshot from 2022-01-11 14-02-06.png, ide.log, ui.log

Hit enter at the end of a line (35) the editor throws a NoSuchMethodError and 
does not complete the expected indention on the inserted line (36). A green 
versioning label/mark is wrongly placed at the start of the next line (37) 
after the inserted line.

!Screenshot from 2022-01-11 14-02-06.png|width=575,height=58!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Comment Edited] (NETBEANS-6163) Maven does not set generated source roots correctly

2022-01-10 Thread Steven Swor (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17472445#comment-17472445
 ] 

Steven Swor edited comment on NETBEANS-6163 at 1/11/22, 4:28 AM:
-

There's a similar issue with openapi-generator-maven-plugin... it generates a 
full maven/gradle project structure under generated-sources (with both a 
build.gradle *and* a pom.xml). In that setup, netbeans completely barfs on the 
generated sources and doesn't render them at all in the projects window.

{quote}
In any case, netbeans shouldn't try to second guess the maven project 
configuration, but rather tap into the maven model intercepting the source 
roots during a 'priming build'.
{quote}

I believe this should fix the issue with the openapi generator plugin as well.


was (Author: sworisbreathing):
There's a similar issue with openapi-generator-maven-plugin... it generates a 
full maven/gradle project structure under generated-sources (with both a 
build.gradle *and* a pom.xml). In that setup, netbeans completely barfs on the 
generated sources and doesn't render them at all.

{quote}
In any case, netbeans shouldn't try to second guess the maven project 
configuration, but rather tap into the maven model intercepting the source 
roots during a 'priming build'.
{quote}

I believe this should fix the issue with the openapi generator plugin as well.

> Maven does not set generated source roots correctly
> ---
>
> Key: NETBEANS-6163
> URL: https://issues.apache.org/jira/browse/NETBEANS-6163
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Reporter: Martin Entlicher
>Assignee: Martin Entlicher
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Clone and build [https://github.com/dsyer/native-image-debug]
> Open the project in NetBeans and see that under {{Generated Sources}} there 
> are packages like: {{src.main.java.org.springframework.aot}}, etc.
> The initial {{src/main/java}} should not be included in the source root.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Commented] (NETBEANS-6163) Maven does not set generated source roots correctly

2022-01-10 Thread Steven Swor (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17472445#comment-17472445
 ] 

Steven Swor commented on NETBEANS-6163:
---

There's a similar issue with openapi-generator-maven-plugin... it generates a 
full maven/gradle project structure under generated-sources (with both a 
build.gradle *and* a pom.xml). In that setup, netbeans completely barfs on the 
generated sources and doesn't render them at all.

{quote}
In any case, netbeans shouldn't try to second guess the maven project 
configuration, but rather tap into the maven model intercepting the source 
roots during a 'priming build'.
{quote}

I believe this should fix the issue with the openapi generator plugin as well.

> Maven does not set generated source roots correctly
> ---
>
> Key: NETBEANS-6163
> URL: https://issues.apache.org/jira/browse/NETBEANS-6163
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Reporter: Martin Entlicher
>Assignee: Martin Entlicher
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Clone and build [https://github.com/dsyer/native-image-debug]
> Open the project in NetBeans and see that under {{Generated Sources}} there 
> are packages like: {{src.main.java.org.springframework.aot}}, etc.
> The initial {{src/main/java}} should not be included in the source root.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Commented] (NETBEANS-6298) Match NetBeans console encoding to system/app console encoding

2022-01-10 Thread luke (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17472397#comment-17472397
 ] 

luke commented on NETBEANS-6298:


[~taps] I am very sorry, but for some reason I have been unable to access our 
website for the last few days. If only for the problem of garbled console 
output, although the solution is less convenient, I think the issue can be put 
to an end and close it. However, there seems to be another problem that I 
mentioned initially, which is that the properties file contains Chinese and 
NetBeans always opens with garbled and I have to open it in another editor to 
edit it, which is really inconvenient.

!Garbled.gif!

> Match NetBeans console encoding to system/app console encoding
> --
>
> Key: NETBEANS-6298
> URL: https://issues.apache.org/jira/browse/NETBEANS-6298
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.0, 12.1, 12.2, 12.3, 12.4, 12.5, 12.6, NB13, 13
> Environment: Windows 10、JDK1.8.201、Maven3.6.0、Netbeans12.6、Project 
> encoding UTF-8
>Reporter: luke
>Priority: Blocker
> Attachments: Garbled.gif, Garbled.png, console-output-well.png, 
> full_output.png, screenshot-1.png, screenshot-2.png, screenshot-3.png
>
>
> My Windows OS language is Simplified Chinese and the default OS encoding is 
> GBK. When I open a properties file or a text file, the editor shows the file 
> contents as garbled, if I add the parameter -J-Dfile.encoding=UTF-8, the 
> editor opens the file in UTF-8 encoding format and the file is not garbled, 
> but the console output is garbled.
> !Garbled.gif|width=1055,height=536!
> !Garbled.png|width=1542,height=843!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Created] (NETBEANS-6378) Unable to use JEP 247 with ANT projects: error: option -source cannot be used together with --release

2022-01-10 Thread Bjoern Voigt (Jira)
Bjoern Voigt created NETBEANS-6378:
--

 Summary: Unable to use JEP 247 with ANT projects: error: option 
-source cannot be used together with --release
 Key: NETBEANS-6378
 URL: https://issues.apache.org/jira/browse/NETBEANS-6378
 Project: NetBeans
  Issue Type: Bug
  Components: core, java - Compiler
Affects Versions: 12.5
Reporter: Bjoern Voigt


[JEP 247|https://openjdk.java.net/jeps/247] enhances {{javac}} so that it can 
compile Java programs to run on selected older versions of the platform.

If for instance {{javac}} from JDK 17 should compile a program for Java 8 
compatibility, then the following command line is suitable:
{code:java}
javac --release 8 Main.java{code}
The --release option can be specified in Netbeans projects here: Build -> 
Compiling -> Additional Compiler Options.

Unfortunately the --release option results in build errors, at least with 
Netbeans ANT projects:
{code:java}
error: option -source cannot be used together with --release{code}
The full build log:
{code:java}
ant -f /tmp/NetBeansProjects/JavaApplication9 -Dnb.internal.action.name=rebuild 
clean jar
init:
deps-clean:
Updating property file: 
/tmp/NetBeansProjects/JavaApplication9/build/built-clean.properties
Deleting directory /tmp/NetBeansProjects/JavaApplication9/build
clean:
init:
deps-jar:
Created dir: /tmp/NetBeansProjects/JavaApplication9/build
Updating property file: 
/tmp/NetBeansProjects/JavaApplication9/build/built-jar.properties
Created dir: /tmp/NetBeansProjects/JavaApplication9/build/classes
Created dir: /tmp/NetBeansProjects/JavaApplication9/build/empty
Created dir: 
/tmp/NetBeansProjects/JavaApplication9/build/generated-sources/ap-source-output
Compiling 2 source files to /tmp/NetBeansProjects/JavaApplication9/build/classes
error: option -source cannot be used together with --release
error: option -target cannot be used together with --release
Usage: javac  
use --help for a list of possible options
BUILD FAILED (total time: 0 seconds)
 

{code}
 

 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[netbeans] branch infra/gradle-lsp-stabilization updated: Artificial delay

2022-01-10 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a commit to branch infra/gradle-lsp-stabilization
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/infra/gradle-lsp-stabilization 
by this push:
 new bba01d3  Artificial delay
bba01d3 is described below

commit bba01d37458a351e2a77988587b72dd87a6da38c
Author: Svata Dedic 
AuthorDate: Mon Jan 10 21:26:24 2022 +0100

Artificial delay
---
 .../src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java| 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
 
b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
index 8c09204..1fd6762 100644
--- 
a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
+++ 
b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
@@ -4931,6 +4931,7 @@ public class ServerTest extends NbTestCase {
 lc.progressStart.await();
 // let's cancel in the middle
 assertNotNull(lc.token);
+Thread.sleep(1000);
 server.cancelProgress(new 
WorkDoneProgressCancelParams(Either.forLeft(lc.token)));
 lc.progressEnd.await();
 

-
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



[jira] [Updated] (NETBEANS-6374) Netbeans responds no more and is hanging

2022-01-10 Thread Benjamin Asbach (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Asbach updated NETBEANS-6374:
--
Affects Version/s: 12.5

> Netbeans responds no more and is hanging
> 
>
> Key: NETBEANS-6374
> URL: https://issues.apache.org/jira/browse/NETBEANS-6374
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
> Environment: IDE Log
> ---
> >Log Session: Saturday, January 8, 2022 at 9:20:58 AM Central European 
> >Standard Time
> >System Info: 
>   Product Version         = Apache NetBeans IDE 12.5
>   Operating System        = Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor        = 13; Java HotSpot(TM) 64-Bit Server VM 13+33; 
> Oracle Corporation
>   Runtime                 = Java(TM) SE Runtime Environment 13+33
>   Java Home               = C:\Program Files\Java\jdk-13
>   System Locale; Encoding = de_DE (nb); Cp1252
>   Home Directory          = C:\Users\Sascha
>   Current Directory       = C:\Program Files\NetBeans-12.5
>   User Directory          = C:\Users\Sascha\AppData\Roaming\NetBeans\12.5
>   Cache Directory         = C:\Users\Sascha\AppData\Local\NetBeans\Cache\12.5
>   Installation            = C:\Program Files\NetBeans-12.5\netbeans\nb
>                             C:\Program Files\NetBeans-12.5\netbeans\ide
>                             C:\Program Files\NetBeans-12.5\netbeans\extide
>                             C:\Program Files\NetBeans-12.5\netbeans\webcommon
>                             C:\Program 
> Files\NetBeans-12.5\netbeans\websvccommon
>                             C:\Program Files\NetBeans-12.5\netbeans\php
>                             C:\Program Files\NetBeans-12.5\netbeans\harness
>                             C:\Program Files\NetBeans-12.5\netbeans\cpplite
>                             C:\Program Files\NetBeans-12.5\netbeans\platform
>   Boot & Ext. Classpath   = 
>   Application Classpath   = C:\Program 
> Files\NetBeans-12.5\netbeans\platform\lib\boot.jar;C:\Program 
> Files\NetBeans-12.5\netbeans\platform\lib\org-openide-modules.jar;C:\Program 
> Files\NetBeans-12.5\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Program
>  Files\NetBeans-12.5\netbeans\platform\lib\org-openide-util-ui.jar;C:\Program 
> Files\NetBeans-12.5\netbeans\platform\lib\org-openide-util.jar
>   Startup Classpath       = C:\Program 
> Files\NetBeans-12.5\netbeans\platform\core\asm-9.2.jar;C:\Program 
> Files\NetBeans-12.5\netbeans\platform\core\asm-commons-9.2.jar;C:\Program 
> Files\NetBeans-12.5\netbeans\platform\core\asm-tree-9.2.jar;C:\Program 
> Files\NetBeans-12.5\netbeans\platform\core\core-base.jar;C:\Program 
> Files\NetBeans-12.5\netbeans\platform\core\core.jar;C:\Program 
> Files\NetBeans-12.5\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\Program
>  
> Files\NetBeans-12.5\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\Program
>  
> Files\NetBeans-12.5\netbeans\platform\core\org-openide-filesystems.jar;C:\Program
>  Files\NetBeans-12.5\netbeans\nb\core\org-netbeans-upgrader.jar;C:\Program 
> Files\NetBeans-12.5\netbeans\nb\core\locale\core_nb.jar
> ---
> INFO [org.netbeans.modules.netbinox]: Install area set to file:/C:/Program 
> Files/NetBeans-12.5/netbeans/
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.structure which is deprecated.
> INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
>     slf4j.jdk14 [1.7.28 1.7.28]
>     slf4j.api [1.7.28 1.7.28]
>     org.openide.util.lookup [8.47 
> 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021]
>     org.openide.util [9.21 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021]
>     org.openide.util.ui [9.21 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021]
>     org.openide.modules [7.61 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021]
>     org.netbeans.api.annotations.common/1 [1.41 
> 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021]
>     org.openide.filesystems [9.25 
> 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021]
>     org.openide.awt [7.81 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021]
>     org.netbeans.api.progress/1 [1.61 
> 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021]
>     org.netbeans.api.progress.nb [1.61 
> 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021]
>     org.openide.dialogs [7.55 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021]
>     org.openide.nodes [7.58 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021]
>     org.openide.windows [6.90 

[netbeans-tools] branch master updated (90e35b8 -> 9643687)

2022-01-10 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-tools.git.


from 90e35b8  Merge pull request #44 from matthiasblaesing/improve-pp3
 new 5eda90d  Initial project structure.
 new 9fb5bfa  Basic API (non-functional).
 new dc64d8a  Add LICENSE and NOTICE files for NBPackage.
 new 378fe90  Add base image creation and various utilities, with simple 
zip packager to test.
 new 1ea9004  Add Linux AppImagePackager and initial support for building 
the AppDir (image).
 new d12295e  Add support for building an AppImage.
 new d78c58b  Initial InnoSetup packager support.
 new 7e3841c  Remove the separate build files support.
 new b93f7d4  Change help on package.type option - specifying in config 
probably better option.
 new 4ffd265  Add a short README.
 new fc45943  Just filter out unsafe characters in InnoSetup sanitize name.
 new 1e2c74f  StringUtils tokens, map replacement and config file relative 
paths.
 new 6e5e5c9  Add support for license file in InnoSetup packager.
 new 16c2003  Basic Deb packaging.
 new 50bcb98  Improve info messages during task execution.
 new c411aab  Fix incorrect auto-complete import.
 new 73ee1db  Fix issues with GNOME display of SVG icon.
 new af0687f  Add DEB info to README.
 new 9643687  Merge pull request #47 from neilcsmith-net/nbpackage

The 201 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 nbpackage/.gitignore   |   9 +
 LICENSE => nbpackage/LICENSE   |   0
 nbpackage/NOTICE   |  11 +
 nbpackage/README.md|  89 
 {wiki-convert => nbpackage}/nb-configuration.xml   |   2 +-
 nbpackage/nbactions.xml|  60 +++
 nbpackage/pom.xml  | 106 
 nbpackage/src/bin/unixBinTemplate  | 121 +
 nbpackage/src/bin/windowsBinTemplate   | 108 
 .../src/main/java/module-info.java |  11 +-
 .../netbeans/nbpackage/AbstractPackagerTask.java   | 208 
 .../apache/netbeans/nbpackage/ArchiveUtils.java| 574 +
 .../apache/netbeans/nbpackage/Configuration.java   | 210 
 .../netbeans/nbpackage/ExecutionContext.java   | 525 +++
 .../org/apache/netbeans/nbpackage/FileUtils.java   | 243 +
 .../java/org/apache/netbeans/nbpackage/Main.java   | 175 +++
 .../org/apache/netbeans/nbpackage/NBPackage.java   | 275 ++
 .../java/org/apache/netbeans/nbpackage/Option.java | 166 ++
 .../org/apache/netbeans/nbpackage/Packager.java| 105 
 .../org/apache/netbeans/nbpackage/StringUtils.java | 130 +
 .../nbpackage/appimage/AppImagePackager.java   |  89 
 .../netbeans/nbpackage/appimage/AppImageTask.java  | 197 +++
 .../apache/netbeans/nbpackage/deb/DebPackager.java | 111 
 .../org/apache/netbeans/nbpackage/deb/DebTask.java | 293 +++
 .../nbpackage/innosetup/InnoSetupPackager.java |  93 
 .../nbpackage/innosetup/InnoSetupTask.java | 241 +
 .../netbeans/nbpackage/zip/ZipPackageTask.java |  58 +++
 .../apache/netbeans/nbpackage/zip/ZipPackager.java |  29 +-
 .../apache/netbeans/nbpackage/Messages.properties  |  50 ++
 .../netbeans/nbpackage/apache-netbeans-48x48.png   | Bin 0 -> 2118 bytes
 .../apache/netbeans/nbpackage/apache-netbeans.ico  | Bin 0 -> 99678 bytes
 .../apache/netbeans/nbpackage/apache-netbeans.svg  |  71 +++
 .../nbpackage/appimage/AppImage.desktop.template   |   9 +
 .../nbpackage/appimage/AppImage.launcher.template  |  10 +
 .../nbpackage/appimage/Messages.properties |   9 +-
 .../netbeans/nbpackage/deb/Messages.properties |  29 ++
 .../netbeans/nbpackage/deb/deb.control.template|   7 +
 .../netbeans/nbpackage/deb/deb.desktop.template|  10 +
 .../netbeans/nbpackage/deb/deb.launcher.template   |   9 +
 .../nbpackage/innosetup/InnoSetup.iss.template |  35 ++
 .../nbpackage/innosetup/Messages.properties|  27 +-
 .../netbeans/nbpackage/zip/Messages.properties |   4 +-
 .../netbeans/nbpackage/ExecutionContextTest.java   | 102 
 43 files changed, 4588 insertions(+), 23 deletions(-)
 create mode 100644 nbpackage/.gitignore
 copy LICENSE => nbpackage/LICENSE (100%)
 create mode 100644 nbpackage/NOTICE
 create mode 100644 nbpackage/README.md
 copy {wiki-convert => nbpackage}/nb-configuration.xml (93%)
 create mode 100644 nbpackage/nbactions.xml
 create mode 100644 nbpackage/pom.xml
 create mode 100644 nbpackage/src/bin/unixBinTemplate
 create mode 100644 nbpackage/src/bin/windowsBinTemplate
 copy 

[netbeans] branch master updated: Always call mx build before running the java.mx.projects tests

2022-01-10 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 33c52ff  Always call mx build before running the java.mx.projects tests
 new 129660d  Merge pull request #3435 from 
JaroslavTulach/jtulach/AlwaysBuildWithMx
33c52ff is described below

commit 33c52ffafff78b3290315566f2b24a7dd411719e
Author: Jaroslav Tulach 
AuthorDate: Mon Jan 10 10:34:33 2022 +0100

Always call mx build before running the java.mx.projects tests
---
 java/java.mx.project/build.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/java/java.mx.project/build.xml b/java/java.mx.project/build.xml
index b7747e0..b02e9fc 100644
--- a/java/java.mx.project/build.xml
+++ b/java/java.mx.project/build.xml
@@ -24,7 +24,7 @@
 
 
 
-
+
 
 
 
@@ -45,6 +45,9 @@
 
 https://github.com/graalvm/mx"/>
 
+
+
+
 
 
 

-
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



[jira] [Updated] (NETBEANS-6377) Offer the canonical constructor in records

2022-01-10 Thread Petr Miksik (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petr Miksik updated NETBEANS-6377:
--
Description: 
Code completion fails to offer a canonical constructor in records.

{code}
public record R1(int x, String s) {
R1 // Press Ctrl + Space here
}
{code}
 It seems that code completion here stuck in infinite loop.

  was:
Code completion fails to offer a canonical constructor in records.

{code}
public record R1(int x, String s) {
R1 // Press Ctrl + Space here
}
{code}



> Offer the canonical constructor in records
> --
>
> Key: NETBEANS-6377
> URL: https://issues.apache.org/jira/browse/NETBEANS-6377
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 12.6
>Reporter: Petr Miksik
>Priority: Minor
>
> Code completion fails to offer a canonical constructor in records.
> {code}
> public record R1(int x, String s) {
> R1 // Press Ctrl + Space here
> }
> {code}
>  It seems that code completion here stuck in infinite loop.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Updated] (NETBEANS-6377) Offer the canonical constructor in records

2022-01-10 Thread Petr Miksik (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petr Miksik updated NETBEANS-6377:
--
Description: 
Code completion fails to offer a canonical constructor in records.

{code}
public record R1(int x, String s) {
R1 // Press Ctrl + Space here
}
{code}


  was:
Code completion fails to offer a canonical constructor in records.

{code}
public record R1(int x, String s) {
  R1 // Press Ctrl + Space here
}
{code}



> Offer the canonical constructor in records
> --
>
> Key: NETBEANS-6377
> URL: https://issues.apache.org/jira/browse/NETBEANS-6377
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 12.6
>Reporter: Petr Miksik
>Priority: Minor
>
> Code completion fails to offer a canonical constructor in records.
> {code}
> public record R1(int x, String s) {
> R1 // Press Ctrl + Space here
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Updated] (NETBEANS-6377) Offer the canonical constructor in records

2022-01-10 Thread Petr Miksik (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petr Miksik updated NETBEANS-6377:
--
Description: 
Code completion fails to offer a canonical constructor in records.

{code}
public record R1(int x, String s) {
  R1 // Press Ctrl + Space here
}
{code}


  was:
Code completion fails to offer a canonical constructor in records.

{code}
public record R1(int x, String s) {
R1 // Press Ctrl + Space here
}
{code}



> Offer the canonical constructor in records
> --
>
> Key: NETBEANS-6377
> URL: https://issues.apache.org/jira/browse/NETBEANS-6377
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 12.6
>Reporter: Petr Miksik
>Priority: Minor
>
> Code completion fails to offer a canonical constructor in records.
> {code}
> public record R1(int x, String s) {
>   R1 // Press Ctrl + Space here
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Updated] (NETBEANS-6377) Offer the canonical constructor in records

2022-01-10 Thread Petr Miksik (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petr Miksik updated NETBEANS-6377:
--
Description: 
Code completion fails to offer a canonical constructor in records.

{code}
public record R1(int x, String s) {
R1 // Press Ctrl + Space here
}
{code}


  was:
Code completion fails to offer a canonical constructor in records.

{code}
public static record R1(int x, String s) {
R1 // Press Ctrl + Space here
}
{code}



> Offer the canonical constructor in records
> --
>
> Key: NETBEANS-6377
> URL: https://issues.apache.org/jira/browse/NETBEANS-6377
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 12.6
>Reporter: Petr Miksik
>Priority: Minor
>
> Code completion fails to offer a canonical constructor in records.
> {code}
> public record R1(int x, String s) {
> R1 // Press Ctrl + Space here
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Created] (NETBEANS-6377) Offer the canonical constructor in records

2022-01-10 Thread Petr Miksik (Jira)
Petr Miksik created NETBEANS-6377:
-

 Summary: Offer the canonical constructor in records
 Key: NETBEANS-6377
 URL: https://issues.apache.org/jira/browse/NETBEANS-6377
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Code Completion
Affects Versions: 12.6
Reporter: Petr Miksik


Code completion fails to offer a canonical constructor in records.

{code}
public static record R1(int x, String s) {
R1 // Press Ctrl + Space here
}
{code}




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[netbeans] branch vsnetbeans_preview_1263 updated: Disabling database features in VSCode

2022-01-10 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch vsnetbeans_preview_1263
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/vsnetbeans_preview_1263 by 
this push:
 new be8de79  Disabling database features in VSCode
 new 76a52dc  Merge pull request #3437 from jhorvath/vsc-disable-db
be8de79 is described below

commit be8de791bf1c68819fa81af5c3e6794e30c0bea1
Author: Jan Horvath 
AuthorDate: Mon Jan 10 15:21:54 2022 +0100

Disabling database features in VSCode
---
 java/java.lsp.server/vscode/package-lock.json | 1240 -
 java/java.lsp.server/vscode/package.json  |   34 -
 java/java.lsp.server/vscode/src/extension.ts  |   12 -
 3 files changed, 1239 insertions(+), 47 deletions(-)

diff --git a/java/java.lsp.server/vscode/package-lock.json 
b/java/java.lsp.server/vscode/package-lock.json
index 0ce5eb8..6720f16 100644
--- a/java/java.lsp.server/vscode/package-lock.json
+++ b/java/java.lsp.server/vscode/package-lock.json
@@ -1,8 +1,1246 @@
 {
"name": "apache-netbeans-java",
"version": "0.1.0",
-   "lockfileVersion": 1,
+   "lockfileVersion": 2,
"requires": true,
+   "packages": {
+   "": {
+   "name": "apache-netbeans-java",
+   "version": "0.1.0",
+   "license": "Apache 2.0",
+   "dependencies": {
+   "jsonc-parser": "3.0.0",
+   "vscode-debugadapter": "1.42.1",
+   "vscode-languageclient": "7.0.0"
+   },
+   "devDependencies": {
+   "@types/glob": "^7.1.1",
+   "@types/mocha": "^9.0.0",
+   "@types/node": "^13.11.0",
+   "@types/ps-node": "^0.1.0",
+   "@types/vscode": "^1.60.0",
+   "glob": "^7.1.6",
+   "mocha": "^9.1.2",
+   "ps-node": "^0.1.6",
+   "typescript": "^3.8.3",
+   "vscode-test": "^1.3.0"
+   },
+   "engines": {
+   "vscode": "^1.60.0"
+   }
+   },
+   "node_modules/@types/glob": {
+   "version": "7.1.3",
+   "resolved": 
"https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz;,
+   "integrity": 
"sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==",
+   "dev": true,
+   "dependencies": {
+   "@types/minimatch": "*",
+   "@types/node": "*"
+   }
+   },
+   "node_modules/@types/minimatch": {
+   "version": "3.0.3",
+   "resolved": 
"https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz;,
+   "integrity": 
"sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==",
+   "dev": true
+   },
+   "node_modules/@types/mocha": {
+   "version": "9.0.0",
+   "resolved": 
"https://registry.npmjs.org/@types/mocha/-/mocha-9.0.0.tgz;,
+   "integrity": 
"sha512-scN0hAWyLVAvLR9AyW7HoFF5sJZglyBsbPuHO4fv7JRvfmPBMfp1ozWqOf/e4wwPNxezBZXRfWzMb6iFLgEVRA==",
+   "dev": true
+   },
+   "node_modules/@types/node": {
+   "version": "13.13.15",
+   "resolved": 
"https://registry.npmjs.org/@types/node/-/node-13.13.15.tgz;,
+   "integrity": 
"sha512-kwbcs0jySLxzLsa2nWUAGOd/s21WU1jebrEdtzhsj1D4Yps1EOuyI1Qcu+FD56dL7NRNIJtDDjcqIG22NwkgLw==",
+   "dev": true
+   },
+   "node_modules/@types/ps-node": {
+   "version": "0.1.0",
+   "resolved": 
"https://registry.npmjs.org/@types/ps-node/-/ps-node-0.1.0.tgz;,
+   "integrity": 
"sha512-HI5l+f38o93x81mbOWZ1IEzj87rGCHfN4A4QyCU1MuViT5Slvlo5F+YVvmBFHfZsEGi0Lo8TghWU2Ew6vBILNA==",
+   "dev": true
+   },
+   "node_modules/@types/vscode": {
+   "version": "1.60.0",
+   "resolved": 
"https://registry.npmjs.org/@types/vscode/-/vscode-1.60.0.tgz;,
+   "integrity": 
"sha512-wZt3VTmzYrgZ0l/3QmEbCq4KAJ71K3/hmMQ/nfpv84oH8e81KKwPEoQ5v8dNCxfHFVJ1JabHKmCvqdYOoVm1Ow==",
+   "dev": true
+   },
+   

[netbeans] branch master updated: Add sourceVersion(int) to rule file utils and deprecate enum variant.

2022-01-10 Thread mbien
This is an automated email from the ASF dual-hosted git repository.

mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 4e899fe  Add sourceVersion(int) to rule file utils and deprecate enum 
variant.
 new 0ffa067  Merge pull request #3395 from mbien/sourceversion
4e899fe is described below

commit 4e899fe16c3ffe15f4b1164c1df9e9af8a49ac1c
Author: Michael Bien 
AuthorDate: Sat Jan 1 16:16:22 2022 +0100

Add sourceVersion(int) to rule file utils and deprecate enum variant.

 - version enums cause issues if the enum value can not be resolved
 - using an int as feature version allows using newer hint files on
   older JDKs
 - added LE variant
---
 .../conditionapi/DefaultRuleUtilities.java | 22 ++
 1 file changed, 22 insertions(+)

diff --git 
a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/DefaultRuleUtilities.java
 
b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/DefaultRuleUtilities.java
index 9de9e84..0749db5 100644
--- 
a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/DefaultRuleUtilities.java
+++ 
b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/DefaultRuleUtilities.java
@@ -46,10 +46,32 @@ public final class DefaultRuleUtilities {
 return matcher.referencedIn(variable, in);
 }
 
+/**
+ * @deprecated Use {@link #sourceVersionGE(int)} instead.
+ */
+@Deprecated
 public boolean sourceVersionGE(SourceVersion source) {
 return context.sourceVersion().compareTo(source) >= 0;
 }
 
+/**
+ * Returns true if the provided feature version is less or equals the
+ * source version of the inspected file.
+ * @see Runtime.Version#feature()
+ */
+public boolean sourceVersionLE(int feature) {
+return context.sourceVersion().ordinal() <= feature;
+}
+
+/**
+ * Returns true if the provided feature version is greater or equals the
+ * source version of the inspected file.
+ * @see Runtime.Version#feature()
+ */
+public boolean sourceVersionGE(int feature) {
+return context.sourceVersion().ordinal() >= feature;
+}
+
 public boolean hasModifier(Variable variable, Modifier modifier) {
 return context.modifiers(variable).contains(modifier);
 }

-
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



[netbeans] 01/03: Disable unneeded workflows, lower CI load.

2022-01-10 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a commit to branch infra/gradle-lsp-stabilization
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 65f211ba6b71a46a8b5ab2922fe0c709d8c28cd4
Author: Svata Dedic 
AuthorDate: Mon Jan 10 14:22:10 2022 +0100

Disable unneeded workflows, lower CI load.
---
 .github/workflows/ensure-jdk8.yml  | 1 +
 .github/workflows/javadoc.yml  | 1 +
 .github/workflows/macos.yml| 1 +
 .github/workflows/native-binary-build-lib.profiler.yml | 1 +
 .github/workflows/php.yml  | 1 +
 .github/workflows/windows.yml  | 1 +
 6 files changed, 6 insertions(+)

diff --git a/.github/workflows/ensure-jdk8.yml 
b/.github/workflows/ensure-jdk8.yml
index a5dffec..a892d78 100644
--- a/.github/workflows/ensure-jdk8.yml
+++ b/.github/workflows/ensure-jdk8.yml
@@ -25,6 +25,7 @@ jobs:
   jdk11-jdk8:
 name: "Compile with JDK-11 and test something on JDK-8"
 runs-on: ubuntu-18.04
+if: ${{ false }}
 env:
   OPTS: -Dcluster.config=basic 
-Dtest-unit-sys-prop.ignore.random.failures=true
 steps:
diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml
index 1febbd3..b5da5d7 100644
--- a/.github/workflows/javadoc.yml
+++ b/.github/workflows/javadoc.yml
@@ -25,6 +25,7 @@ jobs:
   linux-javadoc:
 name: Check Javadoc
 runs-on: ubuntu-18.04
+if: ${{ false }}
 env:
   ANT_OPTS: 
-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 steps:
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 12d95c9..c933856 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -25,6 +25,7 @@ jobs:
   macos:
 name: Commit-validation (on Mac OS X)
 runs-on: macos-10.15
+if: ${{ false }}
 env:
   ANT_OPTS: 
-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 steps:
diff --git a/.github/workflows/native-binary-build-lib.profiler.yml 
b/.github/workflows/native-binary-build-lib.profiler.yml
index e5d2366..ecd9107 100644
--- a/.github/workflows/native-binary-build-lib.profiler.yml
+++ b/.github/workflows/native-binary-build-lib.profiler.yml
@@ -75,6 +75,7 @@ on:
 jobs:
   build-linux:
 
+if: ${{ false }}
 runs-on: ubuntu-latest
 
 steps:
diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml
index a6d7956..28837e5 100644
--- a/.github/workflows/php.yml
+++ b/.github/workflows/php.yml
@@ -25,6 +25,7 @@ jobs:
   linux-php:
 name: PHP on Linux
 runs-on: ubuntu-18.04
+if: ${{ false }}
 env:
   DISPLAY: ":99.0"
   ANT_OPTS: 
-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index ef2224a..a6e1ce7 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -25,6 +25,7 @@ jobs:
   windows:
 name: Check Windows
 runs-on: windows-2019
+if: ${{ false }}
 env:
   ANT_OPTS: 
-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 steps:

-
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



[netbeans] 02/03: Disable suites not needed in testing in Travis.

2022-01-10 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a commit to branch infra/gradle-lsp-stabilization
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 279075a558b81f9c233d5fb30fefb549f1bcc3d8
Author: Svata Dedic 
AuthorDate: Mon Jan 10 14:22:35 2022 +0100

Disable suites not needed in testing in Travis.
---
 .travis.yml | 586 
 1 file changed, 586 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 7793495..3dce681 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,300 +42,6 @@ git:
 
 matrix:
 include:
-- name: Check line endings and verify RAT report
-  script: 
-- nbbuild/travis/check-line-endings.sh
-- ant -quiet build-source-config
-- mkdir scratch
-- cd scratch
-- unzip -qq ../nbbuild/build/release-src*
-- ant -quiet rat -Drat-report.haltonfailure=true 
-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
-  
-- name: Verify libs and licenses
-  script:
-- ant verify-libs-and-licenses 
-Dverify-libs-and-licenses.haltonfailure=true 
-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
-
-- name: Run sigtests
-  jdk: openjdk8
-  env:
-- 
OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 -quiet -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false"
-  before_script:
-- ant $OPTS clean
-- ant $OPTS build
-  script:
-- ant $OPTS check-sigtests-release -Dfail.on.error=true
-- ant $OPTS gen-sigtests-release
-
-- name: Run gen-sigtests-release for platform cluster
-  jdk: openjdk8
-  script:
-- nbbuild/travis/gensigtest.sh
-
-- name: Pristine platform build
-  jdk: openjdk8
-  env:
-- 
ANT_OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false"
-  script: 
-- ant -quiet build-source-config -Dcluster.config=platform
-- mkdir tmpplatform
-- cd tmpplatform
-- unzip -qq ../nbbuild/build/platform-src*
-- ant build -Dcluster.config=platform
-
-- name: Compile all modules with OpenJDK8
-  jdk: openjdk8
-  env:
-- 
OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 -quiet -Dcluster.config=full -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false"
-  before_script:
-- ant $OPTS clean
-  script:
-- ant $OPTS build
-- ant $OPTS test -Dtest.includes=NoTestsJustBuild
-
-- name: Test harness modules
-  jdk: openjdk8
-  env:
-- 
OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 -quiet -Dcluster.config=platform -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false 
-Dtest-unit-sys-prop.ignore.random.failures=true -Dvanilla.javac.exists=true"
-  before_script:
-- ant $OPTS clean
-- ant $OPTS build
-  script:
-- ant $OPTS -f harness/o.n.insane test
-- ant $OPTS -f harness/apisupport.harness test
-- ant $OPTS -f harness/nbjunit test
-- ant $OPTS -f harness/jellytools.platform test 
-Dtest.config=stable
-
-- name: Test platform modules, Batch 1
-  jdk: openjdk8
-  env:
-- 
OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 -silent -Dcluster.config=platform -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false 
-Dtest-unit-sys-prop.ignore.random.failures=true -Dvanilla.javac.exists=true"
-  before_script:
-- ant $OPTS clean
-- ant $OPTS build
-  script:
-- travis_retry hide-logs.sh ant $OPTS -f platform/api.htmlui test
-- travis_retry hide-logs.sh ant $OPTS -f platform/htmlui test
-- hide-logs.sh ant $OPTS -f platform/api.intent test
-- hide-logs.sh ant $OPTS -f platform/api.io test
-- hide-logs.sh ant $OPTS -f platform/api.progress test
-- hide-logs.sh ant $OPTS -f platform/api.progress.nb test
-- hide-logs.sh ant $OPTS -f platform/api.scripting test
-- hide-logs.sh ant $OPTS -f platform/api.search test
-- hide-logs.sh ant $OPTS -f platform/api.templates test
-

[netbeans] 03/03: Added some system.err messages.

2022-01-10 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a commit to branch infra/gradle-lsp-stabilization
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit b58bfb78fef7e3df7d7ef53bf51c44631f60984d
Author: Svata Dedic 
AuthorDate: Mon Jan 10 14:22:51 2022 +0100

Added some system.err messages.
---
 .../modules/java/lsp/server/protocol/ServerTest.java | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git 
a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
 
b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
index a95ff42..8c09204 100644
--- 
a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
+++ 
b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
@@ -4857,19 +4857,25 @@ public class ServerTest extends NbTestCase {
 
 @Override
 public void notifyProgress(ProgressParams params) {
-assertEquals(token, params.getToken().getLeft());
+System.err.println("testCancelProgressHandle: Got progress 
notification: " + params);
+String t = token;
+System.err.println("testCancelProgressHandle: expecting token 
" + t);
+assertEquals(t, params.getToken().getLeft());
 assertTrue(params.getValue().isLeft());
 if (params.getValue().getLeft() instanceof 
WorkDoneProgressReport) {
 WorkDoneProgressReport rep = 
(WorkDoneProgressReport)params.getValue().getLeft();
 perCent = Math.max(perCent, rep.getPercentage());
+System.err.println("testCancelProgressHandle: updating 
perCent = " + perCent);
 }
 if (params.getValue().getLeft().getKind() == 
WorkDoneProgressKind.end) {
+System.err.println("testCancelProgressHandle: percent at 
end = " + perCent);
 progressEnd.countDown();
 }
 }
 
 @Override
 public CompletableFuture 
createProgress(WorkDoneProgressCreateParams params) {
+System.err.println("testCancelProgressHandle: Got progress 
create: " + params);
 assertNull(params.getToken().getRight());
 assertNotNull(params.getToken().getLeft());
 token = params.getToken().getLeft();
@@ -4883,6 +4889,7 @@ public class ServerTest extends NbTestCase {
 
 @Override
 public void showMessage(MessageParams params) {
+System.err.println("testCancelProgressHandle: Got message: " + 
params.getMessage());
 if (!Server.INDEXING_COMPLETED.equals(params.getMessage())) {
 throw new UnsupportedOperationException("Unexpected 
message.");
 }
@@ -4906,6 +4913,8 @@ public class ServerTest extends NbTestCase {
 ));
 // force initialization, so that System.err / out are captured in 
their original state.
 
+System.err.println("testCancelProgressHandle starting");
+
 IOProvider prov = IOProvider.getDefault();
 Launcher serverLauncher = 
LSPLauncher.createClientLauncher(lc, client.getInputStream(), 
client.getOutputStream());
 serverLauncher.startListening();
@@ -4926,6 +4935,7 @@ public class ServerTest extends NbTestCase {
 lc.progressEnd.await();
 
 // and finally check that the build interrupted before reaching 100%
+System.err.println("Current percent: " + lc.perCent);
 assertTrue(lc.perCent < 100);
 }
 

-
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



[netbeans] branch infra/gradle-lsp-stabilization created (now b58bfb7)

2022-01-10 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a change to branch infra/gradle-lsp-stabilization
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at b58bfb7  Added some system.err messages.

This branch includes the following new commits:

 new 65f211b  Disable unneeded workflows, lower CI load.
 new 279075a  Disable suites not needed in testing in Travis.
 new b58bfb7  Added some system.err messages.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


-
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



[netbeans] 01/01: Merge branch 'vscode/redefined-icons' into vsnetbeans_preview_1263

2022-01-10 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a commit to branch vsnetbeans_preview_1263
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit eb81b6be0e3fb06bbc4201d77b93bb38005a8f34
Merge: 806b0ef cae803b
Author: Svata Dedic 
AuthorDate: Mon Jan 10 11:52:44 2022 +0100

Merge branch 'vscode/redefined-icons' into vsnetbeans_preview_1263

 java/java.lsp.server/arch.xml  |   1 +
 java/java.lsp.server/licenseinfo.xml   |   6 +-
 .../nbcode/integration/nbproject/project.xml   |  26 +-
 .../nbcode/integration/UIDefaultsIconMetadata.java | 359 +
 java/java.lsp.server/nbproject/project.xml |   2 +-
 .../server/explorer/DefaultDecorationsImpl.java|   4 +-
 .../modules/java/lsp/server/explorer/TreeItem.java |  22 +-
 .../java/lsp/server/explorer/TreeNodeRegistry.java |  34 ++
 .../lsp/server/explorer/TreeNodeRegistryImpl.java  |  25 +-
 .../java/lsp/server/explorer/TreeViewProvider.java |  38 +++
 .../java/lsp/server/explorer/api/TreeItemData.java |   2 +-
 java/java.lsp.server/vscode/package.json   |  73 -
 .../vscode/schemas/package.schema.json |  42 +++
 java/java.lsp.server/vscode/src/explorer.ts| 195 ++-
 java/java.lsp.server/vscode/src/protocol.ts|   4 +
 platform/openide.util.ui/arch.xml  |  12 +
 platform/openide.util.ui/manifest.mf   |   2 +-
 .../src/org/openide/util/ImageUtilities.java   | 131 ++--
 .../src/org/openide/util/ImageUtilitiesTest.java   |  73 +
 19 files changed, 996 insertions(+), 55 deletions(-)

-
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



[netbeans] branch vsnetbeans_preview_1263 updated (806b0ef -> eb81b6b)

2022-01-10 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a change to branch vsnetbeans_preview_1263
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 806b0ef  Merge pull request #3434 from MartinBalin/vsix_12.6.301_docs
 add 6abd60d  Support URIs for images, i.e. images from UIDefaults.
 add 9511922  Added URI metadata to images from UIDefaults.
 add 0c38d11  Explicitly mark physical files the client can see.
 add 95c7849  Send image URI on the protocol.
 add e4d65f8  Allow to match and replace icons based on icon+node data.
 add cae803b  Licenses fixed.
 new eb81b6b  Merge branch 'vscode/redefined-icons' into 
vsnetbeans_preview_1263

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 java/java.lsp.server/arch.xml  |   1 +
 java/java.lsp.server/licenseinfo.xml   |   6 +-
 .../nbcode/integration/nbproject/project.xml   |  26 +-
 .../nbcode/integration/UIDefaultsIconMetadata.java | 359 +
 java/java.lsp.server/nbproject/project.xml |   2 +-
 .../server/explorer/DefaultDecorationsImpl.java|   4 +-
 .../modules/java/lsp/server/explorer/TreeItem.java |  22 +-
 .../java/lsp/server/explorer/TreeNodeRegistry.java |  34 ++
 .../lsp/server/explorer/TreeNodeRegistryImpl.java  |  25 +-
 .../java/lsp/server/explorer/TreeViewProvider.java |  38 +++
 .../java/lsp/server/explorer/api/TreeItemData.java |   2 +-
 java/java.lsp.server/vscode/package.json   |  73 -
 .../vscode/schemas/package.schema.json |  42 +++
 java/java.lsp.server/vscode/src/explorer.ts| 195 ++-
 java/java.lsp.server/vscode/src/protocol.ts|   4 +
 platform/openide.util.ui/arch.xml  |  12 +
 platform/openide.util.ui/manifest.mf   |   2 +-
 .../src/org/openide/util/ImageUtilities.java   | 131 ++--
 .../src/org/openide/util/ImageUtilitiesTest.java   |  73 +
 19 files changed, 996 insertions(+), 55 deletions(-)
 create mode 100644 
java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/UIDefaultsIconMetadata.java
 create mode 100644 java/java.lsp.server/vscode/schemas/package.schema.json

-
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



[netbeans] branch vsnetbeans_preview_1263 created (now 806b0ef)

2022-01-10 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to branch vsnetbeans_preview_1263
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at 806b0ef  Merge pull request #3434 from MartinBalin/vsix_12.6.301_docs

No new revisions were added by this update.

-
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



[netbeans] branch master updated (6565598 -> 806b0ef)

2022-01-10 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 6565598  LSP: Fixed broken code completion for super constructor call. 
(#3424)
 new 47e5bf6  VSIX doc changes for 12.6.301 release of NBLS
 new a154525  Updates after review
 new 806b0ef  Merge pull request #3434 from MartinBalin/vsix_12.6.301_docs

The 6407 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 java/java.lsp.server/vscode/CHANGELOG.md   |  10 --
 java/java.lsp.server/vscode/README.md  |  36 +
 .../vscode/images/change_method_params.png | Bin 0 -> 96454 bytes
 .../vscode/images/project-explorer.png | Bin 349921 -> 26531 bytes
 java/java.lsp.server/vscode/images/run_config.png  | Bin 0 -> 36223 bytes
 5 files changed, 37 insertions(+), 9 deletions(-)
 create mode 100644 java/java.lsp.server/vscode/images/change_method_params.png
 create mode 100644 java/java.lsp.server/vscode/images/run_config.png

-
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