[jira] [Commented] (NETBEANS-6067) git over ssh: "Incorrect credentials for repository"

2022-01-14 Thread Edward (Jira)


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

Edward commented on NETBEANS-6067:
--

My computer crashed and I lost my notes about this issue.  However the cause is 
that the jcraft JSCH library is old.  Google already moved away from it and 
Eclipse is in the process of replacing it.  A quick alternative for Netbeans is 
to use a fork of JSch-01.55 here [https://github.com/mwiede/jsch 
|https://github.com/mwiede/jsch]that is actually updated allowing modern 
encryption algorithms.

 

*References:*

Matez Blog the future of jsch without ssh-rsa 
[https://www.matez.de/index.php/2020/06/22/the-future-of-jsch-without-ssh-rsa]

Bug 520927: moving away from JSch 
[https://www.eclipse.org/lists/jgit-dev/msg03696.html]

Gerrit 3.4.0 Disables JCraft JSch client library by default 
[https://www.gerritcodereview.com/3.4.html]

 

> git over ssh: "Incorrect credentials for repository"
> 
>
> Key: NETBEANS-6067
> URL: https://issues.apache.org/jira/browse/NETBEANS-6067
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.5, 12.6
> Environment: Debian 11 Bullseye
> NetBeans 12.5
> java version "1.8.0_172"
>  Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
>  Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)
> git version 2.30.2
> ssh 1:8.4p1-5
>Reporter: Ronald Feicht
>Priority: Major
>
> When I try to "git fetch" from our git server I receive the following error: 
> "Incorrect credentials for repository at 
> ssh://git@srv06.scsynergy.local/var/scs-git/Java/Elementary" even though the 
> user name and password are correct.
> When I uncheck "Save Password" (edit: and provide the correct password) the 
> git fetch completes without error.
> When I use Netbeans 12.4 the git fetch also works with and without "Save 
> Password".
> tail ~/.netbeans/12.5/var/log/messages.log :
> INFO [org.netbeans.modules.git.ui.repository.remote.SelectUriStep]: Auth 
> failed when accessing 
> ssh://git@srv06.scsynergy.local/var/scs-git/Java/Elementary
> com.jcraft.jsch.JSchException: Auth fail
> at com.jcraft.jsch.Session.connect(Session.java:519)
> at 
> org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:112)
> Caused: org.eclipse.jgit.errors.TransportException: 
> ssh://git@srv06.scsynergy.local/var/scs-git/Java/Elementary: Auth fail
> at 
> org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:158)
> at 
> org.netbeans.libs.git.jgit.JGitSshSessionFactory.getSession(JGitSshSessionFactory.java:100)
> at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:107)
> at 
> org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.(TransportGitSsh.java:247)
> at 
> org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:137)
> at 
> org.netbeans.libs.git.jgit.commands.ListRemoteObjectsCommand.runTransportCommand(ListRemoteObjectsCommand.java:51)
> Caused: org.netbeans.libs.git.GitException$AuthorizationException: 
> ssh://git@srv06.scsynergy.local/var/scs-git/Java/Elementary: Auth fail
> at 
> org.netbeans.libs.git.jgit.commands.TransportCommand.handleException(TransportCommand.java:235)
> at 
> org.netbeans.libs.git.jgit.commands.ListRemoteObjectsCommand.runTransportCommand(ListRemoteObjectsCommand.java:64)
> at 
> org.netbeans.libs.git.jgit.commands.TransportCommand.run(TransportCommand.java:168)
> at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:57)
> at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:54)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:54)
> at org.netbeans.libs.git.GitClient.listRemoteBranches(GitClient.java:893)
> at org.netbeans.modules.git.client.GitClient$36.call(GitClient.java:582)
> at org.netbeans.modules.git.client.GitClient$36.call(GitClient.java:578)
> at 
> org.openide.util.NetworkSettings.suppressAuthenticationDialog(NetworkSettings.java:138)
> at 
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1.call(GitClient.java:931)
> at 
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1.call(GitClient.java:937)
> at 
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1.call(GitClient.java:956)
> at 
> org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethodIntern(GitClient.java:968)
> at 
> org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethod(GitClient.java:897)
> at 
> org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethod(GitClient.java:875)
> at 
> org.netbeans.modules.git.client.GitClient$CommandInvoker.access$400(GitClient.java:869)
> at 
> 

[jira] [Updated] (NETBEANS-3273) Cannot run Payara 5 under JDK 8

2022-01-14 Thread John (Jira)


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

John updated NETBEANS-3273:
---
Affects Version/s: 12.6

> Cannot run Payara 5 under JDK 8
> ---
>
> Key: NETBEANS-3273
> URL: https://issues.apache.org/jira/browse/NETBEANS-3273
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - GlassFish
>Affects Versions: 11.1, 11.2, 12.4, 12.6
>Reporter: Stephen Parry
>Priority: Major
>
> On Linux (not sure about other platforms), running Payara using JDK 8 gives 
> the following error on Services -> server -> Payara -> start:
> Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> Steps to reproduce:
> # Ensure host system has JDK 11 (as default) and JDK 8 installed
> # Clean install NB 11.1 or 11.2 with JDK 11 as chosen JVM and activate all 
> modules
> # Use platform manager to add JDK 8 as new platform.
> # Add a Payara 5.192 or 5.193 server
> # Services -> Server -> Payara Server -> Properties -> Java -> Java Platform: 
> JDK 8 -> Close
> # Services -> Server -> Payara Server -> Start
> Expected behaviour:
> Successful startup messages in Payara Server console
> Actual behaviour:
> Failure messages in Payara Server console:
> Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> This is a known issue in the original Payara eclipse plugin tooling, see:
> [https://github.com/payara/ecosystem-eclipse-plugin/issues/11|https://github.com/payara/ecosystem-eclipse-plugin/issues/11]



--
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-3273) Cannot run Payara 5 under JDK 8

2022-01-14 Thread John (Jira)


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

John commented on NETBEANS-3273:


This is still a problem with Netbeans 12.6.

*System:*

Ubuntu 21.10


{*}IDE{*}:


*Product Version:* Apache NetBeans IDE 12.6

*Java:* 18-ea; OpenJDK 64-Bit Server VM 18-ea+15-Ubuntu-4

*Runtime:* OpenJDK Runtime Environment 18-ea+15-Ubuntu-4

*System:* Linux version 5.13.0-25-generic running on amd64; UTF-8; en_US (nb)

*User directory:* /home/john/.netbeans/12.6

*Cache directory:* /home/john/.cache/netbeans/12.6

 

*Server:* 

Payara 5.2021.9


*JDK Platforms:*

JDK 1.8:

{{$ /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java -version}}
{{openjdk version "1.8.0_312"}}
{{OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~21.10-b07)}}
{{OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)}}

JDK 18 (Default):

{{$ /usr/lib/jvm/java-18-openjdk-amd64/bin/java -version}}
{{openjdk version "18-ea" 2022-03-15}}
{{OpenJDK Runtime Environment (build 18-ea+15-Ubuntu-4)}}
{{OpenJDK 64-Bit Server VM (build 18-ea+15-Ubuntu-4, mixed mode, sharing)}}

 

> Cannot run Payara 5 under JDK 8
> ---
>
> Key: NETBEANS-3273
> URL: https://issues.apache.org/jira/browse/NETBEANS-3273
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - GlassFish
>Affects Versions: 11.1, 11.2, 12.4
>Reporter: Stephen Parry
>Priority: Major
>
> On Linux (not sure about other platforms), running Payara using JDK 8 gives 
> the following error on Services -> server -> Payara -> start:
> Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> Steps to reproduce:
> # Ensure host system has JDK 11 (as default) and JDK 8 installed
> # Clean install NB 11.1 or 11.2 with JDK 11 as chosen JVM and activate all 
> modules
> # Use platform manager to add JDK 8 as new platform.
> # Add a Payara 5.192 or 5.193 server
> # Services -> Server -> Payara Server -> Properties -> Java -> Java Platform: 
> JDK 8 -> Close
> # Services -> Server -> Payara Server -> Start
> Expected behaviour:
> Successful startup messages in Payara Server console
> Actual behaviour:
> Failure messages in Payara Server console:
> Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> This is a known issue in the original Payara eclipse plugin tooling, see:
> [https://github.com/payara/ecosystem-eclipse-plugin/issues/11|https://github.com/payara/ecosystem-eclipse-plugin/issues/11]



--
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] [Resolved] (NETBEANS-6390) Netbeans Apache web site (especially the documentation part) is seriously broken

2022-01-14 Thread Antonio Vieiro (Jira)


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

Antonio Vieiro resolved NETBEANS-6390.
--
Resolution: Implemented

> Netbeans Apache web site (especially the documentation part) is seriously 
> broken
> 
>
> Key: NETBEANS-6390
> URL: https://issues.apache.org/jira/browse/NETBEANS-6390
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Reporter: Jean-Marc Borer
>Assignee: Jean-Marc Borer
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> While looking for documentation, I was browsing the apache web site and it 
> seems seriously broken. When I follow the pages from 
> [https://netbeans.apache.org/] I get:
> [https://netbeans.apache.org/kb/docs/platform.html]
>  where a lot of links are broken. Even the images.
>  
> When I find a page through google I get:
> [https://netbeans.apache.org/kb/docs/platform/] 
> the page is fine!!
>  
> Notice the difference? Currently the site is not properly browesable. Only 
> google allows you to find the proper pages, if you know what you are looking 
> for...
>  
> The broken version has as well links with http instead of https (look for the 
> netbeans platform faq on the page above).
>  
> The links to the previously package info are broken as well...
>  



--
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-6390) Netbeans Apache web site (especially the documentation part) is seriously broken

2022-01-14 Thread Antonio Vieiro (Jira)


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

Antonio Vieiro commented on NETBEANS-6390:
--

Sorry by that!

> Netbeans Apache web site (especially the documentation part) is seriously 
> broken
> 
>
> Key: NETBEANS-6390
> URL: https://issues.apache.org/jira/browse/NETBEANS-6390
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Reporter: Jean-Marc Borer
>Assignee: Jean-Marc Borer
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> While looking for documentation, I was browsing the apache web site and it 
> seems seriously broken. When I follow the pages from 
> [https://netbeans.apache.org/] I get:
> [https://netbeans.apache.org/kb/docs/platform.html]
>  where a lot of links are broken. Even the images.
>  
> When I find a page through google I get:
> [https://netbeans.apache.org/kb/docs/platform/] 
> the page is fine!!
>  
> Notice the difference? Currently the site is not properly browesable. Only 
> google allows you to find the proper pages, if you know what you are looking 
> for...
>  
> The broken version has as well links with http instead of https (look for the 
> netbeans platform faq on the page above).
>  
> The links to the previously package info are broken as well...
>  



--
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-6390) Netbeans Apache web site (especially the documentation part) is seriously broken

2022-01-14 Thread Antonio Vieiro (Jira)


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

Antonio Vieiro commented on NETBEANS-6390:
--

D'oh. I created one, but merged it by accident. Shall I rollback?

> Netbeans Apache web site (especially the documentation part) is seriously 
> broken
> 
>
> Key: NETBEANS-6390
> URL: https://issues.apache.org/jira/browse/NETBEANS-6390
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Reporter: Jean-Marc Borer
>Assignee: Jean-Marc Borer
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> While looking for documentation, I was browsing the apache web site and it 
> seems seriously broken. When I follow the pages from 
> [https://netbeans.apache.org/] I get:
> [https://netbeans.apache.org/kb/docs/platform.html]
>  where a lot of links are broken. Even the images.
>  
> When I find a page through google I get:
> [https://netbeans.apache.org/kb/docs/platform/] 
> the page is fine!!
>  
> Notice the difference? Currently the site is not properly browesable. Only 
> google allows you to find the proper pages, if you know what you are looking 
> for...
>  
> The broken version has as well links with http instead of https (look for the 
> netbeans platform faq on the page above).
>  
> The links to the previously package info are broken as well...
>  



--
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-website] branch master updated: [NETBEANS-6390] Update platform.asciidoc

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 90b78b9  [NETBEANS-6390] Update platform.asciidoc
90b78b9 is described below

commit 90b78b9395672865d875b75b48481c786344f706
Author: Antonio Vieiro 
AuthorDate: Fri Jan 14 21:03:06 2022 +0100

[NETBEANS-6390] Update platform.asciidoc
---
 .../src/content/kb/docs/platform.asciidoc  | 273 +
 1 file changed, 169 insertions(+), 104 deletions(-)

diff --git a/netbeans.apache.org/src/content/kb/docs/platform.asciidoc 
b/netbeans.apache.org/src/content/kb/docs/platform.asciidoc
index 7923efd..e8625b7 100644
--- a/netbeans.apache.org/src/content/kb/docs/platform.asciidoc
+++ b/netbeans.apache.org/src/content/kb/docs/platform.asciidoc
@@ -28,78 +28,178 @@
 :toc-title:
 :description: NetBeans Platform Learning Trail - Apache NetBeans
 :keywords: Apache NetBeans, Tutorials, NetBeans Platform Learning Trail
+:reviewed: 2022-01-14
 
 
 == What is the NetBeans Platform?
 
-The NetBeans Platform is a broad Java framework on which you can base large 
desktop applications. NetBeans IDE itself is 
link:http://platform.netbeans.org/screenshots.html[+one of the hundreds of 
applications+] based on the NetBeans Platform. The NetBeans Platform contains 
APIs that simplify the handling of windows, actions, files, and many other 
things typical in applications.
+The NetBeans Platform is a broad Java framework on which you can base large 
desktop applications. 
 
-Each distinct feature in a NetBeans Platform application can be provided by a 
distinct NetBeans module, which is comparable to a plugin. A NetBeans module is 
a group of Java classes that provides an application with a specific feature.
+See link:https://en.wikipedia.org/wiki/List_of_NetBeans-based_software[a list 
of NetBeans based applications]
+that have been built on top of the NetBeans platform.
 
-You can also create new modules for NetBeans IDE itself. For example, you can 
write modules that make your favorite cutting-edge technologies available to 
users of NetBeans IDE. Alternatively, you might create a module to provide an 
additional editor feature.
+NOTE: The fact that we use the NetBeans Platform to build the NetBeans IDE 
does not mean that
+you can only build IDEs with it. People design planes, manage airports and 
harbors, manage satellite
+earth stations, build passenger information systems, design radar systems, 
play music, paint complex
+graphs and more using the NetBeans Platform.
 
-== Getting Started
+The NetBeans Platform contains APIs that simplify the handling of windows,
+actions, files, user selection and many other things typical in desktop based
+applications. This greatly makes things easier for you, reducing the
+time-to-market required to create great applications.
 
-* link:http://bits.netbeans.org/dev/javadoc/[+NetBeans API Javadoc+] 
(link:https://netbeans.org/downloads/zip.html[+download javadoc.zip for offline 
viewing+])
-* link:https://mail-archives.apache.org/mod_mbox/netbeans-dev/[+NetBeans 
Developer Mailing List+]
-* link:http://wiki.netbeans.org/NetBeansDeveloperFAQ[+NetBeans Developer FAQ+]
-* link:https://netbeans.apache.org/tutorials/nbm-google.html[+NetBeans Plugin 
Quick Start+]
-* link:https://netbeans.apache.org/tutorials/nbm-quick-start.html[+NetBeans 
Platform Quick Start+]
-* link:https://netbeans.apache.org/tutorials/nbm-dukescript.html[+NetBeans 
Platform Plugins with DukeScript+]
-* What's New in NetBeans Platform 
link:http://platform.netbeans.org/whatsnew/65.html[+6.5+], 
link:http://platform.netbeans.org/whatsnew/67.html[+6.7+], 
link:http://platform.netbeans.org/whatsnew/68.html[+6.8+], 
link:http://platform.netbeans.org/whatsnew/69.html[+6.9+], 
link:http://platform.netbeans.org/whatsnew/70.html[+7.0+], 
link:http://platform.netbeans.org/whatsnew/71.html[+7.1+], 
link:http://platform.netbeans.org/whatsnew/72.html[+7.2+], 
link:http://bits.netbeans.org/7.2.1/javadoc/a [...]
+Of course great power comes with great responsiblity, so you have to learn
+how to use the NetBeans Platform before taking advantage of its full potential.
+This page may be of help.
 
-== Porting
+== Reference
 
-* link:https://netbeans.apache.org/tutorials/nbm-porting-basic.html[+Porting 
Swing Components+]
-* link:https://netbeans.apache.org/tutorials/nbm-javafx.html[+Porting JavaFX 
Components+]
+This section contains links to books, refcards, blogs and videos that you
+may consider useful while learning the NetBeans Platform.
+
+=== Books
+
+This is a list of books that may help you get started. Some of them are
+somewhat old, but NetBeans main concepts have not evolved that much, and most
+of them are still up to date.
+
+* link:https://leanpub.com/nbp4beginners[+"Apache NetBeans Platform for 
Beginners"+]
+* 

[netbeans-website] branch hotfix/NETBEANS-6390 created (now 20d21d2)

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

vieiro pushed a change to branch hotfix/NETBEANS-6390
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


  at 20d21d2  [NETBEANS-6390] Update platform.asciidoc

This branch includes the following new commits:

 new 20d21d2  [NETBEANS-6390] Update platform.asciidoc

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.


-
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-website] 01/01: [NETBEANS-6390] Update platform.asciidoc

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

vieiro pushed a commit to branch hotfix/NETBEANS-6390
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 20d21d29ead0ea04c2b5f771a979c409d7fe42ef
Author: Antonio Vieiro 
AuthorDate: Fri Jan 14 21:02:15 2022 +0100

[NETBEANS-6390] Update platform.asciidoc
---
 .../src/content/kb/docs/platform.asciidoc  | 273 +
 1 file changed, 169 insertions(+), 104 deletions(-)

diff --git a/netbeans.apache.org/src/content/kb/docs/platform.asciidoc 
b/netbeans.apache.org/src/content/kb/docs/platform.asciidoc
index 7923efd..e8625b7 100644
--- a/netbeans.apache.org/src/content/kb/docs/platform.asciidoc
+++ b/netbeans.apache.org/src/content/kb/docs/platform.asciidoc
@@ -28,78 +28,178 @@
 :toc-title:
 :description: NetBeans Platform Learning Trail - Apache NetBeans
 :keywords: Apache NetBeans, Tutorials, NetBeans Platform Learning Trail
+:reviewed: 2022-01-14
 
 
 == What is the NetBeans Platform?
 
-The NetBeans Platform is a broad Java framework on which you can base large 
desktop applications. NetBeans IDE itself is 
link:http://platform.netbeans.org/screenshots.html[+one of the hundreds of 
applications+] based on the NetBeans Platform. The NetBeans Platform contains 
APIs that simplify the handling of windows, actions, files, and many other 
things typical in applications.
+The NetBeans Platform is a broad Java framework on which you can base large 
desktop applications. 
 
-Each distinct feature in a NetBeans Platform application can be provided by a 
distinct NetBeans module, which is comparable to a plugin. A NetBeans module is 
a group of Java classes that provides an application with a specific feature.
+See link:https://en.wikipedia.org/wiki/List_of_NetBeans-based_software[a list 
of NetBeans based applications]
+that have been built on top of the NetBeans platform.
 
-You can also create new modules for NetBeans IDE itself. For example, you can 
write modules that make your favorite cutting-edge technologies available to 
users of NetBeans IDE. Alternatively, you might create a module to provide an 
additional editor feature.
+NOTE: The fact that we use the NetBeans Platform to build the NetBeans IDE 
does not mean that
+you can only build IDEs with it. People design planes, manage airports and 
harbors, manage satellite
+earth stations, build passenger information systems, design radar systems, 
play music, paint complex
+graphs and more using the NetBeans Platform.
 
-== Getting Started
+The NetBeans Platform contains APIs that simplify the handling of windows,
+actions, files, user selection and many other things typical in desktop based
+applications. This greatly makes things easier for you, reducing the
+time-to-market required to create great applications.
 
-* link:http://bits.netbeans.org/dev/javadoc/[+NetBeans API Javadoc+] 
(link:https://netbeans.org/downloads/zip.html[+download javadoc.zip for offline 
viewing+])
-* link:https://mail-archives.apache.org/mod_mbox/netbeans-dev/[+NetBeans 
Developer Mailing List+]
-* link:http://wiki.netbeans.org/NetBeansDeveloperFAQ[+NetBeans Developer FAQ+]
-* link:https://netbeans.apache.org/tutorials/nbm-google.html[+NetBeans Plugin 
Quick Start+]
-* link:https://netbeans.apache.org/tutorials/nbm-quick-start.html[+NetBeans 
Platform Quick Start+]
-* link:https://netbeans.apache.org/tutorials/nbm-dukescript.html[+NetBeans 
Platform Plugins with DukeScript+]
-* What's New in NetBeans Platform 
link:http://platform.netbeans.org/whatsnew/65.html[+6.5+], 
link:http://platform.netbeans.org/whatsnew/67.html[+6.7+], 
link:http://platform.netbeans.org/whatsnew/68.html[+6.8+], 
link:http://platform.netbeans.org/whatsnew/69.html[+6.9+], 
link:http://platform.netbeans.org/whatsnew/70.html[+7.0+], 
link:http://platform.netbeans.org/whatsnew/71.html[+7.1+], 
link:http://platform.netbeans.org/whatsnew/72.html[+7.2+], 
link:http://bits.netbeans.org/7.2.1/javadoc/a [...]
+Of course great power comes with great responsiblity, so you have to learn
+how to use the NetBeans Platform before taking advantage of its full potential.
+This page may be of help.
 
-== Porting
+== Reference
 
-* link:https://netbeans.apache.org/tutorials/nbm-porting-basic.html[+Porting 
Swing Components+]
-* link:https://netbeans.apache.org/tutorials/nbm-javafx.html[+Porting JavaFX 
Components+]
+This section contains links to books, refcards, blogs and videos that you
+may consider useful while learning the NetBeans Platform.
+
+=== Books
+
+This is a list of books that may help you get started. Some of them are
+somewhat old, but NetBeans main concepts have not evolved that much, and most
+of them are still up to date.
+
+* link:https://leanpub.com/nbp4beginners[+"Apache NetBeans Platform for 
Beginners"+]
+* link:http://www.apress.com/9781430241010[+"The Definitive Guide to NetBeans 
Platform 7"+]
+* 

[jira] [Assigned] (NETBEANS-5831) Create a SQL Standard Quoter for Use with Connectionless Cases

2022-01-14 Thread Eric Bresie (Jira)


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

Eric Bresie reassigned NETBEANS-5831:
-

Assignee: Eric Bresie

> Create a SQL Standard Quoter for Use with Connectionless Cases
> --
>
> Key: NETBEANS-5831
> URL: https://issues.apache.org/jira/browse/NETBEANS-5831
> Project: NetBeans
>  Issue Type: Improvement
>  Components: db - SQL Editor
>Affects Versions: 12.4
>Reporter: Eric Bresie
>Assignee: Eric Bresie
>Priority: Minor
>  Labels: sql
>
> Based on "NETBEANS-189 SQL editor, shouldn't ask evertime to set the 
> connection", it was found when connectionless case occurs, this prevented 
> auto completion because it relies on connection (DB metadata) based class to 
> return back identifiers which may require further "quoting" to accomidate 
> different DB vendor quotring behavior.  When connection is not available, the 
> db metadata based class does not provide back any usable token for use in 
> auto completion and more specifically when quoting these identifier tokens.  
> Initial changes in PR-2820 handle specific cases to handled null quoter (due 
> to lack of a connection) where applicable to allow autocompletion without 
> connection to occur.  As part of the review of PR, It was suggested to 
> refactor some of this code to develop "ConnectionLess" functionality to 
> better isolate the connection vs connectionless functionality.  This may 
> involve development of a Standard SQL Quoter to accomidate basic SQL quoter 
> logic not dependent on a connection (and metadata based identifiers).  
> From NETBEANS-189 comments:
> {code:java}
> (6) Potentially larger architectural change may be needed to allow for 
> Connection or Connectionless cases involving changes (rather than case by 
> case changes in a number of places), which may involve introducing a new 
> "Standard SQL Quoter" class for use when connection is not available instead 
> of the Metadata (from the connection based handling of identifiers) which I 
> suggest needs a separate ticket to create a Standard SQL Quoter class and 
> retrofit the code as part of that work.
> The Standard SQl Quoter may involve standardized quoting of identifiers 
> similar to what is discussed here 
> https://www.w3resource.com/sql/sql-syntax.php#IDENTIF ). For this, would need 
> to better understand what the expected input/outputs are for this and what 
> kind of tests would be needed to confirm this does as expected beyond the 
> existing sql tests.
> (7) There may be another SQL improvements ticket to raise to account for 
> additional possible missing autocomplete tokens like what is listed in the w3 
> reference above which mentions after "SELECT" there can be optionally 
> "DISTINCT | ALL" and either a wildcard ("*"). This is different from 
> selection list of possible connection based identifiers.
> {code}
> Reference:
> # https://issues.apache.org/jira/browse/NETBEANS-189
> # https://github.com/apache/netbeans/pull/2820



--
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 master updated: [jackpot] support for INT_LITERAL variables in conditions.

2022-01-14 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 b2b5e95  [jackpot] support for INT_LITERAL variables in conditions.
 new 4559136  Merge pull request #3439 from mbien/sourceversion2
b2b5e95 is described below

commit b2b5e95363c4af491d854ccb96c0b8cee1734f21
Author: Michael Bien 
AuthorDate: Mon Jan 10 22:30:25 2022 +0100

[jackpot] support for INT_LITERAL variables in conditions.
---
 .../modules/java/hints/declarative/Condition.java|  1 +
 .../java/hints/declarative/DeclarativeHintsParser.java   |  3 +++
 .../java/hints/declarative/MethodInvocationContext.java  |  7 ++-
 .../java/hints/declarative/conditionapi/Variable.java|  5 +
 .../hints/declarative/DeclarativeHintsParserTest.java| 16 ++--
 5 files changed, 29 insertions(+), 3 deletions(-)

diff --git 
a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/Condition.java
 
b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/Condition.java
index 044f992..28dc570 100644
--- 
a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/Condition.java
+++ 
b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/Condition.java
@@ -122,6 +122,7 @@ public abstract class Condition {
 public enum ParameterKind {
 VARIABLE,
 STRING_LITERAL,
+INT_LITERAL,
 ENUM_CONSTANT;
 }
 }
diff --git 
a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/DeclarativeHintsParser.java
 
b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/DeclarativeHintsParser.java
index bf4729c..3947e4f 100644
--- 
a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/DeclarativeHintsParser.java
+++ 
b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/DeclarativeHintsParser.java
@@ -508,6 +508,9 @@ public class DeclarativeHintsParser {
 case STRING_LITERAL:
 params.put(((LiteralTree) 
t).getValue().toString(), ParameterKind.STRING_LITERAL);
 break;
+case INT_LITERAL:
+params.put(((LiteralTree) 
t).getValue().toString(), ParameterKind.INT_LITERAL);
+break;
 case IDENTIFIER:
 String name = ((IdentifierTree) 
t).getName().toString();
 
diff --git 
a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/MethodInvocationContext.java
 
b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/MethodInvocationContext.java
index 13f8747..a074654 100644
--- 
a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/MethodInvocationContext.java
+++ 
b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/MethodInvocationContext.java
@@ -34,7 +34,6 @@ import java.util.Map.Entry;
 import java.util.concurrent.atomic.AtomicInteger;
 import org.netbeans.api.annotations.common.NonNull;
 import org.netbeans.api.java.classpath.ClassPath;
-import org.netbeans.api.java.platform.JavaPlatform;
 import 
org.netbeans.modules.java.hints.declarative.Condition.MethodInvocation.ParameterKind;
 import org.netbeans.modules.java.hints.declarative.conditionapi.Context;
 import 
org.netbeans.modules.java.hints.declarative.conditionapi.DefaultRuleUtilities;
@@ -68,6 +67,9 @@ public class MethodInvocationContext {
 case STRING_LITERAL:
 paramTypes.add(String.class);
 break;
+case INT_LITERAL:
+paramTypes.add(int.class);
+break;
 case ENUM_CONSTANT:
 Enum constant = loadEnumConstant(e.getKey());
 
@@ -140,6 +142,9 @@ public class MethodInvocationContext {
 case STRING_LITERAL:
 toAdd = e.getKey();
 break;
+case INT_LITERAL:
+toAdd = Integer.valueOf(e.getKey());
+break;
 case ENUM_CONSTANT:
 Enum constant = loadEnumConstant(e.getKey());
 
diff --git 
a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/Variable.java
 
b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/Variable.java
index 53193ec..f9065da 100644
--- 
a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/Variable.java
+++ 
b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/Variable.java
@@ -38,4 +38,9 @@ public class Variable {
 

[jira] [Updated] (NETBEANS-6392) Netbeans 12.6 is blocked on save

2022-01-14 Thread ulspide (Jira)


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

ulspide updated NETBEANS-6392:
--
Description: 
When I use Netbeans, I find that during backups Netbeans is blocked (I use CTRL 
+ S on a file).

Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
Manager and restart.

A screenshot :

!image-2022-01-14-19-41-22-343.png|width=1017,height=348!

Memory when I kill Netbeans (so high for 2 small java project) :

!image-2022-01-14-20-03-38-491.png|width=657,height=99!

I add logs files.

I have the same issue on Netbeans 12.5, the latest version does not fix the 
issue. I tried to change JDK, increase memory...

 

  was:
When I use Netbeans, I find that during backups Netbeans is blocked (I use CTRL 
+ S on a file).

Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
Manager and restart.

A screenshot :

!image-2022-01-14-19-41-22-343.png!

Memory when I kill Netbeans (so high for 2 small java project) :

!image-2022-01-14-20-03-38-491.png!

I add logs files.

I have the same issue on Netbeans 12.5, the latest version does not fix the 
issue. I tried to change JDK, increase memory...

 


> Netbeans 12.6 is blocked on save
> 
>
> Key: NETBEANS-6392
> URL: https://issues.apache.org/jira/browse/NETBEANS-6392
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 12.6
>Reporter: ulspide
>Priority: Major
> Attachments: TokenAPILCLServiceTestIT_8.dump, 
> image-2022-01-14-19-41-22-343.png, image-2022-01-14-20-03-38-491.png, 
> messages-backup.log
>
>
> When I use Netbeans, I find that during backups Netbeans is blocked (I use 
> CTRL + S on a file).
> Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
> Manager and restart.
> A screenshot :
> !image-2022-01-14-19-41-22-343.png|width=1017,height=348!
> Memory when I kill Netbeans (so high for 2 small java project) :
> !image-2022-01-14-20-03-38-491.png|width=657,height=99!
> I add logs files.
> I have the same issue on Netbeans 12.5, the latest version does not fix the 
> issue. I tried to change JDK, increase memory...
>  



--
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-6392) Netbeans 12.6 is blocked on save

2022-01-14 Thread ulspide (Jira)


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

ulspide updated NETBEANS-6392:
--
Description: 
When I use Netbeans, I find that during backups Netbeans is blocked (I use CTRL 
+ S on a file).

Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
Manager and restart.

A screenshot :

!image-2022-01-14-19-41-22-343.png!

Memory when I kill Netbeans (so high for 2 small java project) :

!image-2022-01-14-20-03-38-491.png!

I add logs files.

I have the same issue on Netbeans 12.5, the latest version does not fix the 
issue. I tried to change JDK, increase memory...

 

  was:
When I use Netbeans, I find that during backups Netbeans is blocked (I use CTRL 
+ S on a file).

Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
Manager and restart.

A screenshot :

!image-2022-01-14-19-41-22-343.png!

I add logs files.

I have the same issue on Netbeans 12.5, the latest version does not fix the 
issue. I tried to change JDK, increase memory...

 


> Netbeans 12.6 is blocked on save
> 
>
> Key: NETBEANS-6392
> URL: https://issues.apache.org/jira/browse/NETBEANS-6392
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 12.6
>Reporter: ulspide
>Assignee: ulspide
>Priority: Major
> Attachments: TokenAPILCLServiceTestIT_8.dump, 
> image-2022-01-14-19-41-22-343.png, image-2022-01-14-20-03-38-491.png, 
> messages-backup.log
>
>
> When I use Netbeans, I find that during backups Netbeans is blocked (I use 
> CTRL + S on a file).
> Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
> Manager and restart.
> A screenshot :
> !image-2022-01-14-19-41-22-343.png!
> Memory when I kill Netbeans (so high for 2 small java project) :
> !image-2022-01-14-20-03-38-491.png!
> I add logs files.
> I have the same issue on Netbeans 12.5, the latest version does not fix the 
> issue. I tried to change JDK, increase memory...
>  



--
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] [Assigned] (NETBEANS-6392) Netbeans 12.6 is blocked on save

2022-01-14 Thread ulspide (Jira)


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

ulspide reassigned NETBEANS-6392:
-

Assignee: (was: ulspide)

> Netbeans 12.6 is blocked on save
> 
>
> Key: NETBEANS-6392
> URL: https://issues.apache.org/jira/browse/NETBEANS-6392
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 12.6
>Reporter: ulspide
>Priority: Major
> Attachments: TokenAPILCLServiceTestIT_8.dump, 
> image-2022-01-14-19-41-22-343.png, image-2022-01-14-20-03-38-491.png, 
> messages-backup.log
>
>
> When I use Netbeans, I find that during backups Netbeans is blocked (I use 
> CTRL + S on a file).
> Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
> Manager and restart.
> A screenshot :
> !image-2022-01-14-19-41-22-343.png!
> Memory when I kill Netbeans (so high for 2 small java project) :
> !image-2022-01-14-20-03-38-491.png!
> I add logs files.
> I have the same issue on Netbeans 12.5, the latest version does not fix the 
> issue. I tried to change JDK, increase memory...
>  



--
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-6392) Netbeans 12.6 is blocked on save

2022-01-14 Thread ulspide (Jira)


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

ulspide updated NETBEANS-6392:
--
Attachment: image-2022-01-14-20-03-38-491.png

> Netbeans 12.6 is blocked on save
> 
>
> Key: NETBEANS-6392
> URL: https://issues.apache.org/jira/browse/NETBEANS-6392
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 12.6
>Reporter: ulspide
>Assignee: ulspide
>Priority: Major
> Attachments: TokenAPILCLServiceTestIT_8.dump, 
> image-2022-01-14-19-41-22-343.png, image-2022-01-14-20-03-38-491.png, 
> messages-backup.log
>
>
> When I use Netbeans, I find that during backups Netbeans is blocked (I use 
> CTRL + S on a file).
> Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
> Manager and restart.
> A screenshot :
> !image-2022-01-14-19-41-22-343.png!
> I add logs files.
> I have the same issue on Netbeans 12.5, the latest version does not fix the 
> issue. I tried to change JDK, increase memory...
>  



--
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] [Assigned] (NETBEANS-6392) Netbeans 12.6 is blocked on save

2022-01-14 Thread ulspide (Jira)


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

ulspide reassigned NETBEANS-6392:
-

Assignee: ulspide

> Netbeans 12.6 is blocked on save
> 
>
> Key: NETBEANS-6392
> URL: https://issues.apache.org/jira/browse/NETBEANS-6392
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 12.6
>Reporter: ulspide
>Assignee: ulspide
>Priority: Major
> Attachments: TokenAPILCLServiceTestIT_8.dump, 
> image-2022-01-14-19-41-22-343.png, messages-backup.log
>
>
> When I use Netbeans, I find that during backups Netbeans is blocked (I use 
> CTRL + S on a file).
> Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
> Manager and restart.
> A screenshot :
> !image-2022-01-14-19-41-22-343.png!
> I add logs files.
> I have the same issue on Netbeans 12.5, the latest version does not fix the 
> issue. I tried to change JDK, increase memory...
>  



--
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-6392) Netbeans 12.6 is blocked on save

2022-01-14 Thread ulspide (Jira)


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

ulspide updated NETBEANS-6392:
--
Description: 
When I use Netbeans, I find that during backups Netbeans is blocked (I use CTRL 
+ S on a file).

Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
Manager and restart.

A screenshot :

!image-2022-01-14-19-41-22-343.png!

I add logs files.

I have the same issue on Netbeans 12.5, the latest version does not fix the 
issue. I tried to change JDK, increase memory...

 

  was:
When I use Netbeans, I find that during backups Netbeans is blocked (I use CTRL 
+ S on a file).

Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
Manager and restart.

A screenshot :

!image-2022-01-14-19-41-22-343.png!

I add logs files.

 

 


> Netbeans 12.6 is blocked on save
> 
>
> Key: NETBEANS-6392
> URL: https://issues.apache.org/jira/browse/NETBEANS-6392
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 12.6
>Reporter: ulspide
>Priority: Major
> Attachments: TokenAPILCLServiceTestIT_8.dump, 
> image-2022-01-14-19-41-22-343.png, messages-backup.log
>
>
> When I use Netbeans, I find that during backups Netbeans is blocked (I use 
> CTRL + S on a file).
> Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
> Manager and restart.
> A screenshot :
> !image-2022-01-14-19-41-22-343.png!
> I add logs files.
> I have the same issue on Netbeans 12.5, the latest version does not fix the 
> issue. I tried to change JDK, increase memory...
>  



--
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-6392) Netbeans 12.6 is blocked on save

2022-01-14 Thread ulspide (Jira)


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

ulspide updated NETBEANS-6392:
--
Attachment: (was: image-2022-01-14-19-40-57-840.png)

> Netbeans 12.6 is blocked on save
> 
>
> Key: NETBEANS-6392
> URL: https://issues.apache.org/jira/browse/NETBEANS-6392
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 12.6
>Reporter: ulspide
>Priority: Major
> Attachments: TokenAPILCLServiceTestIT_8.dump, 
> image-2022-01-14-19-41-22-343.png, messages-backup.log
>
>
> When I use Netbeans, I find that during backups Netbeans is blocked (I use 
> CTRL + S on a file).
> Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
> Manager and restart.
> A screenshot :
> !image-2022-01-14-19-41-22-343.png!
> I add logs files.
>  
>  



--
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-6392) Netbeans 12.6 is blocked on save

2022-01-14 Thread ulspide (Jira)


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

ulspide updated NETBEANS-6392:
--
Description: 
When I use Netbeans, I find that during backups Netbeans is blocked (I use CTRL 
+ S on a file).

Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
Manager and restart.

A screenshot :

!image-2022-01-14-19-41-22-343.png!

I add logs files.

 

 

  was:
When I use Netbeans, I find that during backups Netbeans is blocked (I use CTRL 
+ S on a file).

Not every file backup, but once in 10 backups.

A screenshot :

!image-2022-01-14-19-41-22-343.png!

I add logs files.

 

 


> Netbeans 12.6 is blocked on save
> 
>
> Key: NETBEANS-6392
> URL: https://issues.apache.org/jira/browse/NETBEANS-6392
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 12.6
>Reporter: ulspide
>Priority: Major
> Attachments: TokenAPILCLServiceTestIT_8.dump, 
> image-2022-01-14-19-41-22-343.png, messages-backup.log
>
>
> When I use Netbeans, I find that during backups Netbeans is blocked (I use 
> CTRL + S on a file).
> Not every file backup, but once in 10 backups. I must kill Netbeans with Task 
> Manager and restart.
> A screenshot :
> !image-2022-01-14-19-41-22-343.png!
> I add logs files.
>  
>  



--
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-6392) Netbeans 12.6 is blocked on save

2022-01-14 Thread ulspide (Jira)


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

ulspide updated NETBEANS-6392:
--
Description: 
When I use Netbeans, I find that during backups Netbeans is blocked (I use CTRL 
+ S on a file).

Not every file backup, but once in 10 backups.

A screenshot :

!image-2022-01-14-19-41-22-343.png!

I add logs files.

 

 

  was:
When I use Netbeans, I find that during backups Netbeans is blocked (I use CTRL 
+ S on a file).

Not every file backup, but once in 10 backups.

A screenshot :

!image-2022-01-14-19-41-22-343.png!

 

 

 


> Netbeans 12.6 is blocked on save
> 
>
> Key: NETBEANS-6392
> URL: https://issues.apache.org/jira/browse/NETBEANS-6392
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 12.6
>Reporter: ulspide
>Priority: Major
> Attachments: TokenAPILCLServiceTestIT_8.dump, 
> image-2022-01-14-19-40-57-840.png, image-2022-01-14-19-41-22-343.png, 
> messages-backup.log
>
>
> When I use Netbeans, I find that during backups Netbeans is blocked (I use 
> CTRL + S on a file).
> Not every file backup, but once in 10 backups.
> A screenshot :
> !image-2022-01-14-19-41-22-343.png!
> I add logs files.
>  
>  



--
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-6392) Netbeans 12.6 is blocked on save

2022-01-14 Thread ulspide (Jira)


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

ulspide updated NETBEANS-6392:
--
Attachment: messages-backup.log
TokenAPILCLServiceTestIT_8.dump

> Netbeans 12.6 is blocked on save
> 
>
> Key: NETBEANS-6392
> URL: https://issues.apache.org/jira/browse/NETBEANS-6392
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 12.6
>Reporter: ulspide
>Priority: Major
> Attachments: TokenAPILCLServiceTestIT_8.dump, 
> image-2022-01-14-19-40-57-840.png, image-2022-01-14-19-41-22-343.png, 
> messages-backup.log
>
>
> When I use Netbeans, I find that during backups Netbeans is blocked (I use 
> CTRL + S on a file).
> Not every file backup, but once in 10 backups.
> A screenshot :
> !image-2022-01-14-19-41-22-343.png!
>  
>  
>  



--
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-6392) Netbeans 12.6 is blocked on save

2022-01-14 Thread ulspide (Jira)
ulspide created NETBEANS-6392:
-

 Summary: Netbeans 12.6 is blocked on save
 Key: NETBEANS-6392
 URL: https://issues.apache.org/jira/browse/NETBEANS-6392
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Actions/Menu/Toolbar
Affects Versions: 12.6
Reporter: ulspide
 Attachments: image-2022-01-14-19-40-57-840.png, 
image-2022-01-14-19-41-22-343.png

When I use Netbeans, I find that during backups Netbeans is blocked (I use CTRL 
+ S on a file).

Not every file backup, but once in 10 backups.

A screenshot :

!image-2022-01-14-19-41-22-343.png!

 

 

 



--
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-6391) NetBeans 12.5/12.6 missing ARM based binaries for MacOSX terminal support in NetBeans

2022-01-14 Thread Tim (Jira)


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

Tim updated NETBEANS-6391:
--
Summary: NetBeans 12.5/12.6 missing ARM based binaries for MacOSX terminal 
support in NetBeans  (was: Netbeans 12.5/12.6 missing ARM based binaries for 
MacOSX terminal support in Netbeans)

> NetBeans 12.5/12.6 missing ARM based binaries for MacOSX terminal support in 
> NetBeans
> -
>
> Key: NETBEANS-6391
> URL: https://issues.apache.org/jira/browse/NETBEANS-6391
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5, 12.6
> Environment: java -version
> {noformat}
> openjdk version "17.0.1" 2021-10-19
> OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12)
> OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode)
> {noformat}
> Mac OS Montery M1 Pro Max MacBook Pro 
>Reporter: Tim
>Priority: Blocker
>
> When using the “Open in Terminal” option I get nothing but a blank terminal 
> window when running on an M1 Silicon Pro MacBook Pro using native ARM based 
> JDK
> After debugging the source code of Netbeans itself it comes down to a missing 
> resource in the “_netbeans/ide/bin/nativeexecution/_“ folder for 
> “_MacOSX-unknown_64/pty_”
> This is because the host information cannot figure out the *CPUFAMILY* and is 
> returning “*UNKNOWN*”
> Things I tried:
> 1. Changed the “_netbeans/ide/bin/nativeexecution/hostinfo.sh_” file as 
> follows:
> Add another check for CPUFAMILY and return ARM:
> {noformat}
> …
> CPUFAMILY=`(echo ${CPUTYPE} | egrep "^i|x86_64|athlon|Intel" >/dev/null && 
> echo x86) || echo ${CPUTYPE}`
> if [ "${CPUFAMILY}" = "sparc64" ]; then
>CPUFAMILY="sparc"
> fi
> # New check if ARM64 then return ARM so Java code will stop returning 
> “UNKNOWN”
> if [ "${CPUFAMILY}" = "arm64" ]; then
>CPUFAMILY="arm"
> fi
> {noformat}
> 2. I’m a Java developer and don’t usually compile C++ but going into the 
> “_netbeans/ide/dlight.nativeexecution/tools_” directory and manually running 
> the ‘_buildall.sh_” script compiles almost all the files needed.
> ➜  tools git:(master) ✗ chmod +x ./buildall.sh
> ➜  tools git:(master) ✗ . ./buildall.sh
> {noformat}
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> rm -rf ../release/bin/nativeexecution/MacOSX-arm 
> ../release/bin/nativeexecution/MacOSX-arm
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/privp privp.c
> ld: warning: option -s is obsolete and being ignored
> gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/process_start 
> process_start.c
> ld: warning: option -s is obsolete and being ignored
> gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/pty_open pty_open.c
> ld: warning: option -s is obsolete and being ignored
> gcc  -s -O2   -s  -o ../release/bin/nativeexecution/MacOSX-arm/sigqueue 
> sigqueue.c
> sigqueue.c:53:12: error: implicit declaration of function 'sigqueue' is 
> invalid in C99 [-Werror,-Wimplicit-function-declaration]
> return sigqueue(pid, signo, value);
>^
> 1 error generated.
> make: *** [sigqueue] Error 1
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> rm -f -r 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm
>  
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> rm -f -r 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build
> rm -f -r 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist
> rm -f .make.state*
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> mkdir -p 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
> mkdir -p 
> 

[jira] [Updated] (NETBEANS-6391) Netbeans 12.5/12.6 missing ARM based binaries for MacOSX terminal support in Netbeans

2022-01-14 Thread Tim (Jira)


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

Tim updated NETBEANS-6391:
--
Priority: Blocker  (was: Major)

> Netbeans 12.5/12.6 missing ARM based binaries for MacOSX terminal support in 
> Netbeans
> -
>
> Key: NETBEANS-6391
> URL: https://issues.apache.org/jira/browse/NETBEANS-6391
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5, 12.6
> Environment: java -version
> {noformat}
> openjdk version "17.0.1" 2021-10-19
> OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12)
> OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode)
> {noformat}
> Mac OS Montery M1 Pro Max MacBook Pro 
>Reporter: Tim
>Priority: Blocker
>
> When using the “Open in Terminal” option I get nothing but a blank terminal 
> window when running on an M1 Silicon Pro MacBook Pro using native ARM based 
> JDK
> After debugging the source code of Netbeans itself it comes down to a missing 
> resource in the “_netbeans/ide/bin/nativeexecution/_“ folder for 
> “_MacOSX-unknown_64/pty_”
> This is because the host information cannot figure out the *CPUFAMILY* and is 
> returning “*UNKNOWN*”
> Things I tried:
> 1. Changed the “_netbeans/ide/bin/nativeexecution/hostinfo.sh_” file as 
> follows:
> Add another check for CPUFAMILY and return ARM:
> {noformat}
> …
> CPUFAMILY=`(echo ${CPUTYPE} | egrep "^i|x86_64|athlon|Intel" >/dev/null && 
> echo x86) || echo ${CPUTYPE}`
> if [ "${CPUFAMILY}" = "sparc64" ]; then
>CPUFAMILY="sparc"
> fi
> # New check if ARM64 then return ARM so Java code will stop returning 
> “UNKNOWN”
> if [ "${CPUFAMILY}" = "arm64" ]; then
>CPUFAMILY="arm"
> fi
> {noformat}
> 2. I’m a Java developer and don’t usually compile C++ but going into the 
> “_netbeans/ide/dlight.nativeexecution/tools_” directory and manually running 
> the ‘_buildall.sh_” script compiles almost all the files needed.
> ➜  tools git:(master) ✗ chmod +x ./buildall.sh
> ➜  tools git:(master) ✗ . ./buildall.sh
> {noformat}
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> rm -rf ../release/bin/nativeexecution/MacOSX-arm 
> ../release/bin/nativeexecution/MacOSX-arm
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/privp privp.c
> ld: warning: option -s is obsolete and being ignored
> gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/process_start 
> process_start.c
> ld: warning: option -s is obsolete and being ignored
> gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/pty_open pty_open.c
> ld: warning: option -s is obsolete and being ignored
> gcc  -s -O2   -s  -o ../release/bin/nativeexecution/MacOSX-arm/sigqueue 
> sigqueue.c
> sigqueue.c:53:12: error: implicit declaration of function 'sigqueue' is 
> invalid in C99 [-Werror,-Wimplicit-function-declaration]
> return sigqueue(pid, signo, value);
>^
> 1 error generated.
> make: *** [sigqueue] Error 1
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> rm -f -r 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm
>  
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> rm -f -r 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build
> rm -f -r 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist
> rm -f .make.state*
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> mkdir -p 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
> mkdir -p 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src
> gcc  -s -O2   -c -o 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/env.o
>  
> 

[jira] [Updated] (NETBEANS-6391) Netbeans 12.5/12.6 missing ARM based binaries for MacOSX terminal support in Netbeans

2022-01-14 Thread Tim (Jira)


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

Tim updated NETBEANS-6391:
--
Description: 
When using the “Open in Terminal” option I get nothing but a blank terminal 
window when running on an M1 Silicon Pro MacBook Pro using native ARM based JDK

After debugging the source code of Netbeans itself it comes down to a missing 
resource in the “_netbeans/ide/bin/nativeexecution/_“ folder for 
“_MacOSX-unknown_64/pty_”

This is because the host information cannot figure out the *CPUFAMILY* and is 
returning “*UNKNOWN*”

Things I tried:

1. Changed the “_netbeans/ide/bin/nativeexecution/hostinfo.sh_” file as follows:

Add another check for CPUFAMILY and return ARM:

{noformat}

…
CPUFAMILY=`(echo ${CPUTYPE} | egrep "^i|x86_64|athlon|Intel" >/dev/null && echo 
x86) || echo ${CPUTYPE}`
if [ "${CPUFAMILY}" = "sparc64" ]; then
   CPUFAMILY="sparc"
fi

# New check if ARM64 then return ARM so Java code will stop returning “UNKNOWN”
if [ "${CPUFAMILY}" = "arm64" ]; then
   CPUFAMILY="arm"
fi
{noformat}

2. I’m a Java developer and don’t usually compile C++ but going into the 
“_netbeans/ide/dlight.nativeexecution/tools_” directory and manually running 
the ‘_buildall.sh_” script compiles almost all the files needed.

➜  tools git:(master) ✗ chmod +x ./buildall.sh
➜  tools git:(master) ✗ . ./buildall.sh


{noformat}
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -rf ../release/bin/nativeexecution/MacOSX-arm 
../release/bin/nativeexecution/MacOSX-arm
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/privp privp.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/process_start 
process_start.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/pty_open pty_open.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2   -s  -o ../release/bin/nativeexecution/MacOSX-arm/sigqueue 
sigqueue.c
sigqueue.c:53:12: error: implicit declaration of function 'sigqueue' is invalid 
in C99 [-Werror,-Wimplicit-function-declaration]
return sigqueue(pid, signo, value);
   ^
1 error generated.
make: *** [sigqueue] Error 1
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist
rm -f .make.state*
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
mkdir -p 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
mkdir -p 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/env.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/env.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/error.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/error.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/loop.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/loop.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 

[jira] [Updated] (NETBEANS-6391) Netbeans 12.5/12.6 missing ARM based binaries for MacOSX terminal support in Netbeans

2022-01-14 Thread Tim (Jira)


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

Tim updated NETBEANS-6391:
--
Description: 
When using the “Open in Terminal” option I get nothing but a blank terminal 
window when running on an M1 Silicon Pro MacBook Pro using native ARM based JDK

After debugging the source code of Netbeans itself it comes down to a missing 
resource in the “_netbeans/ide/bin/nativeexecution/_“ folder for 
“_MacOSX-unknown_64/pty_”

This is because the host information cannot figure out the *CPUFAMILY* and is 
returning “*UNKNOWN*”

Things I tried:

1. Changed the “netbeans/ide/bin/nativeexecution/hostinfo.sh_” file as follows:

Add another check for CPUFAMILY and return ARM:

{noformat}

…
CPUFAMILY=`(echo ${CPUTYPE} | egrep "^i|x86_64|athlon|Intel" >/dev/null && echo 
x86) || echo ${CPUTYPE}`
if [ "${CPUFAMILY}" = "sparc64" ]; then
   CPUFAMILY="sparc"
fi

# New check if ARM64 then return ARM so Java code will stop returning “UNKNOWN”
if [ "${CPUFAMILY}" = "arm64" ]; then
   CPUFAMILY="arm"
fi
{noformat}

2. I’m a Java developer and don’t usually compile C++ but going into the 
“_netbeans/ide/dlight.nativeexecution/tools_” directory and manually running 
the ‘_buildall.sh_” script compiles almost all the files needed.

➜  tools git:(master) ✗ chmod +x ./buildall.sh
➜  tools git:(master) ✗ . ./buildall.sh


{noformat}
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -rf ../release/bin/nativeexecution/MacOSX-arm 
../release/bin/nativeexecution/MacOSX-arm
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/privp privp.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/process_start 
process_start.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/pty_open pty_open.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2   -s  -o ../release/bin/nativeexecution/MacOSX-arm/sigqueue 
sigqueue.c
sigqueue.c:53:12: error: implicit declaration of function 'sigqueue' is invalid 
in C99 [-Werror,-Wimplicit-function-declaration]
return sigqueue(pid, signo, value);
   ^
1 error generated.
make: *** [sigqueue] Error 1
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist
rm -f .make.state*
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
mkdir -p 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
mkdir -p 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/env.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/env.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/error.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/error.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/loop.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/loop.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 

[jira] [Updated] (NETBEANS-6391) Netbeans 12.5/12.6 missing ARM based binaries for MacOSX terminal support in Netbeans

2022-01-14 Thread Tim (Jira)


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

Tim updated NETBEANS-6391:
--
Description: 
When using the “Open in Terminal” option I get nothing but a blank terminal 
window when running on an M1 Silicon Pro MacBook Pro using native ARM based JDK

After debugging the source code of Netbeans itself it comes down to a missing 
resource in the “_netbeans/ide/bin/nativeexecution/_“ folder for 
“_MacOSX-unknown_64/pty_”

This is because the host information cannot figure out the *CPUFAMILY* and is 
returning “*UNKNOWN*”

Things I tried:

1. Changed the “_netbeans/ide/bin/nativeexecution/hostinfo.sh_” file as follows:

Add another check for CPUFAMILY and return ARM:

{noformat}

…
CPUFAMILY=`(echo ${CPUTYPE} | egrep "^i|x86_64|athlon|Intel" >/dev/null && echo 
x86) || echo ${CPUTYPE}`
if [ "${CPUFAMILY}" = "sparc64" ]; then
   CPUFAMILY="sparc"
fi

# New check if ARM64 then return ARM so Java code will stop returning “UNKNOWN”
if [ "${CPUFAMILY}" = "arm64" ]; then
   CPUFAMILY="arm"
fi
{noformat}

2. I’m a Java developer and don’t usually compile C++ but going into the 
“_netbeans/ide/dlight.nativeexecution/tools_” directory and manually running 
the ‘_buildall.sh_” script compiles almost all the files needed.

➜  tools git:(master) ✗ chmod +x ./buildall.sh
➜  tools git:(master) ✗ . ./buildall.sh


{noformat}
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -rf ../release/bin/nativeexecution/MacOSX-arm 
../release/bin/nativeexecution/MacOSX-arm
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/privp privp.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/process_start 
process_start.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/pty_open pty_open.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2   -s  -o ../release/bin/nativeexecution/MacOSX-arm/sigqueue 
sigqueue.c
sigqueue.c:53:12: error: implicit declaration of function 'sigqueue' is invalid 
in C99 [-Werror,-Wimplicit-function-declaration]
return sigqueue(pid, signo, value);
   ^
1 error generated.
make: *** [sigqueue] Error 1
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist
rm -f .make.state*
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
mkdir -p 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
mkdir -p 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/env.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/env.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/error.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/error.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/loop.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/loop.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 

[jira] [Updated] (NETBEANS-6391) Netbeans 12.5/12.6 missing ARM based binaries for MacOSX terminal support in Netbeans

2022-01-14 Thread Tim (Jira)


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

Tim updated NETBEANS-6391:
--
Description: 
When using the “Open in Terminal” option I get nothing but a blank terminal 
window when running on an M1 Silicon Pro MacBook Pro using native ARM based JDK

After debugging the source code of Netbeans itself it comes down to a missing 
resource in the “_netbeans/ide/bin/nativeexecution/_“ folder for 
“_MacOSX-unknown_64/pty_”

This is because the host information cannot figure out the *CPUFAMILY* and is 
returning “*UNKNOWN*”

Things I tried:

1. I’m a Java developer and don’t usually compile C++ but going into the 
“_netbeans/ide/dlight.nativeexecution/tools_” directory and manually running 
the ‘_buildall.sh_” script compiles almost all the files needed.

➜  tools git:(master) ✗ chmod +x ./buildall.sh
➜  tools git:(master) ✗ . ./buildall.sh


{noformat}
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -rf ../release/bin/nativeexecution/MacOSX-arm 
../release/bin/nativeexecution/MacOSX-arm
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/privp privp.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/process_start 
process_start.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/pty_open pty_open.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2   -s  -o ../release/bin/nativeexecution/MacOSX-arm/sigqueue 
sigqueue.c
sigqueue.c:53:12: error: implicit declaration of function 'sigqueue' is invalid 
in C99 [-Werror,-Wimplicit-function-declaration]
return sigqueue(pid, signo, value);
   ^
1 error generated.
make: *** [sigqueue] Error 1
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist
rm -f .make.state*
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
mkdir -p 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
mkdir -p 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/env.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/env.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/error.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/error.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/loop.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/loop.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/options.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/options.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/pty_fork.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/pty_fork.c
clang: warning: 

[jira] [Updated] (NETBEANS-6391) Netbeans 12.5/12.6 missing ARM based binaries for MacOSX terminal support in Netbeans

2022-01-14 Thread Tim (Jira)


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

Tim updated NETBEANS-6391:
--
Affects Version/s: 12.5
   12.6

> Netbeans 12.5/12.6 missing ARM based binaries for MacOSX terminal support in 
> Netbeans
> -
>
> Key: NETBEANS-6391
> URL: https://issues.apache.org/jira/browse/NETBEANS-6391
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5, 12.6
> Environment: java -version
> {noformat}
> openjdk version "17.0.1" 2021-10-19
> OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12)
> OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode)
> {noformat}
> Mac OS Montery M1 Pro Max MacBook Pro 
>Reporter: Tim
>Priority: Major
>
> When using the “Open in Terminal” option I get nothing but a blank terminal 
> window when running on an M! Silicon Pro MacBook Pro using native arm based 
> JDK
> After debugging the source code of Netbeans itself it comes down to a missing 
> resource in the “_netbeans/ide/bin/nativeexecution/_“ folder for 
> “_MacOSX-unknown_64/pty_”
> This is because the host information cannot figure out the *CPUFAMILY* and is 
> returning “*UNKNOWN*”
> Things I tried:
> 1. I’m a Java developer and don’t usually compile C++ but going into the 
> “_netbeans/ide/dlight.nativeexecution/tools_” directory and manually running 
> the ‘_buildall.sh_” script compiles almost all the files needed.
> ➜  tools git:(master) ✗ chmod +x ./buildall.sh
> ➜  tools git:(master) ✗ . ./buildall.sh
> {noformat}
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> rm -rf ../release/bin/nativeexecution/MacOSX-arm 
> ../release/bin/nativeexecution/MacOSX-arm
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/privp privp.c
> ld: warning: option -s is obsolete and being ignored
> gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/process_start 
> process_start.c
> ld: warning: option -s is obsolete and being ignored
> gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/pty_open pty_open.c
> ld: warning: option -s is obsolete and being ignored
> gcc  -s -O2   -s  -o ../release/bin/nativeexecution/MacOSX-arm/sigqueue 
> sigqueue.c
> sigqueue.c:53:12: error: implicit declaration of function 'sigqueue' is 
> invalid in C99 [-Werror,-Wimplicit-function-declaration]
> return sigqueue(pid, signo, value);
>^
> 1 error generated.
> make: *** [sigqueue] Error 1
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> rm -f -r 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm
>  
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> rm -f -r 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build
> rm -f -r 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist
> rm -f .make.state*
> Platform: MacOSX-arm
> Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
> 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
> mkdir -p 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
> mkdir -p 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src
> gcc  -s -O2   -c -o 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/env.o
>  
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/env.c
> clang: warning: argument unused during compilation: '-s' 
> [-Wunused-command-line-argument]
> gcc  -s -O2   -c -o 
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/error.o
>  
> /Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/error.c
> clang: warning: argument unused during compilation: '-s' 
> 

[jira] [Created] (NETBEANS-6391) Netbeans 12.5/12.6 missing ARM based binaries for MacOSX terminal support in Netbeans

2022-01-14 Thread Tim (Jira)
Tim created NETBEANS-6391:
-

 Summary: Netbeans 12.5/12.6 missing ARM based binaries for MacOSX 
terminal support in Netbeans
 Key: NETBEANS-6391
 URL: https://issues.apache.org/jira/browse/NETBEANS-6391
 Project: NetBeans
  Issue Type: Bug
 Environment: java -version

{noformat}
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12)
OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode)
{noformat}

Mac OS Montery M1 Pro Max MacBook Pro 

Reporter: Tim


When using the “Open in Terminal” option I get nothing but a blank terminal 
window when running on an M! Silicon Pro MacBook Pro using native arm based JDK

After debugging the source code of Netbeans itself it comes down to a missing 
resource in the “_netbeans/ide/bin/nativeexecution/_“ folder for 
“_MacOSX-unknown_64/pty_”

This is because the host information cannot figure out the *CPUFAMILY* and is 
returning “*UNKNOWN*”

Things I tried:

1. I’m a Java developer and don’t usually compile C++ but going into the 
“_netbeans/ide/dlight.nativeexecution/tools_” directory and manually running 
the ‘_buildall.sh_” script compiles almost all the files needed.

➜  tools git:(master) ✗ chmod +x ./buildall.sh
➜  tools git:(master) ✗ . ./buildall.sh


{noformat}
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -rf ../release/bin/nativeexecution/MacOSX-arm 
../release/bin/nativeexecution/MacOSX-arm
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/privp privp.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/process_start 
process_start.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2  -o ../release/bin/nativeexecution/MacOSX-arm/pty_open pty_open.c
ld: warning: option -s is obsolete and being ignored
gcc  -s -O2   -s  -o ../release/bin/nativeexecution/MacOSX-arm/sigqueue 
sigqueue.c
sigqueue.c:53:12: error: implicit declaration of function 'sigqueue' is invalid 
in C99 [-Werror,-Wimplicit-function-declaration]
return sigqueue(pid, signo, value);
   ^
1 error generated.
make: *** [sigqueue] Error 1
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build
rm -f -r 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist
rm -f .make.state*
Platform: MacOSX-arm
Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 
20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
mkdir -p 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/dist/MacOSX-arm
mkdir -p 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/env.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/env.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/error.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/error.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/loop.o
 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/src/loop.c
clang: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
gcc  -s -O2   -c -o 
/Users/tmulle/Development/Projects/netbeans/ide/dlight.nativeexecution/tools/pty/build/MacOSX-arm/src/options.o
 

[jira] [Commented] (NETBEANS-6390) Netbeans Apache web site (especially the documentation part) is seriously broken

2022-01-14 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-6390:
-

Looking forward to the pull request, will be happy to review and merge it.

> Netbeans Apache web site (especially the documentation part) is seriously 
> broken
> 
>
> Key: NETBEANS-6390
> URL: https://issues.apache.org/jira/browse/NETBEANS-6390
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Reporter: Jean-Marc Borer
>Priority: Major
>
> While looking for documentation, I was browsing the apache web site and it 
> seems seriously broken. When I follow the pages from 
> [https://netbeans.apache.org/] I get:
> [https://netbeans.apache.org/kb/docs/platform.html]
>  where a lot of links are broken. Even the images.
>  
> When I find a page through google I get:
> [https://netbeans.apache.org/kb/docs/platform/] 
> the page is fine!!
>  
> Notice the difference? Currently the site is not properly browesable. Only 
> google allows you to find the proper pages, if you know what you are looking 
> for...
>  
> The broken version has as well links with http instead of https (look for the 
> netbeans platform faq on the page above).
>  
> The links to the previously package info are broken as well...
>  



--
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] [Assigned] (NETBEANS-6390) Netbeans Apache web site (especially the documentation part) is seriously broken

2022-01-14 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga reassigned NETBEANS-6390:
---

Assignee: Jean-Marc Borer

> Netbeans Apache web site (especially the documentation part) is seriously 
> broken
> 
>
> Key: NETBEANS-6390
> URL: https://issues.apache.org/jira/browse/NETBEANS-6390
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Reporter: Jean-Marc Borer
>Assignee: Jean-Marc Borer
>Priority: Major
>
> While looking for documentation, I was browsing the apache web site and it 
> seems seriously broken. When I follow the pages from 
> [https://netbeans.apache.org/] I get:
> [https://netbeans.apache.org/kb/docs/platform.html]
>  where a lot of links are broken. Even the images.
>  
> When I find a page through google I get:
> [https://netbeans.apache.org/kb/docs/platform/] 
> the page is fine!!
>  
> Notice the difference? Currently the site is not properly browesable. Only 
> google allows you to find the proper pages, if you know what you are looking 
> for...
>  
> The broken version has as well links with http instead of https (look for the 
> netbeans platform faq on the page above).
>  
> The links to the previously package info are broken as well...
>  



--
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-6390) Netbeans Apache web site (especially the documentation part) is seriously broken

2022-01-14 Thread Jean-Marc Borer (Jira)


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

Jean-Marc Borer updated NETBEANS-6390:
--
Summary: Netbeans Apache web site (especially the documentation part) is 
seriously broken  (was: Apache web site (especially the docuementation part) is 
seriously broken)

> Netbeans Apache web site (especially the documentation part) is seriously 
> broken
> 
>
> Key: NETBEANS-6390
> URL: https://issues.apache.org/jira/browse/NETBEANS-6390
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Reporter: Jean-Marc Borer
>Priority: Major
>
> While looking for documentation, I was browsing the apache web site and it 
> seems seriously broken. When I follow the pages from 
> [https://netbeans.apache.org/] I get:
> [https://netbeans.apache.org/kb/docs/platform.html]
>  where a lot of links are broken. Even the images.
>  
> When I find a page through google I get:
> [https://netbeans.apache.org/kb/docs/platform/] 
> the page is fine!!
>  
> Notice the difference? Currently the site is not properly browesable. Only 
> google allows you to find the proper pages, if you know what you are looking 
> for...
>  
> The broken version has as well links with http instead of https (look for the 
> netbeans platform faq on the page above).
>  
> The links to the previously package info are broken as well...
>  



--
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-6390) Apache web site (especially the docuementation part) is seriously broken

2022-01-14 Thread Jean-Marc Borer (Jira)
Jean-Marc Borer created NETBEANS-6390:
-

 Summary: Apache web site (especially the docuementation part) is 
seriously broken
 Key: NETBEANS-6390
 URL: https://issues.apache.org/jira/browse/NETBEANS-6390
 Project: NetBeans
  Issue Type: Bug
  Components: website
Reporter: Jean-Marc Borer


While looking for documentation, I was browsing the apache web site and it 
seems seriously broken. When I follow the pages from 
[https://netbeans.apache.org/] I get:
[https://netbeans.apache.org/kb/docs/platform.html]
 where a lot of links are broken. Even the images.
 
When I find a page through google I get:
[https://netbeans.apache.org/kb/docs/platform/] 
the page is fine!!
 
Notice the difference? Currently the site is not properly browesable. Only 
google allows you to find the proper pages, if you know what you are looking 
for...
 
The broken version has as well links with http instead of https (look for the 
netbeans platform faq on the page above).
 
The links to the previously package info are broken as well...
 



--
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-189) SQL editor, shouldn't ask evertime to set the connection

2022-01-14 Thread Eric Bresie (Jira)


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

Eric Bresie commented on NETBEANS-189:
--

Testing includes:
# Starting netbeans
# Ensure No connections are yet established
# Create a new SQL FIleFile...New...Other..Sql File (set given filename)
# Edit SQL file.  Type "SE" + "CTRL+Space" for auto completion of SELECT
# Attempt CTRL+Space => No Suggestions [this is as no connection established 
yet]
# Complete basic select statement (i.e. SELECT * from SomD;)
# No connection selected yet.
# On select line, attempt to run
# Shows "No database connection is selected.  Please select a connection in the 
Connection combo box in the editor toolbar."
# Create a valid DB Connection in Database services pane to appliable DB.
# Select new DB Connection from Connection combo box
# Type new line with SELECT then attempt autocompletion.  This will show 
available DB schema based on the given connection to auto complete with.
# Once rest of select statement complete, attempt to run expression.  Will show 
resulting query results.

> SQL editor, shouldn't ask evertime to set the connection
> 
>
> Key: NETBEANS-189
> URL: https://issues.apache.org/jira/browse/NETBEANS-189
> Project: NetBeans
>  Issue Type: Improvement
>  Components: db - SQL Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Eric Bresie
>Priority: Major
>  Labels: pull-request-available
> Attachments: SQL Notification.png, required-connection.gif
>
>  Time Spent: 8h 40m
>  Remaining Estimate: 0h
>
> Of course, the SQL editor doesn't make sense, if you don't set a connection 
> to see databases, tables and columns, but sometimes or often, you only want 
> to scratch a SQL query and you want the code completion for the SQL stuff, 
> like the keywords (SELECT, FROM, WHERE) or aggregate functions (COUNT, AVG, 
> etc.) So this is not possible, without setting a connection. But when I don't 
> have a connection, I can't use the code completion, becauses it will ends up 
> in a loop. See my little screen capture for what I mean.



--
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-6388) Source->Inspect no longer works

2022-01-14 Thread Eric Bresie (Jira)


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

Eric Bresie commented on NETBEANS-6388:
---

findbug was forked (replaced) by [spotbug| https://spotbugs.github.io/]

Alternatively, the sonar lint plugin(s) on the plugin portal may provide an 
alternative.

> Source->Inspect no longer works
> ---
>
> Key: NETBEANS-6388
> URL: https://issues.apache.org/jira/browse/NETBEANS-6388
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: macOS Monterey.  Running NB 12.6 with Java 17.
>Reporter: Thomas Wolf
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> It appears that the deprecated FindBugs plugin support is causing the rest of 
> Source->Inspect not to work either.   Very easy to reproduce.
> When I try to define a configuration via the Source-Inspect… dialog, it lets 
> me define it and hit the “Inspect” button, but the results tab simply shows 
> “Required Plugin Missing” even when the configuration I’ve defined and run 
> uses the built-in “Netbeans Java Hints".  As a matter of fact, you don’t even 
> have to define a configuration - just select the “Default” one - which uses 
> the “Netbeans Java Hints” analyzer from the drop-down and hit “Inspect”.  
> You’ll still see (at least I do) the result of “Required Plugin Missing”.



--
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-6347) Adding Global Goal Definitions for Maven is broken for 12.5 + 12.6.

2022-01-14 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic commented on NETBEANS-6347:
---

Re. the vacant place - this is reserved for inline help / description of the 
focused text entry - see the picture:

!dialog-hint.jpg!

So I would not prefer to remove the area entirely. I made it smaller + gave it 
less resize weight so when you expand the dialog, other controls will gain more 
space than this one.

> Adding Global Goal Definitions for Maven is broken for 12.5 + 12.6.
> ---
>
> Key: NETBEANS-6347
> URL: https://issues.apache.org/jira/browse/NETBEANS-6347
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 12.5, 12.6
>Reporter: Thomas Schapitz
>Assignee: Svatopluk Dedic
>Priority: Critical
>  Labels: pull-request-available
> Fix For: NB13
>
> Attachments: dialog-hint.jpg, image-2021-12-31-10-27-08-275.png, 
> image-2021-12-31-10-30-58-143.png, image-2022-01-13-19-09-32-623.png, 
> image-2022-01-13-19-27-19-230.png
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> The following hardcopy illustrates the problem.
> It *is* possible, to add a new definition, but afterwards, it is no longer 
> possible to maintain values for the goals & profiles, as has been the case up 
> to version 12.3
> And it isn't possible to activate the definition, it get's created in 
> disabled state. (Prior to 12.4, it wasn't possible to disable a definition)
> Furthermore, at least on Windows 10 / JDK 17, one may observe, that the 
> alignment of the buttons with the list is botched, as the last one, "Disable" 
> gets clipped, because the listbox default hight dictates the length.
> !image-2021-12-31-10-30-58-143.png!
>  
> This is how it looked like up to 12.3:
> !image-2021-12-31-10-27-08-275.png!
>  



--
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-6347) Adding Global Goal Definitions for Maven is broken for 12.5 + 12.6.

2022-01-14 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic updated NETBEANS-6347:
--
Attachment: dialog-hint.jpg

> Adding Global Goal Definitions for Maven is broken for 12.5 + 12.6.
> ---
>
> Key: NETBEANS-6347
> URL: https://issues.apache.org/jira/browse/NETBEANS-6347
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 12.5, 12.6
>Reporter: Thomas Schapitz
>Assignee: Svatopluk Dedic
>Priority: Critical
>  Labels: pull-request-available
> Fix For: NB13
>
> Attachments: dialog-hint.jpg, image-2021-12-31-10-27-08-275.png, 
> image-2021-12-31-10-30-58-143.png, image-2022-01-13-19-09-32-623.png, 
> image-2022-01-13-19-27-19-230.png
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> The following hardcopy illustrates the problem.
> It *is* possible, to add a new definition, but afterwards, it is no longer 
> possible to maintain values for the goals & profiles, as has been the case up 
> to version 12.3
> And it isn't possible to activate the definition, it get's created in 
> disabled state. (Prior to 12.4, it wasn't possible to disable a definition)
> Furthermore, at least on Windows 10 / JDK 17, one may observe, that the 
> alignment of the buttons with the list is botched, as the last one, "Disable" 
> gets clipped, because the listbox default hight dictates the length.
> !image-2021-12-31-10-30-58-143.png!
>  
> This is how it looked like up to 12.3:
> !image-2021-12-31-10-27-08-275.png!
>  



--
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-6389) Problems opening a large Groovy project

2022-01-14 Thread Eugene Pliskin (Jira)


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

Eugene Pliskin updated NETBEANS-6389:
-
Description: 
I have experienced various problems with my large Groovy project for some 
months, with several current NetBeans versions, with exceptions reported in IDE 
Notification window during my code editing. 

Today I could not even open this project. NetBeans hangs while opening the 
project. At some point before the project did open but then Navigator window 
hanged in any Groovy source file and would not display class methods.

I cannot explain what has changed from recent days when I could open this 
project and now I cannot open it. To my knowledge I have not upgraded any 
Java/NetBeans/Gradle software. Also I have not edited my groovy code for 
several weeks...

Attached please find NetBeans log files. The whole project directory is 
uploaded as an encrypted 64Mb archive to 
(https://disk.yandex.ru/d/BP01D7A1f-YEZQ). I will supply password to the 
NetBeans support member on request. Thank you.


  was:
I have experienced various problems with my large Groovy project for some 
months, with several current NetBeans versions, with exceptions reported in IDE 
Notification window during my code editing. 

Today I could not even open this project. NetBeans hangs while opening the 
project. At some point before the project did open but then Navigator window 
hanged in any Groovy source file and would not display class methods.

I cannot explain what has changed from recent days when I could open this 
project and now I cannot open it. To my knowledge I have not upgraded any 
Java/NetBeans/Gradle software.

Attached please find NetBeans log files. The whole project directory is 
uploaded as an encrypted 64Mb archive to 
(https://disk.yandex.ru/d/BP01D7A1f-YEZQ). I will supply password to the 
NetBeans support member on request. Thank you.



> Problems opening a large Groovy project
> ---
>
> Key: NETBEANS-6389
> URL: https://issues.apache.org/jira/browse/NETBEANS-6389
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 12.6
> Environment: Windows 10, Java jdk-15.0.2 
>Reporter: Eugene Pliskin
>Priority: Major
> Attachments: logs.zip
>
>
> I have experienced various problems with my large Groovy project for some 
> months, with several current NetBeans versions, with exceptions reported in 
> IDE Notification window during my code editing. 
> Today I could not even open this project. NetBeans hangs while opening the 
> project. At some point before the project did open but then Navigator window 
> hanged in any Groovy source file and would not display class methods.
> I cannot explain what has changed from recent days when I could open this 
> project and now I cannot open it. To my knowledge I have not upgraded any 
> Java/NetBeans/Gradle software. Also I have not edited my groovy code for 
> several weeks...
> Attached please find NetBeans log files. The whole project directory is 
> uploaded as an encrypted 64Mb archive to 
> (https://disk.yandex.ru/d/BP01D7A1f-YEZQ). I will supply password to the 
> NetBeans support member on request. Thank you.



--
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-6389) Problems opening a large Groovy project

2022-01-14 Thread Eugene Pliskin (Jira)
Eugene Pliskin created NETBEANS-6389:


 Summary: Problems opening a large Groovy project
 Key: NETBEANS-6389
 URL: https://issues.apache.org/jira/browse/NETBEANS-6389
 Project: NetBeans
  Issue Type: Bug
  Components: groovy - Editor
Affects Versions: 12.6
 Environment: Windows 10, Java jdk-15.0.2 
Reporter: Eugene Pliskin
 Attachments: logs.zip

I have experienced various problems with my large Groovy project for some 
months, with several current NetBeans versions, with exceptions reported in IDE 
Notification window during my code editing. 

Today I could not even open this project. NetBeans hangs while opening the 
project. At some point before the project did open but then Navigator window 
hanged in any Groovy source file and would not display class methods.

I cannot explain what has changed from recent days when I could open this 
project and now I cannot open it. To my knowledge I have not upgraded any 
Java/NetBeans/Gradle software.

Attached please find NetBeans log files. The whole project directory is 
uploaded as an encrypted 64Mb archive to 
(https://disk.yandex.ru/d/BP01D7A1f-YEZQ). I will supply password to the 
NetBeans support member on request. Thank you.




--
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 master updated: Honor MxLibrary.path() if specified

2022-01-14 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 1de4707  Honor MxLibrary.path() if specified
 new 561409b  Merge pull request #3453 from 
JaroslavTulach/jtulach/HonorMxLibraryPath
1de4707 is described below

commit 1de4707da4a49f98d42bbe0fcc8e8c6995e1a081
Author: Jaroslav Tulach 
AuthorDate: Thu Jan 13 08:22:29 2022 +0100

Honor MxLibrary.path() if specified
---
 .../org/netbeans/modules/java/mx/project/SuiteSources.java| 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git 
a/java/java.mx.project/src/org/netbeans/modules/java/mx/project/SuiteSources.java
 
b/java/java.mx.project/src/org/netbeans/modules/java/mx/project/SuiteSources.java
index b3bd954..4f9347e 100644
--- 
a/java/java.mx.project/src/org/netbeans/modules/java/mx/project/SuiteSources.java
+++ 
b/java/java.mx.project/src/org/netbeans/modules/java/mx/project/SuiteSources.java
@@ -970,7 +970,16 @@ final class SuiteSources implements Sources,
 int prefix = libName.indexOf(':');
 final String simpleName = libName.substring(prefix + 1);
 
-File simpleJar = new File(mxCache, simpleName + "_" + lib.sha1() + 
".jar");
+File simpleJar = null;
+if (lib.path() != null && !lib.path().isEmpty()) {
+FileObject relativePath = dir.getFileObject(lib.path());
+if (relativePath != null) {
+simpleJar = FileUtil.toFile(relativePath);
+}
+}
+if (simpleJar == null) {
+simpleJar = new File(mxCache, simpleName + "_" + lib.sha1() + 
".jar");
+}
 if (simpleJar.exists()) {
 return simpleJar;
 }

-
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 (d2ae8ba -> eb1b446)

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

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


from d2ae8ba  Semantic highlight support for both the LSP client and Java 
LSP server.
 new a9f430e  Use boolean flag to create apidoc menu
 new bb97189  use publishapi flag to filter vsix version
 new eb1b446  Merge pull request #3443 from ebarboni/explicitpublishapi

The 6425 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:
 .../org/netbeans/nbbuild/ReleaseJsonProperties.java| 18 --
 nbbuild/javadoctools/jsonhelp.xsl  | 15 ---
 2 files changed, 16 insertions(+), 17 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