[netbeans-jenkins-lib] branch master updated: Prepare for NetBeans 12.2-beta1

2020-10-15 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new d2ffd60  Prepare for NetBeans 12.2-beta1
d2ffd60 is described below

commit d2ffd604e5635d596160bce25b6a1b59b982a9d7
Author: Laszlo Kishalmi 
AuthorDate: Thu Oct 15 20:13:25 2020 -0700

Prepare for NetBeans 12.2-beta1
---
 meta/netbeansrelease.json | 33 +++--
 1 file changed, 31 insertions(+), 2 deletions(-)

diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json
index 3eb8f8c..8637987 100644
--- a/meta/netbeansrelease.json
+++ b/meta/netbeansrelease.json
@@ -290,13 +290,42 @@
 }
 },
 "releasedate": {
+"day": "15",
+"month": "09",
+"year": "2020"
+},
+"previousreleasedate": {
+"day": "04",
+"month": "06",
+"year": "2020"
+}
+},
+"release122": {
+"position": "9",
+"ant": "Ant (latest)",
+"jdk": "JDK 1.8 (latest)",
+"jdk_apidoc": "https://docs.oracle.com/javase/8/docs/api/;,
+"maven": "Maven 3.3.9",
+"versionName": "12.2",
+"mavenversion": "RELEASE122",
+"tlp": "true",
+"apidocurl": "https://bits.netbeans.org/12.2/javadoc;,
+"update_url": 
"https://netbeans.apache.org/nb/updates/12.2/updates.xml.gz?{$netbeans.hash.code};,
+"plugin_url": 
"https://netbeans.apache.org/nb/plugins/12.2/catalog.xml.gz;,
+"milestones": {
+"249b77ca133341ef08ae019e1b71a6cba373a422": {
+"version": "beta1",
+"position": "1"
+}
+},
+"releasedate": {
 "day": "-",
 "month": "-",
 "year": "-"
 },
 "previousreleasedate": {
-"day": "04",
-"month": "06",
+"day": "15",
+"month": "09",
 "year": "2020"
 }
 },


-
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 release122 created (now 249b77c)

2020-10-15 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


  at 249b77c  Upgrade payara-micro-maven-plugin to v1.3.0

No new revisions were added by this update.


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-4908) Enable run and debug single file in Gradle projects if there is a runSingle task defined

2020-10-15 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-4908.
---
Fix Version/s: 12.2
   Resolution: Fixed

> Enable run and debug single file in Gradle projects if there is a runSingle 
> task defined
> 
>
> Key: NETBEANS-4908
> URL: https://issues.apache.org/jira/browse/NETBEANS-4908
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.2
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Right now run and debug single actions are only enabled if the user turns 
> augmented build on, however if it turned off and the user defines a runSingle 
> task in the project, then the action can be enabled.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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 delivery created (now 249b77c)

2020-10-15 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


  at 249b77c  Upgrade payara-micro-maven-plugin to v1.3.0

No new revisions were added by this update.


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans] branch delivery created (now 249b77c)

2020-10-15 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


  at 249b77c  Upgrade payara-micro-maven-plugin to v1.3.0

No new revisions were added by this update.


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans] branch master updated: Upgrade payara-micro-maven-plugin to v1.3.0

2020-10-15 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi 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 249b77c  Upgrade payara-micro-maven-plugin to v1.3.0
249b77c is described below

commit 249b77ca133341ef08ae019e1b71a6cba373a422
Author: Gaurav Gupta 
AuthorDate: Tue Oct 13 23:33:20 2020 +0530

Upgrade payara-micro-maven-plugin to v1.3.0
---
 .../org/netbeans/modules/fish/payara/micro/plugin/resources/pom.xml.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/enterprise/payara.micro/src/org/netbeans/modules/fish/payara/micro/plugin/resources/pom.xml.ftl
 
b/enterprise/payara.micro/src/org/netbeans/modules/fish/payara/micro/plugin/resources/pom.xml.ftl
index 88ab306..21586eb 100644
--- 
a/enterprise/payara.micro/src/org/netbeans/modules/fish/payara/micro/plugin/resources/pom.xml.ftl
+++ 
b/enterprise/payara.micro/src/org/netbeans/modules/fish/payara/micro/plugin/resources/pom.xml.ftl
@@ -36,7 +36,7 @@
 
 fish.payara.maven.plugins
 payara-micro-maven-plugin
-1.0.6
+1.3.0
 
 ${r"${version.payara}"}
 false


-
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: Fix javadoc generation

2020-10-15 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi 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 bc40b5d  Fix javadoc generation
bc40b5d is described below

commit bc40b5d63f5146fab113ce54ec4f6d767feef7ce
Author: Hector Espert 
AuthorDate: Thu Oct 15 22:37:03 2020 +0200

Fix javadoc generation

Fix javadoc generation error: `[arch] 
file:/home/runner/work/netbeans/netbeans/platform/openide.filesystems.nb/arch.xml:2:
 The processing instruction target matching "[xX][mM][lL]" is not allowed.`
---
 platform/openide.filesystems.nb/arch.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/platform/openide.filesystems.nb/arch.xml 
b/platform/openide.filesystems.nb/arch.xml
index a489082..1619911 100644
--- a/platform/openide.filesystems.nb/arch.xml
+++ b/platform/openide.filesystems.nb/arch.xml
@@ -1,4 +1,3 @@
-
 
 

[netbeans] branch master updated: Propagate a launch error to the client.

2020-10-15 Thread entl
This is an automated email from the ASF dual-hosted git repository.

entl 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 a9dc33c  Propagate a launch error to the client.
 new 523a8d4  Merge pull request #2459 from entlicher/vscodeext_launchError
a9dc33c is described below

commit a9dc33cba25e476d63770a3adf0fc3b3797b9665
Author: Martin Entlicher 
AuthorDate: Thu Oct 15 18:08:02 2020 +0200

Propagate a launch error to the client.
---
 .../java/lsp/server/debugging/launch/NbLaunchDelegate.java   | 12 +++-
 .../lsp/server/debugging/launch/NbLaunchRequestHandler.java  |  3 +++
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java
index cb92008..768b02b 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java
@@ -18,18 +18,18 @@
  */
 package org.netbeans.modules.java.lsp.server.debugging.launch;
 
-import com.sun.jdi.VMDisconnectedException;
 import java.beans.PropertyChangeEvent;
 import java.beans.PropertyChangeListener;
 import java.util.ArrayList;
-import java.util.Arrays;
 import java.util.Collection;
-import java.util.HashSet;
 import java.util.Map;
-import java.util.concurrent.CancellationException;
 import java.util.concurrent.CompletableFuture;
 import java.util.function.Consumer;
 
+import org.eclipse.lsp4j.jsonrpc.ResponseErrorException;
+import org.eclipse.lsp4j.jsonrpc.messages.ResponseError;
+import org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode;
+
 import org.netbeans.api.annotations.common.CheckForNull;
 import org.netbeans.api.debugger.DebuggerManager;
 import org.netbeans.api.debugger.DebuggerManagerAdapter;
@@ -63,7 +63,9 @@ public abstract class NbLaunchDelegate {
 Pair providerAndCommand = findTarget(toRun, 
debug);
 CompletableFuture launchFuture = new CompletableFuture<>();
 if (providerAndCommand == null) {
-launchFuture.completeExceptionally(new 
CancellationException("Cannot find " + (debug ? "debug" : "run") + " action!"));
+launchFuture.completeExceptionally(new ResponseErrorException(new 
ResponseError(
+ResponseErrorCode.MethodNotFound,
+"Cannot find " + (debug ? "debug" : "run") + " action!", 
null)));
 return launchFuture;
 }
 NbProcessConsole ioContext = new NbProcessConsole(consoleMessages);
diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchRequestHandler.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchRequestHandler.java
index 53ad82a..8c0c855 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchRequestHandler.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchRequestHandler.java
@@ -101,6 +101,9 @@ public final class NbLaunchRequestHandler {
 activeLaunchHandler.nbLaunch(file, context, !noDebug, new 
OutputListener(context)).thenRun(() -> {
 activeLaunchHandler.postLaunch(launchArguments, context);
 resultFuture.complete(null);
+}).exceptionally(e -> {
+resultFuture.completeExceptionally(e);
+return null;
 });
 return resultFuture;
 }


-
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-3042) can't see loggers (log4j2) created from apps deployed on Payara servers

2020-10-15 Thread jose luis romero (Jira)


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

jose luis romero updated NETBEANS-3042:
---
Affects Version/s: 12.1
   12.0

> can't see loggers (log4j2) created from apps deployed on Payara servers
> ---
>
> Key: NETBEANS-3042
> URL: https://issues.apache.org/jira/browse/NETBEANS-3042
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Logger
>Affects Versions: 11.0, 12.0, 11.1, 11.2, 11.3, 12.1
> Environment: Windows 10, jdk 1.8, CentOS 7.x with AdoptOpenJDK 8 and 
> 11, Windows 10 with AdoptOpenJDK 8 and 11.
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png
>
>
> I can't see the logs (log4j2) generated by my apps deployed in Payara, they 
> are always empty.
> Tried to make a clean re-installation (no cache, no import config) but didn't 
> work
> Initially, I thought that I messed up some config file so I made a post 
> [https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-on-netbeans-console-tab|stackOverflow]
>  but no, it is a Netbeans issue introduced in 11.1 version + payara 5



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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 (952a6b8 -> 9646c3b)

2020-10-15 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from 952a6b8  [NETBEANS-4908] Enable run/debug single when the suitable 
task is provided by the Gradle project. (#2458)
 add 9646c3b  Add arch.xml for platform/openide.filesystems.nb module 
(#2402)

No new revisions were added by this update.

Summary of changes:
 .../openide.filesystems.nb}/arch.xml  | 19 +++
 .../nbproject/project.properties  |  5 -
 2 files changed, 11 insertions(+), 13 deletions(-)
 copy {java/java.hints.legacy.spi => platform/openide.filesystems.nb}/arch.xml 
(98%)


-
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 (3065c0b -> 952a6b8)

2020-10-15 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from 3065c0b  NETBEANS-4852 add tooltip with code coverage stats
 add 952a6b8  [NETBEANS-4908] Enable run/debug single when the suitable 
task is provided by the Gradle project. (#2458)

No new revisions were added by this update.

Summary of changes:
 extide/gradle/apichanges.xml   | 23 +++
 extide/gradle/manifest.mf  |  2 +-
 .../modules/gradle/ActionProviderImpl.java | 41 ++--
 .../modules/gradle/NbGradleProjectImpl.java| 20 +++---
 .../modules/gradle/actions/ActionToTaskUtils.java  |  1 +
 .../actions/CustomActionRegistrationSupport.java   |  1 +
 .../gradle/actions/GradleBaseTokenProvider.java|  2 +
 .../actions/ProjectActionMappingProviderImpl.java  |  1 +
 .../modules/gradle/api/execute/RunUtils.java   | 19 ++
 .../gradle/customizer/BuildActionsCustomizer.java  |  2 +-
 .../actions/ProjectActionMappingProvider.java  | 17 -
 .../gradle/spi/actions/ReplaceTokenProvider.java   | 34 ++
 .../modules/gradle/api/execute/RunUtilsTest.java   | 13 
 .../spi/actions/ReplaceTokenProviderTest.java  | 75 ++
 java/gradle.java/nbproject/project.xml |  2 +-
 .../gradle/java/GradleJavaTokenProvider.java   | 28 ++--
 .../modules/gradle/java/JavaActionProvider.java| 13 +++-
 17 files changed, 237 insertions(+), 57 deletions(-)
 rename extide/gradle/src/org/netbeans/modules/gradle/{ => 
spi}/actions/ProjectActionMappingProvider.java (61%)
 create mode 100644 
extide/gradle/test/unit/src/org/netbeans/modules/gradle/spi/actions/ReplaceTokenProviderTest.java


-
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: NETBEANS-4852 add tooltip with code coverage stats

2020-10-15 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi 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 3065c0b  NETBEANS-4852 add tooltip with code coverage stats
3065c0b is described below

commit 3065c0be894417ab69cae5cc36e591f6361e676f
Author: Jakub Herkel 
AuthorDate: Tue Aug 18 20:50:16 2020 +0200

NETBEANS-4852 add tooltip with code coverage stats
---
 .../modules/gsf/codecoverage/CoverageAction.java   |  33 +++--
 .../modules/gsf/codecoverage/CoverageBar.java  | 156 ++---
 .../modules/gsf/codecoverage/CoverageDocInfo.java  |   1 +
 .../codecoverage/CoverageHighlightsContainer.java  |  71 +-
 .../CoverageHighlightsLayerFactory.java|   8 +-
 .../gsf/codecoverage/CoverageManagerImpl.java  |  41 +++---
 .../codecoverage/CoverageReportTopComponent.java   |  76 ++
 .../modules/gsf/codecoverage/CoverageSideBar.java  |  40 +++---
 .../modules/gsf/codecoverage/api/CoverageType.java |  16 +--
 .../gsf/codecoverage/api/FileCoverageSummary.java  |  21 +--
 10 files changed, 253 insertions(+), 210 deletions(-)

diff --git 
a/ide/gsf.codecoverage/src/org/netbeans/modules/gsf/codecoverage/CoverageAction.java
 
b/ide/gsf.codecoverage/src/org/netbeans/modules/gsf/codecoverage/CoverageAction.java
index 4ea0d78..c3da79a 100644
--- 
a/ide/gsf.codecoverage/src/org/netbeans/modules/gsf/codecoverage/CoverageAction.java
+++ 
b/ide/gsf.codecoverage/src/org/netbeans/modules/gsf/codecoverage/CoverageAction.java
@@ -38,13 +38,14 @@ import org.openide.util.actions.Presenter;
 // TODO  -  ShowMenu extends AbstractAction implements DynamicMenuContent {
 // See ShowMenu.java in mercurial for simpler way to do this
 public final class CoverageAction extends AbstractAction implements 
ContextAwareAction {
+
 private static final int ACTION_TOGGLE_COLLECT = 1;
 private static final int ACTION_TOGGLE_AGGREGATION = 2;
 private static final int ACTION_CLEAR_RESULTS = 3;
 private static final int ACTION_SHOW_REPORT = 4;
 private static final int ACTION_TOGGLE_EDITORBAR = 5;
-private Action configureAction;
-private Action[] extraActions;
+private final Action configureAction;
+private final Action[] extraActions;
 
 public CoverageAction(Action configureAction, Action[] extraActions) {
 super();
@@ -57,6 +58,7 @@ public final class CoverageAction extends AbstractAction 
implements ContextAware
 assert false : "Action should never be called without a context";
 }
 
+@Override
 public Action createContextAwareInstance(Lookup actionContext) {
 return new ContextAction(actionContext, configureAction, extraActions);
 }
@@ -68,14 +70,16 @@ public final class CoverageAction extends AbstractAction 
implements ContextAware
 return new LazyMenu(project, configureAction, extraActions);
 }
 
-/** Build up a nested menu of migration tasks for the given project */
+/**
+ * Build up a nested menu of migration tasks for the given project
+ */
 static void buildMenu(JMenu menu, Project project, Action configureAction, 
Action[] extraActions) {
 boolean enabled = true;
 if (configureAction != null && configureAction.isEnabled()) {
 enabled = false;
 
-JMenuItem menuitem =
-new JMenuItem((String) 
configureAction.getValue(Action.NAME));
+JMenuItem menuitem
+= new JMenuItem((String) 
configureAction.getValue(Action.NAME));
 menuitem.addActionListener(configureAction);
 menu.add(menuitem);
 
@@ -86,7 +90,6 @@ public final class CoverageAction extends AbstractAction 
implements ContextAware
 }
 CoverageManagerImpl manager = CoverageManagerImpl.getInstance();
 
-
 boolean selected = manager.isEnabled(project);
 JMenuItem menuitem = new 
JCheckBoxMenuItem(NbBundle.getMessage(CoverageAction.class, 
"LBL_CollectCoverageAction"), selected);
 menuitem.addActionListener(new CoverageItemHandler(project, 
ACTION_TOGGLE_COLLECT));
@@ -121,7 +124,7 @@ public final class CoverageAction extends AbstractAction 
implements ContextAware
 menu.addSeparator();
 
 menuitem = new JMenuItem(NbBundle.getMessage(CoverageAction.class,
-"LBL_ShowReportAction"));
+"LBL_ShowReportAction"));
 menuitem.addActionListener(new CoverageItemHandler(project, 
ACTION_SHOW_REPORT));
 //menuitem.setToolTipText(target.getDescription());
 if (!enabled || !on) {
@@ -131,7 +134,7 @@ public final class CoverageAction extends AbstractAction 
implements ContextAware
 menu.addSeparator();
 
 menuitem = new 
JCheckBoxMenuItem(NbBundle.getMessage(CoverageAction.class, 
"LBL_ShowEditorBar"),
-manager.getShowEditorBar());
+

[jira] [Comment Edited] (NETBEANS-4910) No go to definition available when using LSP server, even if it is supported, eg:pyls

2020-10-15 Thread Borwe (Jira)


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

Borwe edited comment on NETBEANS-4910 at 10/15/20, 4:32 PM:


Actually, on second try, it works with the "Go To Declaration" key binding tag, 
or even pressing Ctrl+Right-Click, but it fails once one closes the file and 
reopens it again. Only code completion seems to work after that. And have to 
restart netbeans just to get the go to definition feature working again.


was (Author: borwe):
Actually, on second try, it works with the "Go To Declaration" tag, or even 
pressing Ctrl+Right-Click, but it fails once one closes the file and reopens it 
again. Only code completion seems to work after that. And have to restart 
netbeans just to get the go to definition feature working again.

> No go to definition available when using LSP server, even if it is supported, 
> eg:pyls
> -
>
> Key: NETBEANS-4910
> URL: https://issues.apache.org/jira/browse/NETBEANS-4910
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: Next, 12.0, 12.1
> Environment: Ubuntu (20.04)/Kde Neon(5.20.0)
> Java-> AdoptOpenjdk openj9 11.0.8
> Netbeans 12.1, also tried on Netbeans master branch.
>Reporter: Borwe
>Priority: Blocker
>
> It might be just me, but it appears there is no go to definition, when using 
> an lsp client in Apache netbeans even if the LSP server supports it, eg: pyls 
> LSP server. I did not see any Key mappings that suggested this, or even by 
> right clicking a word in the code, there was no such option...
> The server works fine, as I can get code completion hints when I press 
> Ctrl+Space, just no definitions available.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-4910) No go to definition available when using LSP server, even if it is supported, eg:pyls

2020-10-15 Thread Borwe (Jira)


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

Borwe commented on NETBEANS-4910:
-

Actually, on second thaught, it works with the "Go To Declaration" tag, or even 
pressing Ctrl+Right-Click, but it fails once one closes the file and reopens it 
again. Only code completion seems to work after that. And have to restart 
netbeans just to get the go to definition feature working again.

> No go to definition available when using LSP server, even if it is supported, 
> eg:pyls
> -
>
> Key: NETBEANS-4910
> URL: https://issues.apache.org/jira/browse/NETBEANS-4910
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: Next, 12.0, 12.1
> Environment: Ubuntu (20.04)/Kde Neon(5.20.0)
> Java-> AdoptOpenjdk openj9 11.0.8
> Netbeans 12.1, also tried on Netbeans master branch.
>Reporter: Borwe
>Priority: Blocker
>
> It might be just me, but it appears there is no go to definition, when using 
> an lsp client in Apache netbeans even if the LSP server supports it, eg: pyls 
> LSP server. I did not see any Key mappings that suggested this, or even by 
> right clicking a word in the code, there was no such option...
> The server works fine, as I can get code completion hints when I press 
> Ctrl+Space, just no definitions available.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-4910) No go to definition available when using LSP server, even if it is supported, eg:pyls

2020-10-15 Thread Borwe (Jira)


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

Borwe edited comment on NETBEANS-4910 at 10/15/20, 4:31 PM:


Actually, on second try, it works with the "Go To Declaration" tag, or even 
pressing Ctrl+Right-Click, but it fails once one closes the file and reopens it 
again. Only code completion seems to work after that. And have to restart 
netbeans just to get the go to definition feature working again.


was (Author: borwe):
Actually, on second thaught, it works with the "Go To Declaration" tag, or even 
pressing Ctrl+Right-Click, but it fails once one closes the file and reopens it 
again. Only code completion seems to work after that. And have to restart 
netbeans just to get the go to definition feature working again.

> No go to definition available when using LSP server, even if it is supported, 
> eg:pyls
> -
>
> Key: NETBEANS-4910
> URL: https://issues.apache.org/jira/browse/NETBEANS-4910
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: Next, 12.0, 12.1
> Environment: Ubuntu (20.04)/Kde Neon(5.20.0)
> Java-> AdoptOpenjdk openj9 11.0.8
> Netbeans 12.1, also tried on Netbeans master branch.
>Reporter: Borwe
>Priority: Blocker
>
> It might be just me, but it appears there is no go to definition, when using 
> an lsp client in Apache netbeans even if the LSP server supports it, eg: pyls 
> LSP server. I did not see any Key mappings that suggested this, or even by 
> right clicking a word in the code, there was no such option...
> The server works fine, as I can get code completion hints when I press 
> Ctrl+Space, just no definitions available.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-3042) can't see loggers (log4j2) created from apps deployed on Payara servers

2020-10-15 Thread Cole H Little (Jira)


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

Cole H Little commented on NETBEANS-3042:
-

My team has upgraded to JSF2.3 and we are now experiencing issues with Netbeans 
8.2 compatibility. We would like to upgrade to Netbeans 12.0, but because this 
issue still exists, obviously we cannot.

Why would this not have been fixed in 3-4  version releases? It seems to be an 
important issue.

> can't see loggers (log4j2) created from apps deployed on Payara servers
> ---
>
> Key: NETBEANS-3042
> URL: https://issues.apache.org/jira/browse/NETBEANS-3042
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Logger
>Affects Versions: 11.0, 11.1, 11.2, 11.3
> Environment: Windows 10, jdk 1.8, CentOS 7.x with AdoptOpenJDK 8 and 
> 11, Windows 10 with AdoptOpenJDK 8 and 11.
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png
>
>
> I can't see the logs (log4j2) generated by my apps deployed in Payara, they 
> are always empty.
> Tried to make a clean re-installation (no cache, no import config) but didn't 
> work
> Initially, I thought that I messed up some config file so I made a post 
> [https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-on-netbeans-console-tab|stackOverflow]
>  but no, it is a Netbeans issue introduced in 11.1 version + payara 5



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-4910) No go to definition available when using LSP server, even if it is supported, eg:pyls

2020-10-15 Thread Borwe (Jira)


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

Borwe updated NETBEANS-4910:

Affects Version/s: 12.1
   Next
   12.0

> No go to definition available when using LSP server, even if it is supported, 
> eg:pyls
> -
>
> Key: NETBEANS-4910
> URL: https://issues.apache.org/jira/browse/NETBEANS-4910
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: Next, 12.0, 12.1
> Environment: Ubuntu (20.04)/Kde Neon(5.20.0)
> Java-> AdoptOpenjdk openj9 11.0.8
> Netbeans 12.1, also tried on Netbeans master branch.
>Reporter: Borwe
>Priority: Blocker
>
> It might be just me, but it appears there is no go to definition, when using 
> an lsp client in Apache netbeans even if the LSP server supports it, eg: pyls 
> LSP server. I did not see any Key mappings that suggested this, or even by 
> right clicking a word in the code, there was no such option...
> The server works fine, as I can get code completion hints when I press 
> Ctrl+Space, just no definitions available.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-4910) No go to definition available when using LSP server, even if it is supported, eg:pyls

2020-10-15 Thread Borwe (Jira)
Borwe created NETBEANS-4910:
---

 Summary: No go to definition available when using LSP server, even 
if it is supported, eg:pyls
 Key: NETBEANS-4910
 URL: https://issues.apache.org/jira/browse/NETBEANS-4910
 Project: NetBeans
  Issue Type: Bug
 Environment: Ubuntu (20.04)/Kde Neon(5.20.0)
Java-> AdoptOpenjdk openj9 11.0.8
Netbeans 12.1, also tried on Netbeans master branch.
Reporter: Borwe


It might be just me, but it appears there is no go to definition, when using an 
lsp client in Apache netbeans even if the LSP server supports it, eg: pyls LSP 
server. I did not see any Key mappings that suggested this, or even by right 
clicking a word in the code, there was no such option...

The server works fine, as I can get code completion hints when I press 
Ctrl+Space, just no definitions available.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-4908) Enable run and debug single file in Gradle projects if there is a runSingle task defined

2020-10-15 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-4908:
-
Labels: pull-request-available  (was: )

> Enable run and debug single file in Gradle projects if there is a runSingle 
> task defined
> 
>
> Key: NETBEANS-4908
> URL: https://issues.apache.org/jira/browse/NETBEANS-4908
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now run and debug single actions are only enabled if the user turns 
> augmented build on, however if it turned off and the user defines a runSingle 
> task in the project, then the action can be enabled.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-4871) Cannot (un)comment lines in Gradle Build Files using keyboard shortcut

2020-10-15 Thread Alex lewis (Jira)


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

Alex lewis commented on NETBEANS-4871:
--

Thanks [~lkishalmi]. Just to confirm, does that mean this is a bug to be fixed 
or is there something I'm meant to do?

> Cannot (un)comment lines in Gradle Build Files using keyboard shortcut
> --
>
> Key: NETBEANS-4871
> URL: https://issues.apache.org/jira/browse/NETBEANS-4871
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.1
>Reporter: Alex lewis
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> Steps:
>  # Open a \{build.gradle} from within a loaded Gradle project.
>  # Move cursor to a line in the file.
>  # Use the "toggle comment" shortcut (both variations) keyboard shortcut.
> Expected:
> Line comment is toggled.
> Actual:
> Nothing happens.
>  
> The same is true for multi-line select.
>  
> I've marked this as Major as this is a frustrating loss of functionality from 
> a developer/productivity/ease-of-use standpoint; however, I understand if it 
> is downgraded to Minor as there is a workaround of manually (un)commenting a 
> line. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-4533) Chinese characters not displayed in table header for ordered column (Windows Look)

2020-10-15 Thread Adrien DE GEORGES (Jira)


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

Adrien DE GEORGES reassigned NETBEANS-4533:
---

Assignee: Adrien DE GEORGES  (was: Laszlo Kishalmi)

> Chinese characters not displayed in table header for ordered column (Windows 
> Look)
> ---
>
> Key: NETBEANS-4533
> URL: https://issues.apache.org/jira/browse/NETBEANS-4533
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - OutlineTreeTable
> Environment: Windows 7, using the Windows Look and Feel.
>Reporter: Adrien DE GEORGES
>Assignee: Adrien DE GEORGES
>Priority: Major
>  Labels: pull-request-available
> Attachments: BugETableChinese.zip, ETableHeader.java.v8.2.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Scenario:
>  * Use the Windows Look and Feel in your Java application (with Metal: no 
> problem).
>  * Create a ETable with a column header having characters in Chinese or 
> Japanese (or any not supported by Tahoma font).
>  * When running the program, click on this header to sort the column => these 
> characters will be replaced by a square.
>  (small Maven project attached, with 1 class and one main method)
> Root cause:
>  The headers of the sorted columns will be rendered in bold by the ETable, 
> which is done in "ETableHeader::getTableCellRendererComponent". This code 
> takes the font of the JLabel used for the rendering, and creates a similar 
> font in bold. For that, it does not uses "Font::deriveFont(...)" (because of 
> a 2005 bug with Apple's JVM), but uses "(new Font (label.getFont().getName(), 
> ...)".
>  Under Windows it is a problem:
>  * the default font (used here by the JLabel) is a composite font
>  * from what I understand, a composite font is a list of physical fonts, 
> which will be successively used to try to render a given character.
>  * this list of the physical fonts contains one that supports Chinese 
> characters.
>  * label.getFont().getName() retrieves the name of the first font of the 
> composite font, in the case of the Windows Look and Feel it is "Tahoma" 
> (which does not support Chinese).
>  * so the "new Font(...)" used as a header renderer will be only "Tahoma", 
> hence the square characters.
>  
> The suggestion is to revert the patch from 2005 as it is not reproductible 
> anymore (change of JRE)
> Old code:
>  // don't use deriveFont() - see #49973 for details
>  label.setFont (new Font (label.getFont ().getName (), Font.BOLD, 
> label.getFont ().getSize ()));
> New code:
>  label.setFont(label.getFont().deriveFont(Font.BOLD));
> A patch is attached in the ticket.
> Please note that this is a duplicate of a bug already logged in the old 
> Bugzilla : [https://bz.apache.org/netbeans/show_bug.cgi?id=270091]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-4909) Unknown nullpointer exception

2020-10-15 Thread Martin Meeser (Jira)


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

Martin Meeser updated NETBEANS-4909:

Description: 
The IDE reports an unknown exception.

Not clear what is causing it.

> Unknown nullpointer exception
> -
>
> Key: NETBEANS-4909
> URL: https://issues.apache.org/jira/browse/NETBEANS-4909
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.1
> Environment: Ubuntu 20, Java 14, NB 12.1, Gradle 6.7
>Reporter: Martin Meeser
>Priority: Minor
> Attachments: np.txt
>
>
> The IDE reports an unknown exception.
> Not clear what is causing it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-4909) Unknown nullpointer exception

2020-10-15 Thread Martin Meeser (Jira)
Martin Meeser created NETBEANS-4909:
---

 Summary: Unknown nullpointer exception
 Key: NETBEANS-4909
 URL: https://issues.apache.org/jira/browse/NETBEANS-4909
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.1
 Environment: Ubuntu 20, Java 14, NB 12.1, Gradle 6.7
Reporter: Martin Meeser
 Attachments: np.txt





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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