[jira] [Resolved] (NETBEANS-4770) Creating a JSP file in Gradle JavaEE project does not use the Web Pages SourceGroup

2020-09-11 Thread Laszlo Kishalmi (Jira)


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

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

> Creating a JSP file in Gradle JavaEE project does not use the Web Pages 
> SourceGroup
> ---
>
> Key: NETBEANS-4770
> URL: https://issues.apache.org/jira/browse/NETBEANS-4770
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle, projects - Gradle Java EE
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
> Fix For: 12.2
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The actual problem is in the source group implementation that needs to be 
> fixed.



--
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: [NETBEANS-4770] Handle source type correctly in GradleSourcesImpl

2020-09-11 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 15e311a  [NETBEANS-4770] Handle source type correctly in 
GradleSourcesImpl
15e311a is described below

commit 15e311afa79c92b6d72c2db690b929b0ca5c66df
Author: Laszlo Kishalmi 
AuthorDate: Thu Sep 3 07:44:58 2020 -0700

[NETBEANS-4770] Handle source type correctly in GradleSourcesImpl
---
 .../modules/gradle/NbGradleProjectImpl.java|  3 ++-
 .../gradle/java/classpath/GradleSourcesImpl.java   | 31 +++---
 .../gradle/java/nodes/SourcesNodeFactory.java  | 11 ++--
 3 files changed, 33 insertions(+), 12 deletions(-)

diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/NbGradleProjectImpl.java 
b/extide/gradle/src/org/netbeans/modules/gradle/NbGradleProjectImpl.java
index 6f29dab..0801593 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/NbGradleProjectImpl.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/NbGradleProjectImpl.java
@@ -165,11 +165,12 @@ public final class NbGradleProjectImpl implements Project 
{
 aux,
 aux.getProblemProvider(),
 new GradleAuxiliaryPropertiesImpl(this),
-new GradleSharabilityQueryImpl(this),
 UILookupMergerSupport.createProjectOpenHookMerger(new 
ProjectOpenedHookImpl()),
 UILookupMergerSupport.createProjectProblemsProviderMerger(),
 UILookupMergerSupport.createRecommendedTemplatesMerger(),
 UILookupMergerSupport.createPrivilegedTemplatesMerger(),
+LookupProviderSupport.createSourcesMerger(),
+LookupProviderSupport.createSharabilityQueryMerger(),
 state
 );
 }
diff --git 
a/java/gradle.java/src/org/netbeans/modules/gradle/java/classpath/GradleSourcesImpl.java
 
b/java/gradle.java/src/org/netbeans/modules/gradle/java/classpath/GradleSourcesImpl.java
index 5dda8c2..e2db217 100644
--- 
a/java/gradle.java/src/org/netbeans/modules/gradle/java/classpath/GradleSourcesImpl.java
+++ 
b/java/gradle.java/src/org/netbeans/modules/gradle/java/classpath/GradleSourcesImpl.java
@@ -107,6 +107,8 @@ import org.openide.util.Pair;
 public class GradleSourcesImpl implements Sources, 
SourceGroupModifierImplementation {
 
 private static final Map COMMON_NAMES = new HashMap<>();
+public static final String SOURCE_TYPE_GROOVY= "groovy";//NOI18N
+public static final String SOURCE_TYPE_GENERATED = "generated"; //NOI18N
 
 static {
 COMMON_NAMES.put("main.JAVA", "01main.java");
@@ -153,23 +155,24 @@ public class GradleSourcesImpl implements Sources, 
SourceGroupModifierImplementa
 if (Sources.TYPE_GENERIC.equals(type)) {
 return new SourceGroup[]{new 
GradleSourceGroup(proj.getProjectDirectory(), "ProjectRoot", //NOI18N
 ProjectUtils.getInformation(proj).getDisplayName())};
-} else {
-checkChanges(false);
+}
+checkChanges(false);
+SourceType stype = soureType2SourceType(type);
+if (stype != null) {
 ArrayList ret = new ArrayList<>();
 for (String group : gradleSources.keySet()) {
-for (SourceType langType : SourceType.values()) {
-Set dirs = 
gradleSources.get(group).getSourceDirs(langType);
-boolean unique = dirs.size() == 1;
-for (File dir : dirs) {
-if (dir.isDirectory()) {
-ret.add(createSourceGroup(unique, group, dir, 
langType));
-}
+Set dirs = gradleSources.get(group).getSourceDirs(stype);
+boolean unique = dirs.size() == 1;
+for (File dir : dirs) {
+if (dir.isDirectory()) {
+ret.add(createSourceGroup(unique, group, dir, stype));
 }
 }
 }
 Collections.sort(ret, Comparator.comparing(SourceGroup::getName));
 return ret.toArray(new SourceGroup[ret.size()]);
 }
+return new SourceGroup[0];
 }
 
 SourceGroup createSourceGroup(boolean unique, String group, File dir,
@@ -331,6 +334,16 @@ public class GradleSourcesImpl implements Sources, 
SourceGroupModifierImplementa
 return ret && gp.getSourceSets().containsKey(hint);
 }
 
+private static SourceType soureType2SourceType(String type) {
+switch (type) {
+case JavaProjectConstants.SOURCES_TYPE_JAVA: return 
SourceType.JAVA;
+case JavaProjectConstants.SOURCES_TYPE_RESOURCES: return 
SourceType.RESOURCES;
+case SOURCE_TYPE_GENERATED: return SourceType.GENERATED;
+case SOURCE_TYPE_GROOVY: return SourceType.GROOVY; // 

[jira] [Resolved] (NETBEANS-4766) Buttons with bad design

2020-09-11 Thread Laszlo Kishalmi (Jira)


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

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

> Buttons with bad design
> ---
>
> Key: NETBEANS-4766
> URL: https://issues.apache.org/jira/browse/NETBEANS-4766
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 12.0, 12.1
> Environment: Windows 10
> NetBeans 12.1
> Gradle Project
>Reporter: Victor Pineda
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: FlatLAF, button, design, ui
> Fix For: 12.2
>
> Attachments: image-2020-09-02-13-36-43-163.png, 
> image-2020-09-11-10-21-28-031.png
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> In Project properties, over the Sources panel, the different buttons under 
> the list, doesn't have a border and they look confusing.
> I'm using FlatLaf Light
> !image-2020-09-02-13-36-43-163.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



[netbeans] branch master updated: [NETBEANS-4766] Arrange Gradle Source info detail tabs to the right

2020-09-11 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 5c20715  [NETBEANS-4766] Arrange Gradle Source info detail tabs to the 
right
5c20715 is described below

commit 5c2071541bd7b2d1aeb2e698b10c9e857e8c3323
Author: Laszlo Kishalmi 
AuthorDate: Fri Sep 11 10:10:50 2020 -0700

[NETBEANS-4766] Arrange Gradle Source info detail tabs to the right
---
 .../gradle/java/customizer/Bundle.properties   |  6 ---
 .../gradle/java/customizer/SourceSetPanel.form | 46 +-
 .../gradle/java/customizer/SourceSetPanel.java | 54 --
 .../gradle/java/customizer/SourcesPanel.java   | 20 +++-
 4 files changed, 83 insertions(+), 43 deletions(-)

diff --git 
a/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/Bundle.properties
 
b/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/Bundle.properties
index 53c6c77..a3172dc 100644
--- 
a/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/Bundle.properties
+++ 
b/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/Bundle.properties
@@ -24,11 +24,5 @@ CompileOptionsPanel.lbPlatform.text=Java :
 SourceSetPanel.jLabel1.text=Output Classes:
 SourceSetPanel.jLabel2.text=Output Resources:
 SourceSetPanel.jLabel3.text=Source/Binary Format:
-SourceSetPanel.jScrollPane1.TabConstraints.tabTitle=Source
-SourceSetPanel.jScrollPane2.TabConstraints.tabTitle=Compile Classpath
-SourceSetPanel.jScrollPane3.TabConstraints.tabTitle=Runtime Classpath
-SourceSetPanel.tfSourceLevel.text=
 CompileOptionsPanel.cbIncludeOpenProjects.text=Include Open Projects
 CompileOptionsPanel.lbIncludeOpenProjects.text=Create a composite 
project from this project and the other open Gradle projects by generating 
'--include-build' parameters.
-SourceSetPanel.jScrollPane4.TabConstraints.tabTitle=Annotation Processors
-SourceSetPanel.jScrollPane6.TabConstraints.tabTitle=Compiler Args
diff --git 
a/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/SourceSetPanel.form
 
b/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/SourceSetPanel.form
index 2d24624..0afcb80 100644
--- 
a/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/SourceSetPanel.form
+++ 
b/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/SourceSetPanel.form
@@ -40,11 +40,11 @@
   
   
   
-  
+  
   
   
   
-  
+  
   
   
   
@@ -71,7 +71,7 @@
   
   
   
-  
+  
   
   
   
@@ -109,9 +109,12 @@
 
   
 
-
+
   
-
+
+
+  
+
   
 
   
@@ -122,9 +125,9 @@
   
   
 
-  
-
-  
+  
+
+  
 
   
 
@@ -148,9 +151,9 @@
   
   
 
-  
-
-  
+  
+
+  
 
   
 
@@ -171,9 +174,9 @@
   
   
 
-  
-
-  
+  
+
+  
 
   
 
@@ -194,9 +197,9 @@
   
   
 
-  
-
-  
+  
+
+  
 
   
 
@@ -217,9 +220,9 @@
   
   
 
-  
-
-  
+  
+
+  
 
   
 
@@ -242,9 +245,6 @@
 
   
 
-
-  
-
   
 
 
diff --git 
a/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/SourceSetPanel.java
 
b/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/SourceSetPanel.java
index f4d4e98..adbef5a 100644
--- 
a/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/SourceSetPanel.java
+++ 
b/java/gradle.java/src/org/netbeans/modules/gradle/java/customizer/SourceSetPanel.java
@@ -31,17 +31,37 @@ import javax.swing.ImageIcon;
 import javax.swing.JLabel;
 import javax.swing.JList;
 import javax.swing.JTree;
+import javax.swing.event.ChangeListener;
 import javax.swing.tree.DefaultMutableTreeNode;
 import javax.swing.tree.DefaultTreeCellRenderer;
 import javax.swing.tree.DefaultTreeModel;
 import 

[jira] [Commented] (NETBEANS-3147) design view fails to load

2020-09-11 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-3147:


I can't reproduce it.

[~jlahoda] Could you please have a look at this if possible?

> design view fails to load
> -
>
> Key: NETBEANS-3147
> URL: https://issues.apache.org/jira/browse/NETBEANS-3147
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0
>Reporter: Larry Ashworth
>Priority: Minor
> Attachments: ide.log
>
>
> This project worked properly in 8.2
> This issue only occurred on the first attempt to install 11.0
> The second attempt worked. Difficult for newbies to 11.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



[netbeans] branch master updated (4405062 -> 326d18f)

2020-09-11 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 4405062  [NETBEANS-4773] Fix GradleCompilerOptionsQuery NPE and not 
updating on project reload
 add 326d18f  [NETBEANS-4731] Mute loud loggers when detecting gradle 
distribution

No new revisions were added by this update.

Summary of changes:
 .../modules/gradle/execute/GradleDistributionProviderImpl.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 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



[jira] [Commented] (NETBEANS-4772) Installer Failure

2020-09-11 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-4772:
---

Well, I'm not on Mac. However if you have Bug Sur then you might need the 
latest installer: 
https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg

> Installer Failure
> -
>
> Key: NETBEANS-4772
> URL: https://issues.apache.org/jira/browse/NETBEANS-4772
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
>Reporter: LJ Presaldo
>Priority: Major
>  Labels: error
> Attachments: Screen Shot 2020-09-04 at 07.00.00.png, Screen Shot 
> 2020-09-04 at 07.01.49.png
>
>
> I'm completely new to Java because I'll be taking classes this week. We were 
> asked to install NetBeans and I'm having problems with installing it. It 
> actually starts installing but ends up failing. It shows:
> ---
> The installation failed. 
> The Installer encountered an error that caused the installation to fail. 
> Contact the software manufacturer for assistance. 
> 
> Also, there's this weird thing. Because I did trial and error before finding 
> the 8.2 version, I think I may have installed multiple versions of NetBeans 
> (the version 6 ones). I'm not sure if they play a part in this failure but I 
> also don't know how to uninstall them. I'll attach screenshots. (Update: I 
> restarted my laptop and the other disks were gone. Just the 8.2 version is 
> left. However, the same thing – there's still an error.
>  
> I hope someone can help.
>  



--
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-4772) Installer Failure

2020-09-11 Thread LJ Presaldo (Jira)


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

LJ Presaldo commented on NETBEANS-4772:
---

[~lkishalmi] I don't know how to implement the instructions in that link. If 
it's all right with you, you can contact me at 
[leijopresa...@gmail.com.|mailto:leijopresa...@gmail.com.] The error is still 
here even though I reinstalled.

> Installer Failure
> -
>
> Key: NETBEANS-4772
> URL: https://issues.apache.org/jira/browse/NETBEANS-4772
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
>Reporter: LJ Presaldo
>Priority: Major
>  Labels: error
> Attachments: Screen Shot 2020-09-04 at 07.00.00.png, Screen Shot 
> 2020-09-04 at 07.01.49.png
>
>
> I'm completely new to Java because I'll be taking classes this week. We were 
> asked to install NetBeans and I'm having problems with installing it. It 
> actually starts installing but ends up failing. It shows:
> ---
> The installation failed. 
> The Installer encountered an error that caused the installation to fail. 
> Contact the software manufacturer for assistance. 
> 
> Also, there's this weird thing. Because I did trial and error before finding 
> the 8.2 version, I think I may have installed multiple versions of NetBeans 
> (the version 6 ones). I'm not sure if they play a part in this failure but I 
> also don't know how to uninstall them. I'll attach screenshots. (Update: I 
> restarted my laptop and the other disks were gone. Just the 8.2 version is 
> left. However, the same thing – there's still an error.
>  
> I hope someone can help.
>  



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

2020-09-11 Thread Juergen Klotz (Jira)
Juergen Klotz created NETBEANS-4798:
---

 Summary: 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


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



[jira] [Updated] (NETBEANS-4766) Buttons with bad design

2020-09-11 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi updated NETBEANS-4766:
--
Attachment: image-2020-09-11-10-21-28-031.png

> Buttons with bad design
> ---
>
> Key: NETBEANS-4766
> URL: https://issues.apache.org/jira/browse/NETBEANS-4766
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 12.0, 12.1
> Environment: Windows 10
> NetBeans 12.1
> Gradle Project
>Reporter: Victor Pineda
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: FlatLAF, button, design, ui
> Attachments: image-2020-09-02-13-36-43-163.png, 
> image-2020-09-11-10-21-28-031.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> In Project properties, over the Sources panel, the different buttons under 
> the list, doesn't have a border and they look confusing.
> I'm using FlatLaf Light
> !image-2020-09-02-13-36-43-163.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] [Commented] (NETBEANS-4766) Buttons with bad design

2020-09-11 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-4766:
---

What about?

!image-2020-09-11-10-21-28-031.png!

> Buttons with bad design
> ---
>
> Key: NETBEANS-4766
> URL: https://issues.apache.org/jira/browse/NETBEANS-4766
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 12.0, 12.1
> Environment: Windows 10
> NetBeans 12.1
> Gradle Project
>Reporter: Victor Pineda
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: FlatLAF, button, design, ui
> Attachments: image-2020-09-02-13-36-43-163.png, 
> image-2020-09-11-10-21-28-031.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> In Project properties, over the Sources panel, the different buttons under 
> the list, doesn't have a border and they look confusing.
> I'm using FlatLaf Light
> !image-2020-09-02-13-36-43-163.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] [Created] (NETBEANS-4797) Installer Hangs at 10%

2020-09-11 Thread William Gibson (Jira)
William Gibson created NETBEANS-4797:


 Summary: Installer Hangs at 10%
 Key: NETBEANS-4797
 URL: https://issues.apache.org/jira/browse/NETBEANS-4797
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
 Environment: Windows 10 Enterprise 2004 19041.508
Reporter: William Gibson
 Attachments: 20200911125944.log

The netbeans installer is hanging at 10%.

I have installed jdk-14.0.1_windows-x64_bin

I have tried clearing c:\users\username\.nbi\

I am running installer using an administrative Windows account

I have disabled UAC

Installer becomes completely unresponsive



--
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-4765) module-info utilities for common usage

2020-09-11 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4765:
--

I see at least two goals
 # Provide common API for new development
 # Refactor code to use common API

I guess I was thinking of 1, but since probably the best way to do 1, is first 
do 2. As "eliminate the duplicities" points out.

> module-info utilities for common usage
> --
>
> Key: NETBEANS-4765
> URL: https://issues.apache.org/jira/browse/NETBEANS-4765
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Platform
>Reporter: Ernie Rael
>Priority: Major
>
> The only common api I've seen for working with module-info is
> {code:java}
> org.netbeans.api.java.source.SourceUtils{.parseModuleName,.getModuleName*}
> {code}
> There are several other things that need to be done with module-info. For 
> example, adding a package for fxml access, or for refactoring when moving an 
> exported java class to a different package.
> There are module-info utilities scattered throughout the netbeans codebase. 
> For example
> {code:java}
> ./maven/src/org/netbeans/modules/maven/api/ModuleInfoUtils.java
> ./maven/src/org/netbeans/modules/maven/ModuleInfoSupport.java
> {code}
> and there's a pending fix for NETBEANS-4718 which adds a local 
> "hasModuleInfo".
> And notice sitting in .../netbeans/java there are 64 files given by
> {code}
> srcgrep -l module-info | grep -E -v '/test/|/build/'
> {code}



--
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-3147) design view fails to load

2020-09-11 Thread Louis Shankle (Jira)


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

Louis Shankle edited comment on NETBEANS-3147 at 9/11/20, 3:03 PM:
---

The issue continues in releases 11.1, 11.2, and 11.3. I did not look at 12.0.

The error can be recreated by creating a new project. Select Java with Ant as 
the category, and Java Application as the project. Complete the creation of the 
application. Right click on the application icon under source and select New 
JPanel Form. After completing the wizard the form will appear, but will fail to 
load.

I was able to resolve the issue by installing the nb-javac Library plugin for 
NetBeans 11.0.


was (Author: louis shankle):
The issue continues in releases 11.1, 11.2, and 11.3. I did not look at 12.0.

> design view fails to load
> -
>
> Key: NETBEANS-3147
> URL: https://issues.apache.org/jira/browse/NETBEANS-3147
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0
>Reporter: Larry Ashworth
>Priority: Minor
> Attachments: ide.log
>
>
> This project worked properly in 8.2
> This issue only occurred on the first attempt to install 11.0
> The second attempt worked. Difficult for newbies to 11.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



svn commit: r41416 - /dev/netbeans/netbeans/12.1/ /release/netbeans/netbeans/12.1/

2020-09-11 Thread skygo
Author: skygo
Date: Fri Sep 11 14:42:28 2020
New Revision: 41416

Log:
Release Windows and Linux Installer for Apache NetBeans 12.1

Added:
release/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh
  - copied unchanged from r41415, 
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh
release/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.asc
  - copied unchanged from r41415, 
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.asc
release/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.sha512
  - copied unchanged from r41415, 
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.sha512
release/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe
  - copied unchanged from r41415, 
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe
release/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.asc
  - copied unchanged from r41415, 
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.asc

release/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.sha512
  - copied unchanged from r41415, 
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.sha512
Removed:
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.asc
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.sha512
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.asc
dev/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.sha512


-
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-4796) POM gets unloadable after spring boot upgrade

2020-09-11 Thread Alexander Lutz (Jira)
Alexander Lutz created NETBEANS-4796:


 Summary: POM gets unloadable after spring boot upgrade
 Key: NETBEANS-4796
 URL: https://issues.apache.org/jira/browse/NETBEANS-4796
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
Reporter: Alexander Lutz


h3. Steps to reproduce:

# Create new "Spring Boot basic project".
# (Following the quick fix) Set project.parent.version to 2.3.3.RELEASE 
(current spring boot) and save the pom.

h3.Results:
 Project gets identified "unloadable", although "priming build" succeed.

h3.Expected:
 Project is loadable, at least after successful "priming build".



--
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-4795) Formalize reuse of registered services

2020-09-11 Thread Svatopluk Dedic (Jira)
Svatopluk Dedic created NETBEANS-4795:
-

 Summary: Formalize reuse of registered services
 Key: NETBEANS-4795
 URL: https://issues.apache.org/jira/browse/NETBEANS-4795
 Project: NetBeans
  Issue Type: New Feature
  Components: platform - Lookup
Affects Versions: 11.3
Reporter: Svatopluk Dedic
Assignee: Svatopluk Dedic


During {{commit-validation}} cleanup, I've found out that it's relatively 
commont to *reuse other module services* in layer registration. The most reused 
was HTML completion provider, Word completion provider. But also Java Indexer 
was reused in Groovy.

Currently this is done by *hardcoding classname* of the original provider 
implementation - but for example {{HtmlCompletionProvider}} is not a public 
API. Well, now it is, since if the class was moved, all web scripting modules 
would fail to complete tags.

Another approach is to use *shadow to filename*, which is again not an API. In 
the case of Java Indexer, the filename has changed because manual XML 
registration was replaced by an annotation - with an undefined (impl-class 
based) filename generation).

For these cases, I would like to have {{id}} attribute introduced for service 
providers, which would declare that the *id* is part of the module public API: 
the filename will be then formed as *serviceclass-modulecnb-id* to be stable 
and moderately unique. The annotation processor could check that (for NB 
modules; or maybe as a part of the documentation build step ?), the ID is 
mentioned in {{arch.xml as an supplemental API.}}

For reference, I'd like to introduce an annotation, which would register *a 
foreign implementation*, so e.g. package-info.java could be annotated as with 
the templates. The reference would contain attributes
 * module CNB
 * service class
 * ID
 * optional true/false

The Processor would ensure that the appropriate dependency is declared (weak = 
Recommends, otherwise Needs), that the target exists AND is indeed a declared 
API (perhaps an articial attribute in the layer).



--
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-4794) frequent core dumps on searches

2020-09-11 Thread Przemek Czerkas (Jira)


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

Przemek Czerkas updated NETBEANS-4794:
--
Summary: frequent core dumps on searches  (was: core dumps on searches)

> frequent core dumps on searches
> ---
>
> Key: NETBEANS-4794
> URL: https://issues.apache.org/jira/browse/NETBEANS-4794
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Przemek Czerkas
>Priority: Major
> Attachments: hs_err_pid792203.log
>
>
> *Product Version:* Apache NetBeans IDE DEV (Build 
> dev-269ca5fa3b49519027677aa17e27c6c5d6f83e89)
>  # A fatal error has been detected by the Java Runtime Environment:
>  #
>  # SIGSEGV (0xb) at pc=0x7f8f403af51b, pid=792203, tid=800789
>  #
>  # JRE version: Java(TM) SE Runtime Environment (14.0.1+7) (build 14.0.1+7)
>  # Java VM: Java HotSpot(TM) 64-Bit Server VM (14.0.1+7, mixed mode, sharing, 
> tiered, compressed oops, g1 gc, linux-amd64)
>  # Problematic frame:
>  # J 4222 c2 
> jdk.internal.module.SystemModuleFinders$SystemModuleReader.findImageLocation(Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
>  java.base@14.0.1 (42 bytes) @ 0x7f8f403af51b 
> [0x7f8f403aef80+0x059b]
>  #
>  # Core dump will be written. Default location: Core dumps may be processed 
> with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to 
> /home/przemek/go/core.792203)
>  #
>  # An error report file with more information is saved as:
>  # /home/przemek/go/hs_err_pid792203.log



--
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-4794) core dumps on searches

2020-09-11 Thread Przemek Czerkas (Jira)


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

Przemek Czerkas updated NETBEANS-4794:
--
Description: 
*Product Version:* Apache NetBeans IDE DEV (Build 
dev-269ca5fa3b49519027677aa17e27c6c5d6f83e89)
 # A fatal error has been detected by the Java Runtime Environment:
 #
 # SIGSEGV (0xb) at pc=0x7f8f403af51b, pid=792203, tid=800789
 #
 # JRE version: Java(TM) SE Runtime Environment (14.0.1+7) (build 14.0.1+7)
 # Java VM: Java HotSpot(TM) 64-Bit Server VM (14.0.1+7, mixed mode, sharing, 
tiered, compressed oops, g1 gc, linux-amd64)
 # Problematic frame:
 # J 4222 c2 
jdk.internal.module.SystemModuleFinders$SystemModuleReader.findImageLocation(Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
 java.base@14.0.1 (42 bytes) @ 0x7f8f403af51b 
[0x7f8f403aef80+0x059b]
 #
 # Core dump will be written. Default location: Core dumps may be processed 
with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to 
/home/przemek/go/core.792203)
 #
 # An error report file with more information is saved as:
 # /home/przemek/go/hs_err_pid792203.log

  was:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x7f8f403af51b, pid=792203, tid=800789
#
# JRE version: Java(TM) SE Runtime Environment (14.0.1+7) (build 14.0.1+7)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.0.1+7, mixed mode, sharing, 
tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# J 4222 c2 
jdk.internal.module.SystemModuleFinders$SystemModuleReader.findImageLocation(Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
 java.base@14.0.1 (42 bytes) @ 0x7f8f403af51b 
[0x7f8f403aef80+0x059b]
#
# Core dump will be written. Default location: Core dumps may be processed with 
"/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to 
/home/przemek/go/core.792203)
#
# An error report file with more information is saved as:
# /home/przemek/go/hs_err_pid792203.log


> core dumps on searches
> --
>
> Key: NETBEANS-4794
> URL: https://issues.apache.org/jira/browse/NETBEANS-4794
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Przemek Czerkas
>Priority: Major
> Attachments: hs_err_pid792203.log
>
>
> *Product Version:* Apache NetBeans IDE DEV (Build 
> dev-269ca5fa3b49519027677aa17e27c6c5d6f83e89)
>  # A fatal error has been detected by the Java Runtime Environment:
>  #
>  # SIGSEGV (0xb) at pc=0x7f8f403af51b, pid=792203, tid=800789
>  #
>  # JRE version: Java(TM) SE Runtime Environment (14.0.1+7) (build 14.0.1+7)
>  # Java VM: Java HotSpot(TM) 64-Bit Server VM (14.0.1+7, mixed mode, sharing, 
> tiered, compressed oops, g1 gc, linux-amd64)
>  # Problematic frame:
>  # J 4222 c2 
> jdk.internal.module.SystemModuleFinders$SystemModuleReader.findImageLocation(Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
>  java.base@14.0.1 (42 bytes) @ 0x7f8f403af51b 
> [0x7f8f403aef80+0x059b]
>  #
>  # Core dump will be written. Default location: Core dumps may be processed 
> with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to 
> /home/przemek/go/core.792203)
>  #
>  # An error report file with more information is saved as:
>  # /home/przemek/go/hs_err_pid792203.log



--
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-4794) core dumps on searches

2020-09-11 Thread Przemek Czerkas (Jira)
Przemek Czerkas created NETBEANS-4794:
-

 Summary: core dumps on searches
 Key: NETBEANS-4794
 URL: https://issues.apache.org/jira/browse/NETBEANS-4794
 Project: NetBeans
  Issue Type: Bug
Reporter: Przemek Czerkas
 Attachments: hs_err_pid792203.log

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x7f8f403af51b, pid=792203, tid=800789
#
# JRE version: Java(TM) SE Runtime Environment (14.0.1+7) (build 14.0.1+7)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.0.1+7, mixed mode, sharing, 
tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# J 4222 c2 
jdk.internal.module.SystemModuleFinders$SystemModuleReader.findImageLocation(Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
 java.base@14.0.1 (42 bytes) @ 0x7f8f403af51b 
[0x7f8f403aef80+0x059b]
#
# Core dump will be written. Default location: Core dumps may be processed with 
"/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to 
/home/przemek/go/core.792203)
#
# An error report file with more information is saved as:
# /home/przemek/go/hs_err_pid792203.log



--
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-4793) XML Layer > This layer in Context could display all declarations

2020-09-11 Thread Svatopluk Dedic (Jira)
Svatopluk Dedic created NETBEANS-4793:
-

 Summary: XML Layer > This layer in Context could display all 
declarations
 Key: NETBEANS-4793
 URL: https://issues.apache.org/jira/browse/NETBEANS-4793
 Project: NetBeans
  Issue Type: Improvement
  Components: apisupport - Project
Affects Versions: 11.3
Reporter: Svatopluk Dedic


When a folder is composed or file augmented by attributes, it is sometimes 
difficult to determine where the all pieces came from. For folders, list of all 
declarations contributing here (i.e. identified by the module/project of 
origin) would be useful; in a submenu, if the current project also contributes.

The Outline could also eventually show file's merged attributes or folder's 
merged children to provide an overview when navigating from project Explorer.



--
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-4762) Gradle support broken recognizing of Lombok generation

2020-09-11 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 commented on NETBEANS-4762:
--

It seems that there is no problem with 12.0 + updates (I guess it is marked as 
u1) at least any reds disappear with closing and reopening of first project in 
tree.

In any case 12.1 is still out of order even with upgrade from 12.0 + updates.

On source dialog of 12.1 has been visible as extra:
- tab "Source": project\build\generated\sources\annotationProcessor\java\main
- tab "Annotation Processors": lombok-1.18.12.jar
- tab "Compiler Args": Java -> -parameters

In any case I have even tried to use empty gradle project by wizard and add 
lombok and create simple Java bean class annotated by lombok:

- if I tried to used generated e.g. methods it is not visible in autocomplete
- if I run build from menu no issue, but editor is red so simply said editors 
uses something different or better to say completely ignores lombok

> Gradle support broken recognizing of Lombok generation
> --
>
> Key: NETBEANS-4762
> URL: https://issues.apache.org/jira/browse/NETBEANS-4762
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations, editor - Navigation, 
> java - Compiler, java - Editor, java - Hints, java - Navigation, platform - 
> Action Items, projects - Gradle
>Affects Versions: 12.1
> Environment: OpenJDK 11.0.2
> Gradle 6.4.1, 6.6.1
> Lombok 1.18.12
>Reporter: Netbeans User 2019
>Assignee: Laszlo Kishalmi
>Priority: Critical
>  Labels: Lombok, annotation-processor, gradle
>
> After upgrade to Apache Netbeans 12.1 it seems that every class uses Lombok 
> annotation or even class that depends on such class leads to red look (action 
> items, items in tree of "Projects", particular file in editor). It is tried 
> every prior ways to remove it, but without success.
> So tried like
> - close project and open
> - reload project
> - clean and build
> - scan for external changes
> - modification of file
> - creation new file in same folder and remove
> - removal of Apache Netbeans cache (under option --cachedir)
> - removal of caches/6.4.1 under gradle home
> - removal caches .gradle under project
> - switching new option about trusted to always
> - using new version of Gradle 6.6.1
> - using lombok plugin for gradle instead of manually steps via dependencies
> So it is still red even clean and build works well.
> So it is really not possible use that version of Apache Netbeans with 
> hundreds of false 
> errors.
> So I have to revert back to 12.0 where I can get that back to non-red after 
> clean and build of root project and reopening of projects or by creation of 
> files under particular folder and remove it.
> In context:
> Tested on multi project (root with subprojects).



--
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