[jira] [Comment Edited] (NETBEANS-4917) Cannot convert to text

2020-10-29 Thread Akshay Gupta (Jira)


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

Akshay Gupta edited comment on NETBEANS-4917 at 10/29/20, 6:38 AM:
---

I see this problem in 12.2 beta2 release but seems like hint is working fine in 
master branch right now(tested with and without nb-javac but only in jdk15). 
[~jtulach] can you check the same with the master if you're still getting the 
same problem.
 And for the "flip operands", hints check for operands to be string and mark 
the hint as unsafe( give the warning of semantics change). If you think it is 
required, I can remove the hint when any operand is string.


was (Author: akshaygupta):
I see this problem in 12.2 beta2 release but seems like hint is working fine in 
master branch right now(tested with and without nb-javac but only in jdk15). 
[~jtulach] can you check the same with the master if you're still getting the 
same problem.
And for the "flip operands" hints check for operands to be string and mark the 
hint as unsafe( give the warning of semantics change. If you think it is 
possible to remove the hint when any operand is string.

> Cannot convert to text
> --
>
> Key: NETBEANS-4917
> URL: https://issues.apache.org/jira/browse/NETBEANS-4917
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Reporter: Jaroslav Tulach
>Assignee: Akshay Gupta
>Priority: Major
> Attachments: image-2020-10-17-08-54-06-928.png
>
>
> I am not able to invoke "Convert to Text Block" hint/inspect & refactor, etc. 
> To reproduce my problem:
> * clone https://github.com/JaroslavTulach/heapdump/ revision 
> 2c8cd7e89ee4cc613a345df023e93b0662df391b
> * open in NetBeans 
> * go to Main.java line 52
> * try to convert to text block
> * it is not working for me. No hint.
> * Tried Refactor/Inspect + single inspection: Convert to Text block. Nothing.
>  !image-2020-10-17-08-54-06-928.png! 
> The {{pom.xml}} contains source and target set to 8. I tried everything: 
> change that to 15, run the NetBeans on 15. No luck.



--
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] tag 12.2-beta3 created (now 50cc574)

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

lkishalmi pushed a change to tag 12.2-beta3
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at 50cc574  (commit)
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] 01/01: Merge Apache NetBeans 12.2-beta3 changes to master

2020-10-29 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

commit 9d6b92085dfefc102da7239bdaccd847fd13
Merge: efe78c6 50cc574
Author: Laszlo Kishalmi 
AuthorDate: Thu Oct 29 19:10:48 2020 -0700

Merge Apache NetBeans 12.2-beta3 changes to master

 extide/gradle/arch.xml |   9 +-
 .../gradle/tooling/NbProjectInfoBuilder.groovy |   1 +
 .../src/test/data/simple-with-tests/build.gradle   |  40 +--
 .../test/data/simple-with-tests/settings.gradle|  19 ++
 .../src/test/data/simple/settings.gradle   |  19 ++
 .../src/test/data/unresolvable/settings.gradle |  19 ++
 .../modules/gradle/GradleModuleFileCache21.java| 254 
 .../modules/gradle/GradleProjectCache.java |   7 +-
 .../gradle/api/GradleBaseProjectBuilder.java   |  49 +++-
 .../modules/gradle/api/GradleProjects.java |  12 +-
 .../modules/gradle/cache/ProjectInfoDiskCache.java |   9 +-
 .../modules/gradle/execute/TrustProjectPanel.java  |   6 +-
 .../newproject/ProjectAttributesPanelVisual.java   |   2 +-
 .../modules/gradle/nodes/ConfigurationsNode.java   |  32 +-
 .../lsp/client/bindings/HyperlinkProviderImpl.java |  12 +-
 .../TextDocumentSyncServerCapabilityHandler.java   |  33 ++-
 .../modules/project/ui/problems/Bundle.properties  |   2 +-
 .../jpda/backend/truffle/JPDATruffleAccessor.java  |  14 +-
 java/gradle.htmlui/nbproject/project.xml   |   9 +
 .../modules/gradle/htmlui/GradleArchetype.java |  75 +++--
 .../htmlui/HtmlJavaApplicationProjectWizard.java   |  51 +---
 .../modules/gradle/htmlui/resources/layer.xml  |   3 +
 .../modules/gradle/htmlui/CreateArchetypeTest.java |  11 +-
 .../gradle/java/customizer/Bundle.properties   |   2 -
 .../java/customizer/CompileOptionsPanel.form   |  38 +--
 .../java/customizer/CompileOptionsPanel.java   |  32 +-
 .../nbcode/integration/nbproject/project.xml   |   8 +
 .../nbcode/integration/LspDialogDisplayer.java |  31 ++
 java/java.lsp.server/nbproject/project.xml |   8 +
 .../modules/java/lsp/server/LspServerUtils.java|  91 ++
 .../lsp/server/protocol/NbCodeLanguageClient.java  |   4 +
 .../modules/java/lsp/server/protocol/Server.java   | 229 +++
 .../lsp/server/protocol/WorkspaceUIContext.java|   9 +-
 .../lsp/server/ui/AbstractDialogDisplayer.java |  68 +
 .../lsp/server/ui/NotifyDescriptorAdapter.java | 325 +
 .../modules/java/lsp/server/ui/UIContext.java  |  39 ++-
 .../lsp/server/ui/AbstractDialogDisplayerTest.java | 156 ++
 java/java.lsp.server/vscode/README.md  |  20 ++
 java/java.lsp.server/vscode/package.json   |  24 +-
 java/java.lsp.server/vscode/src/extension.ts   | 198 -
 java/java.lsp.server/vscode/src/nbcode.ts  |   9 +-
 41 files changed, 1634 insertions(+), 345 deletions(-)


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

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



[netbeans] branch master updated (efe78c6 -> 9d6b920)

2020-10-29 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 efe78c6  Option to skip CoS copying of class files when the target is 
already newer, such as from an external compilation (#504)
 add 85358b7  Prevent from a deadlock between debugger and debuggee when 
breakpoint is resolved right during it's submission.
 add 2dc5015  Merge pull request #2481 from 
entlicher/TruffleBreakpointResolutionDeadlock_delivery
 add edf441e  Prevent NullPointerException from LSP HyperlinkProvider
 add 444dd9c  [NETBEANS-4938] Fixed Gradle Java Frontend Application 
generation
 add e3d0dc6  Applying typescript hints
 add 69af749  Search for JDK in typical location
 add a41a490  Start the LanguageClient just once
 add bb591a8  Consistently using: Apache Netbeans Language Server
 add e38771f  Only set the workspace setting when workspace.name is defined
 add a8dbed1  Merge pull request #2480 from JaroslavTulach/delivery
 add 2a9e274  [NETBEANS-4944] Create New Gradle Projects with Wrapper by 
Default
 add 7eb08c0  [NETBEANS-4916] Removed Non-Inplemented COS Settings from 
Gradle Project UI
 add 97cf432  Fixing registration of Mark occurences and Breadcrumbs for 
lsp.client.
 add 521d95a  Avoid confusion by disabling code lenses for running, 
debugging and testing
 add 4e4688c  Merge pull request #2492 from 
JaroslavTulach/jtulach/AvoidConflicts
 add 319f506  Properly specify --userdir when lauching the nbcode launcher
 add d492b87  Merge pull request #2494 from 
JaroslavTulach/jtulach/NbCodeUserdir
 add dd7e74b  [NETBEANS-3789] Fix missing configuration nodes.
 add cee80c2  Infrastructure to display simple confirmations/questions in 
LSP client. (#2493)
 add cec7557  Avoid registering the LSP client's hyperlink provider unless 
the given file is handled by the LSP client.
 add 50cc574  [NETBEANS-4535] Better way to detect sources and javadocs in 
Gradle Projects
 new 9d6b920  Merge Apache NetBeans 12.2-beta3 changes to master

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


Summary of changes:
 extide/gradle/arch.xml |   9 +-
 .../gradle/tooling/NbProjectInfoBuilder.groovy |   1 +
 .../src/test/data/simple-with-tests/build.gradle   |  40 +--
 .../settings.gradle}   |   0
 .../src/build.gradle => simple/settings.gradle}|   0
 .../build.gradle => unresolvable/settings.gradle}  |   0
 .../modules/gradle/GradleModuleFileCache21.java| 254 
 .../modules/gradle/GradleProjectCache.java |   7 +-
 .../gradle/api/GradleBaseProjectBuilder.java   |  49 +++-
 .../modules/gradle/api/GradleProjects.java |  12 +-
 .../modules/gradle/cache/ProjectInfoDiskCache.java |   9 +-
 .../modules/gradle/execute/TrustProjectPanel.java  |   6 +-
 .../newproject/ProjectAttributesPanelVisual.java   |   2 +-
 .../modules/gradle/nodes/ConfigurationsNode.java   |  32 +-
 .../lsp/client/bindings/HyperlinkProviderImpl.java |  12 +-
 .../TextDocumentSyncServerCapabilityHandler.java   |  33 ++-
 .../modules/project/ui/problems/Bundle.properties  |   2 +-
 .../jpda/backend/truffle/JPDATruffleAccessor.java  |  14 +-
 java/gradle.htmlui/nbproject/project.xml   |   9 +
 .../modules/gradle/htmlui/GradleArchetype.java |  75 +++--
 .../htmlui/HtmlJavaApplicationProjectWizard.java   |  51 +---
 .../modules/gradle/htmlui/resources/layer.xml  |   3 +
 .../modules/gradle/htmlui/CreateArchetypeTest.java |  11 +-
 .../gradle/java/customizer/Bundle.properties   |   2 -
 .../java/customizer/CompileOptionsPanel.form   |  38 +--
 .../java/customizer/CompileOptionsPanel.java   |  32 +-
 .../nbcode/integration/nbproject/project.xml   |   8 +
 .../nbcode/integration/LspDialogDisplayer.java |  31 ++
 java/java.lsp.server/nbproject/project.xml |   8 +
 .../modules/java/lsp/server/LspServerUtils.java|  91 ++
 .../lsp/server/protocol/NbCodeLanguageClient.java  |   4 +
 .../modules/java/lsp/server/protocol/Server.java   | 229 +++
 .../lsp/server/protocol/WorkspaceUIContext.java|   9 +-
 .../lsp/server/ui/AbstractDialogDisplayer.java |  68 +
 .../lsp/server/ui/NotifyDescriptorAdapter.java | 325 +
 .../modules/java/lsp/server/ui/UIContext.java  |  39 ++-
 .../lsp/server/ui/AbstractDialogDisplayerTest.java | 156 ++
 java/java.lsp.server/vscode/README.md  |  20 ++
 java/java.lsp.server/vscode/package.json   |  24 +-
 java/java.lsp.server/vscode/src/extension.ts   | 198 -
 java/java.lsp.server/vscode/src/nbcode.ts  |   9 +-
 41 files changed, 

[jira] [Updated] (NETBEANS-4967) Doesn't support optional chaining in JS

2020-10-29 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-4967:
-
Issue Type: New Feature  (was: Bug)

> Doesn't support optional chaining in JS
> ---
>
> Key: NETBEANS-4967
> URL: https://issues.apache.org/jira/browse/NETBEANS-4967
> Project: NetBeans
>  Issue Type: New Feature
>Affects Versions: 12.1
>Reporter: dj dance
>Priority: Major
>
> It doesn't support optional chaining in JS
>  
> For example, it considers the following as a bug and stop working.
>  
> var k=obj?.prop



--
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-4967) Doesn't support optional chaining in JS

2020-10-29 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4967:
--

The parser/token file is to old. So it is not really a bug those new ES 
standard features are still not supported so I will change this to feature 
request.

> Doesn't support optional chaining in JS
> ---
>
> Key: NETBEANS-4967
> URL: https://issues.apache.org/jira/browse/NETBEANS-4967
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.1
>Reporter: dj dance
>Priority: Major
>
> It doesn't support optional chaining in JS
>  
> For example, it considers the following as a bug and stop working.
>  
> var k=obj?.prop



--
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-4967) Doesn't support optional chaining in JS

2020-10-29 Thread dj dance (Jira)
dj dance created NETBEANS-4967:
--

 Summary: Doesn't support optional chaining in JS
 Key: NETBEANS-4967
 URL: https://issues.apache.org/jira/browse/NETBEANS-4967
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.1
Reporter: dj dance


It doesn't support optional chaining in JS

 

For example, it considers the following as a bug and stop working.

 

var k=obj?.prop



--
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-4798) Properties in Border Customizer not functional

2020-10-29 Thread Michael Estes (Jira)


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

Michael Estes commented on NETBEANS-4798:
-

I'm experiencing the same issue.  Has any progress been made on an answer to 
this issue?

> Properties in Border Customizer not functional
> --
>
> Key: NETBEANS-4798
> URL: https://issues.apache.org/jira/browse/NETBEANS-4798
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Property Editors
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Windows Server 2019 version 10.0 running on amd64; Cp1252; en_US (nb)
>Reporter: Juergen Klotz
>Priority: Minor
>
> Trying to change the border of a swing component like e.g. JPanel using the 
> border customizer
> The customizer offers the available borders. When selecting one, respective 
> properties of the selected border type are shown, but the when trying to 
> assign a value, no values are available in the properties combo box.
> This had worked before with NB11



--
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 updated: [NETBEANS-4535] Better way to detect sources and javadocs in Gradle Projects

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

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


The following commit(s) were added to refs/heads/delivery by this push:
 new 50cc574  [NETBEANS-4535] Better way to detect sources and javadocs in 
Gradle Projects
50cc574 is described below

commit 50cc57430a8ca3f87ecaed9c978b0c12a8ce7cfb
Author: Laszlo Kishalmi 
AuthorDate: Wed Oct 28 16:37:53 2020 -0700

[NETBEANS-4535] Better way to detect sources and javadocs in Gradle Projects
---
 .../gradle/api/GradleBaseProjectBuilder.java   | 18 ++
 .../modules/gradle/api/GradleProjects.java | 12 +++--
 .../modules/gradle/nodes/ConfigurationsNode.java   | 29 +++---
 3 files changed, 38 insertions(+), 21 deletions(-)

diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
index 2ee96da..738ec1f 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
@@ -156,11 +156,19 @@ class GradleBaseProjectBuilder implements 
ProjectInfoExtractor.Result {
 unresolvedProblems = unresolvedProblems != null ? unresolvedProblems : 
Collections.emptyMap();
 Map components = new HashMap<>();
 for (Map.Entry> entry : arts.entrySet()) {
-ModuleDependency dep = new ModuleDependency(entry.getKey(), 
entry.getValue());
-
-components.put(entry.getKey(), dep);
-dep.sources = sources.get(entry.getKey());
-dep.javadoc = javadocs.get(entry.getKey());
+String componentId = entry.getKey();
+// Looking at cache first as we might have the chance to find 
Sources and Javadocs
+ModuleDependency dep = resolveModuleDependency(gradleUserHome, 
componentId);
+if (!dep.getArtifacts().equals(entry.getValue())) {
+dep = new ModuleDependency(componentId, entry.getValue());
+}
+components.put(componentId, dep);
+if (sources.containsKey(componentId)) {
+dep.sources = sources.get(entry.getKey());
+}
+if (javadocs.containsKey(componentId)) {
+dep.javadoc = javadocs.get(entry.getKey());
+}
 }
 Map projects = new HashMap<>();
 for (Map.Entry entry : prjs.entrySet()) {
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java
index d19a882..85b8515 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java
@@ -26,6 +26,7 @@ import java.util.HashMap;
 import java.util.Map;
 import org.netbeans.api.project.Project;
 import org.netbeans.api.project.ui.OpenProjects;
+import org.netbeans.modules.gradle.GradleModuleFileCache21;
 import org.netbeans.modules.gradle.spi.GradleFiles;
 
 /**
@@ -45,7 +46,10 @@ public final class GradleProjects {
  * not available.
  */
 public static File getSources(File binary) {
-return GradleArtifactStore.getDefault().getSources(binary);
+GradleModuleFileCache21 cache = 
GradleModuleFileCache21.getGradleFileCache();
+GradleModuleFileCache21.CachedArtifactVersion av = 
cache.resolveCachedArtifactVersion(binary.toPath());
+GradleModuleFileCache21.CachedArtifactVersion.Entry sources = av != 
null ? av.getSources() : null;
+return sources != null ? sources.getPath().toFile() : 
GradleArtifactStore.getDefault().getSources(binary);
 }
 
 /**
@@ -55,7 +59,10 @@ public final class GradleProjects {
  * not available.
  */
 public static File getJavadoc(File binary) {
-return GradleArtifactStore.getDefault().getJavadoc(binary);
+GradleModuleFileCache21 cache = 
GradleModuleFileCache21.getGradleFileCache();
+GradleModuleFileCache21.CachedArtifactVersion av = 
cache.resolveCachedArtifactVersion(binary.toPath());
+GradleModuleFileCache21.CachedArtifactVersion.Entry javadoc = av != 
null ? av.getJavaDoc() : null;
+return javadoc != null ? javadoc.getPath().toFile() : 
GradleArtifactStore.getDefault().getJavadoc(binary);
 }
 
 /**
@@ -146,4 +153,5 @@ public final class GradleProjects {
 }
 }
 }
+
 }
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java 
b/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
index 4b20eb7..89fb4b9 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
@@ -223,7 +223,6 @@ public 

[jira] [Commented] (NETBEANS-4967) Doesn't support optional chaining in JS

2020-10-29 Thread dj dance (Jira)


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

dj dance commented on NETBEANS-4967:


sure you can move it to features, but it is supported since summer 2020. And 
how to update my IDE by new syntaxis? I hoped it will be in newest 12.1, but 
not...

> Doesn't support optional chaining in JS
> ---
>
> Key: NETBEANS-4967
> URL: https://issues.apache.org/jira/browse/NETBEANS-4967
> Project: NetBeans
>  Issue Type: New Feature
>Affects Versions: 12.1
>Reporter: dj dance
>Priority: Major
>
> It doesn't support optional chaining in JS
>  
> For example, it considers the following as a bug and stop working.
>  
> var k=obj?.prop



--
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 updated: [NETBEANS-4535] Better way to detect sources and javadocs in Gradle Projects

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

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


The following commit(s) were added to refs/heads/delivery by this push:
 new 50cc574  [NETBEANS-4535] Better way to detect sources and javadocs in 
Gradle Projects
50cc574 is described below

commit 50cc57430a8ca3f87ecaed9c978b0c12a8ce7cfb
Author: Laszlo Kishalmi 
AuthorDate: Wed Oct 28 16:37:53 2020 -0700

[NETBEANS-4535] Better way to detect sources and javadocs in Gradle Projects
---
 .../gradle/api/GradleBaseProjectBuilder.java   | 18 ++
 .../modules/gradle/api/GradleProjects.java | 12 +++--
 .../modules/gradle/nodes/ConfigurationsNode.java   | 29 +++---
 3 files changed, 38 insertions(+), 21 deletions(-)

diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
index 2ee96da..738ec1f 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
@@ -156,11 +156,19 @@ class GradleBaseProjectBuilder implements 
ProjectInfoExtractor.Result {
 unresolvedProblems = unresolvedProblems != null ? unresolvedProblems : 
Collections.emptyMap();
 Map components = new HashMap<>();
 for (Map.Entry> entry : arts.entrySet()) {
-ModuleDependency dep = new ModuleDependency(entry.getKey(), 
entry.getValue());
-
-components.put(entry.getKey(), dep);
-dep.sources = sources.get(entry.getKey());
-dep.javadoc = javadocs.get(entry.getKey());
+String componentId = entry.getKey();
+// Looking at cache first as we might have the chance to find 
Sources and Javadocs
+ModuleDependency dep = resolveModuleDependency(gradleUserHome, 
componentId);
+if (!dep.getArtifacts().equals(entry.getValue())) {
+dep = new ModuleDependency(componentId, entry.getValue());
+}
+components.put(componentId, dep);
+if (sources.containsKey(componentId)) {
+dep.sources = sources.get(entry.getKey());
+}
+if (javadocs.containsKey(componentId)) {
+dep.javadoc = javadocs.get(entry.getKey());
+}
 }
 Map projects = new HashMap<>();
 for (Map.Entry entry : prjs.entrySet()) {
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java
index d19a882..85b8515 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java
@@ -26,6 +26,7 @@ import java.util.HashMap;
 import java.util.Map;
 import org.netbeans.api.project.Project;
 import org.netbeans.api.project.ui.OpenProjects;
+import org.netbeans.modules.gradle.GradleModuleFileCache21;
 import org.netbeans.modules.gradle.spi.GradleFiles;
 
 /**
@@ -45,7 +46,10 @@ public final class GradleProjects {
  * not available.
  */
 public static File getSources(File binary) {
-return GradleArtifactStore.getDefault().getSources(binary);
+GradleModuleFileCache21 cache = 
GradleModuleFileCache21.getGradleFileCache();
+GradleModuleFileCache21.CachedArtifactVersion av = 
cache.resolveCachedArtifactVersion(binary.toPath());
+GradleModuleFileCache21.CachedArtifactVersion.Entry sources = av != 
null ? av.getSources() : null;
+return sources != null ? sources.getPath().toFile() : 
GradleArtifactStore.getDefault().getSources(binary);
 }
 
 /**
@@ -55,7 +59,10 @@ public final class GradleProjects {
  * not available.
  */
 public static File getJavadoc(File binary) {
-return GradleArtifactStore.getDefault().getJavadoc(binary);
+GradleModuleFileCache21 cache = 
GradleModuleFileCache21.getGradleFileCache();
+GradleModuleFileCache21.CachedArtifactVersion av = 
cache.resolveCachedArtifactVersion(binary.toPath());
+GradleModuleFileCache21.CachedArtifactVersion.Entry javadoc = av != 
null ? av.getJavaDoc() : null;
+return javadoc != null ? javadoc.getPath().toFile() : 
GradleArtifactStore.getDefault().getJavadoc(binary);
 }
 
 /**
@@ -146,4 +153,5 @@ public final class GradleProjects {
 }
 }
 }
+
 }
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java 
b/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
index 4b20eb7..89fb4b9 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
@@ -223,7 +223,6 @@ public 

[netbeans] branch delivery updated: [NETBEANS-4535] Better way to detect sources and javadocs in Gradle Projects

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

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


The following commit(s) were added to refs/heads/delivery by this push:
 new 50cc574  [NETBEANS-4535] Better way to detect sources and javadocs in 
Gradle Projects
50cc574 is described below

commit 50cc57430a8ca3f87ecaed9c978b0c12a8ce7cfb
Author: Laszlo Kishalmi 
AuthorDate: Wed Oct 28 16:37:53 2020 -0700

[NETBEANS-4535] Better way to detect sources and javadocs in Gradle Projects
---
 .../gradle/api/GradleBaseProjectBuilder.java   | 18 ++
 .../modules/gradle/api/GradleProjects.java | 12 +++--
 .../modules/gradle/nodes/ConfigurationsNode.java   | 29 +++---
 3 files changed, 38 insertions(+), 21 deletions(-)

diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
index 2ee96da..738ec1f 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
@@ -156,11 +156,19 @@ class GradleBaseProjectBuilder implements 
ProjectInfoExtractor.Result {
 unresolvedProblems = unresolvedProblems != null ? unresolvedProblems : 
Collections.emptyMap();
 Map components = new HashMap<>();
 for (Map.Entry> entry : arts.entrySet()) {
-ModuleDependency dep = new ModuleDependency(entry.getKey(), 
entry.getValue());
-
-components.put(entry.getKey(), dep);
-dep.sources = sources.get(entry.getKey());
-dep.javadoc = javadocs.get(entry.getKey());
+String componentId = entry.getKey();
+// Looking at cache first as we might have the chance to find 
Sources and Javadocs
+ModuleDependency dep = resolveModuleDependency(gradleUserHome, 
componentId);
+if (!dep.getArtifacts().equals(entry.getValue())) {
+dep = new ModuleDependency(componentId, entry.getValue());
+}
+components.put(componentId, dep);
+if (sources.containsKey(componentId)) {
+dep.sources = sources.get(entry.getKey());
+}
+if (javadocs.containsKey(componentId)) {
+dep.javadoc = javadocs.get(entry.getKey());
+}
 }
 Map projects = new HashMap<>();
 for (Map.Entry entry : prjs.entrySet()) {
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java
index d19a882..85b8515 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleProjects.java
@@ -26,6 +26,7 @@ import java.util.HashMap;
 import java.util.Map;
 import org.netbeans.api.project.Project;
 import org.netbeans.api.project.ui.OpenProjects;
+import org.netbeans.modules.gradle.GradleModuleFileCache21;
 import org.netbeans.modules.gradle.spi.GradleFiles;
 
 /**
@@ -45,7 +46,10 @@ public final class GradleProjects {
  * not available.
  */
 public static File getSources(File binary) {
-return GradleArtifactStore.getDefault().getSources(binary);
+GradleModuleFileCache21 cache = 
GradleModuleFileCache21.getGradleFileCache();
+GradleModuleFileCache21.CachedArtifactVersion av = 
cache.resolveCachedArtifactVersion(binary.toPath());
+GradleModuleFileCache21.CachedArtifactVersion.Entry sources = av != 
null ? av.getSources() : null;
+return sources != null ? sources.getPath().toFile() : 
GradleArtifactStore.getDefault().getSources(binary);
 }
 
 /**
@@ -55,7 +59,10 @@ public final class GradleProjects {
  * not available.
  */
 public static File getJavadoc(File binary) {
-return GradleArtifactStore.getDefault().getJavadoc(binary);
+GradleModuleFileCache21 cache = 
GradleModuleFileCache21.getGradleFileCache();
+GradleModuleFileCache21.CachedArtifactVersion av = 
cache.resolveCachedArtifactVersion(binary.toPath());
+GradleModuleFileCache21.CachedArtifactVersion.Entry javadoc = av != 
null ? av.getJavaDoc() : null;
+return javadoc != null ? javadoc.getPath().toFile() : 
GradleArtifactStore.getDefault().getJavadoc(binary);
 }
 
 /**
@@ -146,4 +153,5 @@ public final class GradleProjects {
 }
 }
 }
+
 }
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java 
b/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
index 4b20eb7..89fb4b9 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
@@ -223,7 +223,6 @@ public 

[jira] [Created] (NETBEANS-4968) Upgrade Metro from 2.3.1 to 2.4.4

2020-10-29 Thread Jose (Jira)
Jose created NETBEANS-4968:
--

 Summary: Upgrade Metro from 2.3.1 to 2.4.4
 Key: NETBEANS-4968
 URL: https://issues.apache.org/jira/browse/NETBEANS-4968
 Project: NetBeans
  Issue Type: Improvement
  Components: projects - Libraries
Affects Versions: 12.1, 12.2
Reporter: Jose
Assignee: Jose
 Fix For: Next


Notes:
- Second release under the Eclipse Foundation
- Update license type to EDL-1.0



--
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-3823) At update center "Latest updates" has suspicious dates.

2020-10-29 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-3823:


I see. We have to edit the description, don't we? It would be nice if the 
"Latest Update" is updated if possible when new versions of plugins are added, 
too :)

> At update center "Latest updates" has suspicious dates.
> ---
>
> Key: NETBEANS-3823
> URL: https://issues.apache.org/jira/browse/NETBEANS-3823
> Project: NetBeans
>  Issue Type: Bug
>  Components: updatecenters - Pluginportal
>Reporter: Ernie Rael
>Assignee: Matthias Bläsing
>Priority: Minor
> Fix For: 12.1
>
>
> I'm not entirely certain, but pretty sure that in the "Latest updates" list 
> the dates associated with specific plugins are not accurate.



--
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-3823) At update center "Latest updates" has suspicious dates.

2020-10-29 Thread Jira


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

Matthias Bläsing commented on NETBEANS-3823:


[~junichi11] you've got a point there. I'll see what I can come up with.

> At update center "Latest updates" has suspicious dates.
> ---
>
> Key: NETBEANS-3823
> URL: https://issues.apache.org/jira/browse/NETBEANS-3823
> Project: NetBeans
>  Issue Type: Bug
>  Components: updatecenters - Pluginportal
>Reporter: Ernie Rael
>Assignee: Matthias Bläsing
>Priority: Minor
> Fix For: 12.1
>
>
> I'm not entirely certain, but pretty sure that in the "Latest updates" list 
> the dates associated with specific plugins are not accurate.



--
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] tag 12.2-beta2 created (now 45bf3b3)

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

lkishalmi pushed a change to tag 12.2-beta2
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at 45bf3b3  (commit)
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] tag 12.2-beta1 created (now 249b77c)

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

lkishalmi pushed a change to tag 12.2-beta1
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at 249b77c  (commit)
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: Option to skip CoS copying of class files when the target is already newer, such as from an external compilation (#504)

2020-10-29 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 efe78c6  Option to skip CoS copying of class files when the target is 
already newer, such as from an external compilation (#504)
efe78c6 is described below

commit efe78c621c81b2f8d66402d94da62d1f9d6c447b
Author: Jesse Glick 
AuthorDate: Thu Oct 29 17:23:41 2020 -0400

Option to skip CoS copying of class files when the target is already newer, 
such as from an external compilation (#504)

* Issue #227791: skip CoS copying of class files when the target is already 
newer, such as from an external compilation.

* Reducing log levels. INFO is too chatty.

* Gating modified behavior with a system property

* Trailing space

* Stray space

* Dead code

* Documenting system property

Co-authored-by: Jesse Glick 
---
 java/java.source.base/arch.xml |  42 +++-
 .../source/usages/BuildArtifactMapperImpl.java | 118 +++--
 .../modules/maven/cos/CopyResourcesOnSave.java |   3 +-
 .../org/netbeans/modules/maven/cos/CosChecker.java |   4 +-
 4 files changed, 129 insertions(+), 38 deletions(-)

diff --git a/java/java.source.base/arch.xml b/java/java.source.base/arch.xml
index d9b2d94..b23dbb7 100644
--- a/java/java.source.base/arch.xml
+++ b/java/java.source.base/arch.xml
@@ -803,9 +803,19 @@
 
 -->
  
-  
-   XXX no answer for exec-property
-  
+  
+   
+
+ 
+  If set to true,
+  *.class files generated by external build processes
+  will not be overwritten by the IDE’s Java parser
+  when running in “compile-on-save” mode
+  unless the class files are older than the corresponding source file.
+ 
+
+   
+  
  
 
 
@@ -1308,4 +1318,30 @@
   
  
 
+
+
+
+
+ 
+  
+   XXX no answer for resources-preferences
+  
+ 
+
 
diff --git 
a/java/java.source.base/src/org/netbeans/modules/java/source/usages/BuildArtifactMapperImpl.java
 
b/java/java.source.base/src/org/netbeans/modules/java/source/usages/BuildArtifactMapperImpl.java
index bff4a62..e4a046d 100644
--- 
a/java/java.source.base/src/org/netbeans/modules/java/source/usages/BuildArtifactMapperImpl.java
+++ 
b/java/java.source.base/src/org/netbeans/modules/java/source/usages/BuildArtifactMapperImpl.java
@@ -30,7 +30,9 @@ import java.lang.ref.Reference;
 import java.lang.ref.WeakReference;
 import java.net.MalformedURLException;
 import java.net.URI;
+import java.net.URISyntaxException;
 import java.net.URL;
+import java.util.Date;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.LinkedList;
@@ -97,7 +99,7 @@ public class BuildArtifactMapperImpl {
 //private static final Map source2Target = new HashMap();
 private static final Map> source2Listener = new 
HashMap>();
 
-private static final long MINIMAL_TIMESTAMP = 2000L;
+private static final boolean COMPARE_TIMESTAMPS = 
Boolean.getBoolean(BuildArtifactMapperImpl.class.getName() + 
".COMPARE_TIMESTAMPS"); //NOI18N
 
 public static synchronized void addArtifactsUpdatedListener(URL 
sourceRoot, ArtifactsUpdated listener) {
 Set listeners = source2Listener.get(sourceRoot);
@@ -230,14 +232,21 @@ public class BuildArtifactMapperImpl {
 }
 }
 
-private static void copyFile(File updatedFile, File target) throws 
IOException {
+private static boolean copyFile(File updatedFile, File target, URL 
sourceFile) throws IOException {
 final File parent = target.getParentFile();
 if (parent != null && !parent.exists()) {
 if (!parent.mkdirs()) {
 throw new IOException("Cannot create folder: " + 
parent.getAbsolutePath());
 }
 }
-
+
+if (targetNewerThanSourceFile(target, sourceFile)) {
+LOG.log(Level.FINER, "#227791: declining to overwrite {0} with 
{1}", new Object[] {target, updatedFile});
+return false;
+} else {
+LOG.log(Level.FINER, "#227791: proceeding to overwrite {0} with 
{1}", new Object[] {target, updatedFile});
+}
+
 InputStream ins = null;
 OutputStream out = null;
 
@@ -246,9 +255,10 @@ public class BuildArtifactMapperImpl {
 out = new FileOutputStream(target);
 
 FileUtil.copy(ins, out);
-//target.setLastModified(MINIMAL_TIMESTAMP); see 156153
+return true;
 } catch (FileNotFoundException fnf) {
 LOG.log(Level.INFO, "Cannot open file.", fnf);   //NOI18N
+return false;
 } finally {
 if (ins != null) {
 try {
@@ -304,30 +314,31 @@ public class BuildArtifactMapperImpl {
 }
 }
 
-private static void copyRecursively(File source, File target) throws 
IOException {
-   

[jira] [Resolved] (NETBEANS-3789) Configurations and dependencies occasionaly don't show for Gradle projects

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

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

> Configurations and dependencies occasionaly don't show for Gradle projects
> --
>
> Key: NETBEANS-3789
> URL: https://issues.apache.org/jira/browse/NETBEANS-3789
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.3
> Environment: macOS 10.15
> JDK 13.0.2
>Reporter: Scott Palmer
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.2
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Expanding the Projects pane, I expect to see under Configurations the 
> configurations and dependencies related to my project.  Sometimes 
> Configurations is empty, other times it is only partially filled in, yet 
> other times it appears to be complete.
> Example build.gradle:
> {code:java}
> apply plugin: 'java'
> apply plugin: 'jacoco'
> apply plugin: 'application'
> group = 'my.company'
> mainClassName = 'my.company.Main'
> repositories {
> mavenCentral()
> jcenter()
> mavenLocal()
> }
> dependencies {
> compile 'org.jitsi:libjitsi:1.0-SNAPSHOT' // built and in mavenLocal cache
> testCompile 'junit:junit:4.12'
> }
> {code}
> //
> In the above project only the testCompile configuration is shown.  For that 
> configuration dependencies hamcrest-core:1.3 and junit:4.12 were shown.  The 
> other dependency, libjitsi, was not shown at all, nor was the "compile" 
> configuration.



--
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] [Resolved] (NETBEANS-4535) JavaFX sources and javadocs not attached in Gradle project

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

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

> JavaFX sources and javadocs not attached in Gradle project
> --
>
> Key: NETBEANS-4535
> URL: https://issues.apache.org/jira/browse/NETBEANS-4535
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Editor, javafx - Project, projects - Gradle
>Affects Versions: 12.0
>Reporter: Victor Pineda
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: gradle, javadocs, javafx, pull-request-available, sources
> Fix For: 12.2
>
> Attachments: image-2020-07-02-21-54-02-392.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> I have a JavaFX project managed by Gradle.
> I have other dependencies and when I download the sources and javadocs for 
> them, these are correctly attached to dependencies, but not JavaFX libraries. 
> In file system I can see the JavaFX sources and javadocs downloaded, but 
> these are not showed in NetBeans
> !image-2020-07-02-21-54-02-392.png!



--
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] [Resolved] (NETBEANS-4957) Slowness detected while editing file in Netbeans IDE 11.1

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-4957.
---
Resolution: Invalid

NetBeans 11.1 is no longer supported. Use 12.0 LTS or 12.1

> Slowness detected while editing file in Netbeans IDE 11.1
> -
>
> Key: NETBEANS-4957
> URL: https://issues.apache.org/jira/browse/NETBEANS-4957
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Editor, javaee - JSP
>Affects Versions: 11.1
> Environment: DEV
>Reporter: Mayank Soni
>Priority: Critical
>
> -->Log
>  Session: Tuesday, October 27, 2020 1:18:52 PM IST>System Info:   Product 
> Version         = Apache NetBeans IDE 11.1  Operating System        = Windows 
> 10 version 10.0 running on amd64  Java; VM; Vendor        = 1.8.0_241; Java 
> HotSpot(TM) 64-Bit Server VM 25.241-b07; Oracle Corporation  Runtime          
>        = Java(TM) SE Runtime Environment 1.8.0_241-b07  Java Home             
>   = C:\Program Files\Java\jdk1.8.0_241\jre  System Locale; Encoding = en_IN 
> (nb); Cp1252  Home Directory          = C:\Users\msoni5  Current Directory    
>    = D:\Programs\Netbeans\NetBeans-11.1\netbeans\bin  User Directory          
> = C:\Users\msoni5\AppData\Roaming\NetBeans\11.1  Cache Directory         = 
> C:\Users\msoni5\AppData\Local\NetBeans\Cache\11.1  Installation            = 
> D:\Programs\Netbeans\NetBeans-11.1\netbeans\nb                            
> D:\Programs\Netbeans\NetBeans-11.1\netbeans\ergonomics                        
>     D:\Programs\Netbeans\NetBeans-11.1\netbeans\ide                           
>  D:\Programs\Netbeans\NetBeans-11.1\netbeans\extide                           
>  D:\Programs\Netbeans\NetBeans-11.1\netbeans\java                            
> D:\Programs\Netbeans\NetBeans-11.1\netbeans\apisupport                        
>     D:\Programs\Netbeans\NetBeans-11.1\netbeans\webcommon                     
>        D:\Programs\Netbeans\NetBeans-11.1\netbeans\websvccommon               
>              D:\Programs\Netbeans\NetBeans-11.1\netbeans\enterprise           
>                  D:\Programs\Netbeans\NetBeans-11.1\netbeans\profiler         
>                    D:\Programs\Netbeans\NetBeans-11.1\netbeans\php            
>                 D:\Programs\Netbeans\NetBeans-11.1\netbeans\harness           
>                  D:\Programs\Netbeans\NetBeans-11.1\netbeans\groovy           
>                  D:\Programs\Netbeans\NetBeans-11.1\netbeans\javafx           
>                  D:\Programs\Netbeans\NetBeans-11.1\netbeans\platform  Boot & 
> Ext. Classpath   = C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\resources.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\rt.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\sunrsasign.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\jsse.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\jce.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\charsets.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\jfr.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\classes;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\access-bridge-64.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\cldrdata.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\dnsns.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\jaccess.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\jfxrt.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\localedata.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\nashorn.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\sunec.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\sunjce_provider.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\sunmscapi.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\sunpkcs11.jar;C:\Program 
> Files\Java\jdk1.8.0_241\jre\lib\ext\zipfs.jar  Application Classpath   = 
> D:\Programs\Netbeans\NetBeans-11.1\netbeans\platform\lib\boot.jar;D:\Programs\Netbeans\NetBeans-11.1\netbeans\platform\lib\org-openide-modules.jar;D:\Programs\Netbeans\NetBeans-11.1\netbeans\platform\lib\org-openide-util-lookup.jar;D:\Programs\Netbeans\NetBeans-11.1\netbeans\platform\lib\org-openide-util-ui.jar;D:\Programs\Netbeans\NetBeans-11.1\netbeans\platform\lib\org-openide-util.jar;C:\Program
>  Files\Java\jdk1.8.0_241\lib\dt.jar;C:\Program 
> Files\Java\jdk1.8.0_241\lib\tools.jar  Startup Classpath       = 
> 

[jira] [Resolved] (NETBEANS-4552) java.lang.UnsupportedOperationException command: run

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-4552.
---
Resolution: Cannot Reproduce

I cannot reproduce this one on 12.2-beta2.

Can be reopened if steps to reproduction are provided.

> java.lang.UnsupportedOperationException command: run
> 
>
> Key: NETBEANS-4552
> URL: https://issues.apache.org/jira/browse/NETBEANS-4552
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: Windows 7 Pro SP1
> OpenJDK 14 
>Reporter: sun java
>Priority: Blocker
>
> hello
> when trying to run my modular project project i get this exception.(note: I 
> can run the application outside IDE)
> {color:#172b4d}*java.lang.UnsupportedOperationException: command: run, 
> JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@52e7ee7c]java.lang.UnsupportedOperationException:
>  command: run, JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@52e7ee7c] at 
> org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303) 
> at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport.bypassAntBuildScript(ActionProviderSupport.java:583)
>  at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider$9.performCompileOnSave(JavaActionProvider.java:1591)
>  at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.execute(ActionProviderSupport.java:1310)
>  at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.run(ActionProviderSupport.java:1287)
>  at 
> org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:133)
>  at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:202)
>  at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465)
>  at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895)
>  at java.base/java.util.Optional.ifPresent(Optional.java:176) at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888)
>  at 
> org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262)
>  at 
> org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162)
>  at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>  at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:60)
>  at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56)
>  at org.openide.util.Mutex.writeAccess(Mutex.java:285) at 
> org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159)
>  at 
> org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:115)
>  at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) 
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at 
> java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)[catch]
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)*{color}



--
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] [Resolved] (NETBEANS-4232) Have to restart NetBeans to Change JDK

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-4232.
---
Resolution: Cannot Reproduce

It might be true if you select a higher runtime version than the one selected 
for the project and have no nb-javac  module installed. In that case the 
default JDK javac is used.

> Have to restart NetBeans to Change JDK
> --
>
> Key: NETBEANS-4232
> URL: https://issues.apache.org/jira/browse/NETBEANS-4232
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems, projects - Maven
>Affects Versions: 12.0, 11.3, 12.1
> Environment: Windows 10
>Reporter: KoKo
>Priority: Blocker
> Attachments: change java dependencies.png
>
>
> To change the *Jave Dependencies* of a *Maven* project, choose another JDK 
> via -Options > Java > Maven > Default JDK- *Properties > Build > Compiler > 
> Java Platform*, but it doesn't work at once. I must restart the IDE, which is 
> annoying!  
> !change java dependencies.png! 



--
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-4419) Webservice can not be created via GUI

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi updated NETBEANS-4419:
--
Priority: Major  (was: Blocker)

> Webservice can not be created via GUI
> -
>
> Key: NETBEANS-4419
> URL: https://issues.apache.org/jira/browse/NETBEANS-4419
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Web Project
>Affects Versions: 12.0, 11.1, 11.2
> Environment: Windows 10, 2004, x64
>Reporter: Andreas Gottardi
>Priority: Major
>
> Hello,
> I try to create a new WebService in a Java EE web application over the menu: 
> Right click on the package "New" - "Web service...". I fill out everything 
> and click "Finish". Nothing happens and in the console the following 
> Exception is reported:
> {quote}java.lang.NullPointerException
>  at 
> org.netbeans.modules.websvc.core.dev.wizard.NewWebServiceWizardIterator.instantiate(NewWebServiceWizardIterator.java:78)
>  at 
> org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602)
>  at 
> org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:436)
>  at 
> org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223)
>  at 
> org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135)
>  at 
> org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605)
>  at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546)
>  at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)
>  [catch] at 
> org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {quote}
>  



--
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-4583) Errors while using Maven with JavaFX in FXML/CSS/Compile

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-4583:
---

Please test this with nb-javac installed.

> Errors while using Maven with JavaFX in FXML/CSS/Compile
> 
>
> Key: NETBEANS-4583
> URL: https://issues.apache.org/jira/browse/NETBEANS-4583
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: Windows 10 2003, Java 14.0.1
>Reporter: Andreas Köhler
>Priority: Critical
> Attachments: messages.log
>
>
> Cant really use the Autocomplete in the FXML and CSS for JavaFX cause of this



--
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-4583) Errors while using Maven with JavaFX in FXML/CSS/Compile

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi updated NETBEANS-4583:
--
Priority: Critical  (was: Blocker)

> Errors while using Maven with JavaFX in FXML/CSS/Compile
> 
>
> Key: NETBEANS-4583
> URL: https://issues.apache.org/jira/browse/NETBEANS-4583
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: Windows 10 2003, Java 14.0.1
>Reporter: Andreas Köhler
>Priority: Critical
> Attachments: messages.log
>
>
> Cant really use the Autocomplete in the FXML and CSS for JavaFX cause of this



--
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-4471) Runtime Platform dropdown in Project Properties

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi updated NETBEANS-4471:
--
Priority: Major  (was: Blocker)

> Runtime Platform dropdown in Project Properties 
> 
>
> Key: NETBEANS-4471
> URL: https://issues.apache.org/jira/browse/NETBEANS-4471
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems, platform - OptionsSettings
>Affects Versions: 11.3, 12.0.1
>Reporter: Jim Burke
>Assignee: Pablo Lopez
>Priority: Major
>
> Runtime Platform dropdown in Project Properties
> I have create a Java Platform for a Raspberry Pi.
> Next, I create a small test Java project in NB in order to test this remote 
> client. This works fine - the 'probe' executes successfully.
> When I go into _Project Properties -> Run_, the Runtime Platform dropdown 
> does NOT show the Java platform I created (and tested !).
> Any ideas ?
> Jim Burke
>  



--
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-3823) At update center "Latest updates" has suspicious dates.

2020-10-29 Thread Jira


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

Jiří Kovalský commented on NETBEANS-3823:
-

I have just verified that editing plugin's description changed the Latest 
Update date correctly.

> At update center "Latest updates" has suspicious dates.
> ---
>
> Key: NETBEANS-3823
> URL: https://issues.apache.org/jira/browse/NETBEANS-3823
> Project: NetBeans
>  Issue Type: Bug
>  Components: updatecenters - Pluginportal
>Reporter: Ernie Rael
>Assignee: Matthias Bläsing
>Priority: Minor
> Fix For: 12.1
>
>
> I'm not entirely certain, but pretty sure that in the "Latest updates" list 
> the dates associated with specific plugins are not accurate.



--
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-4419) Webservice can not be created via GUI

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-4419:
---

Well moved it to major as it does not affect the everyday work for many people.

> Webservice can not be created via GUI
> -
>
> Key: NETBEANS-4419
> URL: https://issues.apache.org/jira/browse/NETBEANS-4419
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Web Project
>Affects Versions: 12.0, 11.1, 11.2
> Environment: Windows 10, 2004, x64
>Reporter: Andreas Gottardi
>Priority: Major
>
> Hello,
> I try to create a new WebService in a Java EE web application over the menu: 
> Right click on the package "New" - "Web service...". I fill out everything 
> and click "Finish". Nothing happens and in the console the following 
> Exception is reported:
> {quote}java.lang.NullPointerException
>  at 
> org.netbeans.modules.websvc.core.dev.wizard.NewWebServiceWizardIterator.instantiate(NewWebServiceWizardIterator.java:78)
>  at 
> org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602)
>  at 
> org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:436)
>  at 
> org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223)
>  at 
> org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135)
>  at 
> org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605)
>  at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546)
>  at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)
>  [catch] at 
> org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {quote}
>  



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

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

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

> 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
>  Labels: pull-request-available
> Fix For: 12.2
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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] [Resolved] (NETBEANS-4683) Netbeans installer hangs after accepting license

2020-10-29 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-4683.
---
Resolution: Cannot Reproduce

Well, upon the fact that even the project manager was not able to close the 
dialog, I'd assume something more serious thing happened probably in the JDK or 
in Windows itself. We have'nt received this kind of issue from any other 
sources, so I marked this one resolved.

> Netbeans installer hangs after accepting license
> 
>
> Key: NETBEANS-4683
> URL: https://issues.apache.org/jira/browse/NETBEANS-4683
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 12.1
> Environment: Win 10 x64 Ent 1903, all updates applied. Netbeans 11.3 
> installed and operational.
>Reporter: E Blake
>Priority: Blocker
>  Labels: hangs, installer
> Attachments: InstallerHangs.jpg
>
>
> Windows installer Apache-NetBeans-12.0-bin-windows-x64.exe. Signature 
> verified.
> Installer hangs after accepting License Agreement and clicking "Next". Dialog 
> window can be minimized and restored, but the Back/Next/Cancel buttons are 
> frozen, as is the checkbox. Close button ("X") inoperative. Killing installer 
> process in Process Explorer does not close window (?!?!?). Closing installer 
> dialog requires reboot of machine.



--
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-jenkins-lib] branch master updated: Added entry for NetBeans 12.2-beta3

2020-10-29 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 0f99082  Added entry for NetBeans 12.2-beta3
0f99082 is described below

commit 0f9908287ef97dab85ce8b1da73f677478ec5d3c
Author: Laszlo Kishalmi 
AuthorDate: Thu Oct 29 19:51:19 2020 -0700

Added entry for NetBeans 12.2-beta3
---
 meta/netbeansrelease.json | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json
index c6adb63..a13f601 100644
--- a/meta/netbeansrelease.json
+++ b/meta/netbeansrelease.json
@@ -320,6 +320,10 @@
 "45bf3b3beec5ee7bb1c41778a2be8ebb8b3a2f95": {
 "version": "beta2",
 "position": "2"
+},
+"50cc57430a8ca3f87ecaed9c978b0c12a8ce7cfb": {
+"version": "beta3",
+"position": "3"
 }
 },
 "releasedate": {


-
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] tag 12.2-beta3 created (now 50cc574)

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

lkishalmi pushed a change to tag 12.2-beta3
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at 50cc574  (commit)
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] [Created] (NETBEANS-4969) Not enough Space on Drive for transfering index

2020-10-29 Thread Jorge M Morales (Jira)
Jorge M Morales created NETBEANS-4969:
-

 Summary: Not enough Space on Drive for transfering index
 Key: NETBEANS-4969
 URL: https://issues.apache.org/jira/browse/NETBEANS-4969
 Project: NetBeans
  Issue Type: Bug
Reporter: Jorge M Morales


I continue to get errors that I don't have enough space in cache or Drive to 
make java programs or to transfer indexing which i have no idea what that means



--
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] tag 12.2-beta3 created (now 50cc574)

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

lkishalmi pushed a change to tag 12.2-beta3
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at 50cc574  (commit)
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 release122 updated (45bf3b3 -> 50cc574)

2020-10-29 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.


omit 45bf3b3  [NETBEANS-3588] Code Templates not working in Java Editor in 
for loops (#2444)
omit 3e74232  Add support for static imports in code templates
omit fc033ea  Handling of switch expressions and rule cases in Flow and 
NPECheck hint. (#2293)
omit af35c99  [NETBEANS-4910] Correcting open and close events sent from 
the LSP client to the LSP server.
omit 78a833a  Reducing LSP server messages on startup.
omit 15099a7  StatusDisplayer messages remoted to LSP client. (#2478)
omit a2bdbac  [lsp] partial fix of invalidation of breakpoints during file 
open (#2462)
omit 1b29b55  [NETBEANS-4930] Upgrade Gradle Tooling 6.7 with JDK-15 Support
omit 693cab3  Read mainClass configuration or property.
omit 9a66197  [NETBEANS-4919] Avoiding dependency on javac internal classes 
from javadoc/.../Analyzer, using NetBeans' HTML information instead. (#2470)
omit e3f1aed  Make sure Maven project is refreshed before build is over
omit cef1863  Perform BUILD when no single run/debug action is available
omit 03801b1  Support ActionProgress to allow observing Gradle build process
omit 91c7976  Notify successful execution as soon as Gradle build succeeds
omit f6ef4ea  Reload external changes automatically in headless mode.
omit 5c2f2f2  Annotation processors may generate class files: -that have a 
name different from any source file in the source roots -even while running in 
the editor
omit 54e4bff  Using Incomplete classpath to indicate unloadable Gradle 
project
omit 182b3c1  Stack trace analyzer needs to understand modular stack traces.
 add b2d19c8  Stack trace analyzer needs to understand modular stack traces.
 add 9c1d310  Using Incomplete classpath to indicate unloadable Gradle 
project
 add 43e625b  Annotation processors may generate class files: -that have a 
name different from any source file in the source roots -even while running in 
the editor
 add 6900794  Reload external changes automatically in headless mode.
 add 468294c  Merge pull request #2473 from 
entlicher/headlessUQEinDES_delivery
 add d7d4faf  Notify successful execution as soon as Gradle build succeeds
 add c945e9a  Support ActionProgress to allow observing Gradle build process
 add ed95fe7  Perform BUILD when no single run/debug action is available
 add 5fc97b3  Make sure Maven project is refreshed before build is over
 add 5c8fd84  Merge pull request #2471 from 
JaroslavTulach/jtulach/RefreshGradleAfterSuccessfulBuild
 add a033ff8  [NETBEANS-4919] Avoiding dependency on javac internal classes 
from javadoc/.../Analyzer, using NetBeans' HTML information instead. (#2470)
 add 3b2dabe  Read mainClass configuration or property.
 add 832de2c  Merge pull request #2474 from 
entlicher/MavenMainClass_delivery
 add fa78c10  [NETBEANS-4930] Upgrade Gradle Tooling 6.7 with JDK-15 Support
 add 842baf1  [lsp] partial fix of invalidation of breakpoints during file 
open (#2462)
 add f643345  StatusDisplayer messages remoted to LSP client. (#2478)
 add 5689b67  Reducing LSP server messages on startup.
 add a171d50  [NETBEANS-4910] Correcting open and close events sent from 
the LSP client to the LSP server.
 add b6b73e7  Handling of switch expressions and rule cases in Flow and 
NPECheck hint. (#2293)
 add ea854e5  Add support for static imports in code templates
 add 2ae34a2  [NETBEANS-3588] Code Templates not working in Java Editor in 
for loops (#2444)
 add 85358b7  Prevent from a deadlock between debugger and debuggee when 
breakpoint is resolved right during it's submission.
 add 2dc5015  Merge pull request #2481 from 
entlicher/TruffleBreakpointResolutionDeadlock_delivery
 add edf441e  Prevent NullPointerException from LSP HyperlinkProvider
 add 444dd9c  [NETBEANS-4938] Fixed Gradle Java Frontend Application 
generation
 add e3d0dc6  Applying typescript hints
 add 69af749  Search for JDK in typical location
 add a41a490  Start the LanguageClient just once
 add bb591a8  Consistently using: Apache Netbeans Language Server
 add e38771f  Only set the workspace setting when workspace.name is defined
 add a8dbed1  Merge pull request #2480 from JaroslavTulach/delivery
 add 2a9e274  [NETBEANS-4944] Create New Gradle Projects with Wrapper by 
Default
 add 7eb08c0  [NETBEANS-4916] Removed Non-Inplemented COS Settings from 
Gradle Project UI
 add 97cf432  Fixing registration of Mark occurences and Breadcrumbs for 
lsp.client.
 add 521d95a  Avoid confusion by disabling code lenses for running, 
debugging and testing
 add 4e4688c  Merge pull request #2492 from 
JaroslavTulach/jtulach/AvoidConflicts
 add 319f506  Properly specify --userdir when lauching the nbcode 

[netbeans] tag 12.2-beta3 created (now 50cc574)

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

lkishalmi pushed a change to tag 12.2-beta3
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at 50cc574  (commit)
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