[jira] [Reopened] (NETBEANS-3041) NetBeans gradle invoker not honouring org.gradle.jvmargs

2019-12-27 Thread Shevek (Jira)


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

Shevek reopened NETBEANS-3041:
--

Logic in PR-1501 
https://github.com/apache/netbeans/pull/1501/files?utf8=%E2%9C%93=unified=1#diff-1054443aad556a1faa1f1d5342d9eb17R831
 does not behave the same as gradle does:

1. If different -Xmx values are specified in the project vs in the global home, 
the global should take precedence.
2. Bug: If the projectdir exists, the system gradle.properties will not be 
loaded. BUG!
3. Previous bug REGARDLESS of whether there is a gradle.properties in the 
project dir.

Please can netbeans follow the same logic as 
https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties

> NetBeans gradle invoker not honouring org.gradle.jvmargs
> 
>
> Key: NETBEANS-3041
> URL: https://issues.apache.org/jira/browse/NETBEANS-3041
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available, pull-requests-available
> Fix For: 11.2
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> cat .gradle/gradle.properties
> org.gradle.jvmargs=-Xmx8192m -XX:+PreserveFramePointer
> This property is not honoured by NetBeans when it starts a Gradle daemon, so 
> I end up with a Gradle daemon using the "default" amount of RAM, which on 
> some machines is too little, and on some is too much (it's 25% of system RAM).
> I'm guessing this is because it's loaded by the wrapper, not the daemon, 
> because other properties like org.gradle.daemon.idletimeout=36 are 
> honoured by NB's gradle daemon.
> The other effect of not loading that property is that I get multiple gradle 
> dameons running, each consuming 16Gb of RAM, because they're "incompatible", 
> so fixing this will save me about 16Gb of RAM per system.
> I'm a bit shaky on this bug report, but ... I think this is what's going on.
> (footnote: oh dear, Shevek broke something again, what on earth is that idiot 
> doing with NetBeans and why can't Shevek just behave like a "normal" 
> developer :D :D)



--
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-378) Font size and splash panel on a high-DPI display on Windows 10.

2019-12-27 Thread Eirik Bakke (Jira)


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

Eirik Bakke commented on NETBEANS-378:
--

Also added the Illustrator and SVG file versions of the Apache NetBeans logo 
with the product name included. These were slightly touched-up versions of a 
file made by David .Schulz. (The touchups were to ensure the edges in the logo 
were perfectly aligned, preventing rendering artifacts at certain zoom levels.)

> Font size and splash panel on a high-DPI display on Windows 10.
> ---
>
> Key: NETBEANS-378
> URL: https://issues.apache.org/jira/browse/NETBEANS-378
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Giulio D'Ambrosi
>Priority: Major
>  Labels: HiDPI, pull-request-available
> Fix For: 11.1
>
> Attachments: Apache NetBeans Logo with Product Name.ai, Apache 
> NetBeans Logo with Product Name.svg, Installer.PNG, NetBeans HiDPI Splash 
> Screen Template.ai, Screenshot_Idea.png, Screenshot_Netbeans.png, 
> Screenshot_Netbeans_Fontsize24.png, keymap.PNG, plugins.PNG, tab.PNG
>
>  Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> I started using NetBeans with the 4K resolution and i cannot see anything 
> because everything on that JFrame becomes too small and I won't be able to 
> read anything.
> See attached images



--
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-378) Font size and splash panel on a high-DPI display on Windows 10.

2019-12-27 Thread Eirik Bakke (Jira)


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

Eirik Bakke updated NETBEANS-378:
-
Attachment: Apache NetBeans Logo with Product Name.svg
Apache NetBeans Logo with Product Name.ai

> Font size and splash panel on a high-DPI display on Windows 10.
> ---
>
> Key: NETBEANS-378
> URL: https://issues.apache.org/jira/browse/NETBEANS-378
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Giulio D'Ambrosi
>Priority: Major
>  Labels: HiDPI, pull-request-available
> Fix For: 11.1
>
> Attachments: Apache NetBeans Logo with Product Name.ai, Apache 
> NetBeans Logo with Product Name.svg, Installer.PNG, NetBeans HiDPI Splash 
> Screen Template.ai, Screenshot_Idea.png, Screenshot_Netbeans.png, 
> Screenshot_Netbeans_Fontsize24.png, keymap.PNG, plugins.PNG, tab.PNG
>
>  Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> I started using NetBeans with the 4K resolution and i cannot see anything 
> because everything on that JFrame becomes too small and I won't be able to 
> read anything.
> See attached images



--
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-378) Font size and splash panel on a high-DPI display on Windows 10.

2019-12-27 Thread Eirik Bakke (Jira)


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

Eirik Bakke commented on NETBEANS-378:
--

For future reference, I added the Adobe Illustrator file that was used to 
generate the current splash screen graphics.

> Font size and splash panel on a high-DPI display on Windows 10.
> ---
>
> Key: NETBEANS-378
> URL: https://issues.apache.org/jira/browse/NETBEANS-378
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Giulio D'Ambrosi
>Priority: Major
>  Labels: HiDPI, pull-request-available
> Fix For: 11.1
>
> Attachments: Installer.PNG, NetBeans HiDPI Splash Screen Template.ai, 
> Screenshot_Idea.png, Screenshot_Netbeans.png, 
> Screenshot_Netbeans_Fontsize24.png, keymap.PNG, plugins.PNG, tab.PNG
>
>  Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> I started using NetBeans with the 4K resolution and i cannot see anything 
> because everything on that JFrame becomes too small and I won't be able to 
> read anything.
> See attached images



--
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-378) Font size and splash panel on a high-DPI display on Windows 10.

2019-12-27 Thread Eirik Bakke (Jira)


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

Eirik Bakke updated NETBEANS-378:
-
Attachment: NetBeans HiDPI Splash Screen Template.ai

> Font size and splash panel on a high-DPI display on Windows 10.
> ---
>
> Key: NETBEANS-378
> URL: https://issues.apache.org/jira/browse/NETBEANS-378
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Giulio D'Ambrosi
>Priority: Major
>  Labels: HiDPI, pull-request-available
> Fix For: 11.1
>
> Attachments: Installer.PNG, NetBeans HiDPI Splash Screen Template.ai, 
> Screenshot_Idea.png, Screenshot_Netbeans.png, 
> Screenshot_Netbeans_Fontsize24.png, keymap.PNG, plugins.PNG, tab.PNG
>
>  Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> I started using NetBeans with the 4K resolution and i cannot see anything 
> because everything on that JFrame becomes too small and I won't be able to 
> read anything.
> See attached images



--
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-3644) Fix Welcome Screen colors for Flatlaf

2019-12-27 Thread ASF GitHub Bot (Jira)


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

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

> Fix Welcome Screen colors for Flatlaf
> -
>
> Key: NETBEANS-3644
> URL: https://issues.apache.org/jira/browse/NETBEANS-3644
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
>




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

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

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



[jira] [Created] (NETBEANS-3644) Fix Welcome Screen colors for Flatlaf

2019-12-27 Thread Laszlo Kishalmi (Jira)
Laszlo Kishalmi created NETBEANS-3644:
-

 Summary: Fix Welcome Screen colors for Flatlaf
 Key: NETBEANS-3644
 URL: https://issues.apache.org/jira/browse/NETBEANS-3644
 Project: NetBeans
  Issue Type: Improvement
Reporter: Laszlo Kishalmi
Assignee: Laszlo Kishalmi






--
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-3638) Add Indentation Support for XML

2019-12-27 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-3638.
---
Fix Version/s: 11.3
   Resolution: Fixed

> Add Indentation Support for XML
> ---
>
> Key: NETBEANS-3638
> URL: https://issues.apache.org/jira/browse/NETBEANS-3638
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> I missed it for years especially when some people started to indent xml with 
> 2 spaces lately.



--
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-3619) Code Format feature does not work

2019-12-27 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi updated NETBEANS-3619:
--
Fix Version/s: (was: 11.3)
   11.2

> Code Format feature does not work
> -
>
> Key: NETBEANS-3619
> URL: https://issues.apache.org/jira/browse/NETBEANS-3619
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation
>Affects Versions: 11.2
>Reporter: Gabriel Galvan
>Priority: Minor
> Fix For: 11.2
>
>
> When there is no selected code, "Source -> Format" (CTRL + SHIFT + F) does 
> not work.
> Netbeans logging records the following exception:
>  
>  
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2705)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2656)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2568)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1764)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1337)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1024)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:625)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:512)
>  at 
> org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:226)
>  at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:99)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:550)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:349)
>  at 
> org.netbeans.modules.editor.indent.api.Reformat.reformat(Reformat.java:129)
>  at 
> org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1854)
>  at 
> org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:333)
>  at 
> org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1833)
>  at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146)
>  at 

[jira] [Resolved] (NETBEANS-3619) Code Format feature does not work

2019-12-27 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-3619.
---
Fix Version/s: 11.3
   Resolution: Fixed

> Code Format feature does not work
> -
>
> Key: NETBEANS-3619
> URL: https://issues.apache.org/jira/browse/NETBEANS-3619
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation
>Affects Versions: 11.2
>Reporter: Gabriel Galvan
>Priority: Minor
> Fix For: 11.3
>
>
> When there is no selected code, "Source -> Format" (CTRL + SHIFT + F) does 
> not work.
> Netbeans logging records the following exception:
>  
>  
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2705)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2656)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2568)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1764)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1337)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1024)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:625)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:512)
>  at 
> org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:226)
>  at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:99)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:550)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:349)
>  at 
> org.netbeans.modules.editor.indent.api.Reformat.reformat(Reformat.java:129)
>  at 
> org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1854)
>  at 
> org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:333)
>  at 
> org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1833)
>  at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  

[jira] [Commented] (NETBEANS-3619) Code Format feature does not work

2019-12-27 Thread Gabriel Galvan (Jira)


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

Gabriel Galvan commented on NETBEANS-3619:
--

Thanks Laszlo.

As you said, the last builds in DEV (031deb38b043cd03555f77b64059041a4e763850 
for example) works just fine.

> Code Format feature does not work
> -
>
> Key: NETBEANS-3619
> URL: https://issues.apache.org/jira/browse/NETBEANS-3619
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation
>Affects Versions: 11.2
>Reporter: Gabriel Galvan
>Priority: Minor
>
> When there is no selected code, "Source -> Format" (CTRL + SHIFT + F) does 
> not work.
> Netbeans logging records the following exception:
>  
>  
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2705)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2656)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2568)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1764)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1337)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1024)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:625)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:395)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:512)
>  at 
> org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:226)
>  at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:99)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:550)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:349)
>  at 
> org.netbeans.modules.editor.indent.api.Reformat.reformat(Reformat.java:129)
>  at 
> org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1854)
>  at 
> org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:333)
>  at 
> org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1833)
>  at 
> 

[netbeans] branch master updated: [NETBEANS-3638] Add Indenting options for XML

2019-12-27 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 29a1ad9  [NETBEANS-3638] Add Indenting options for XML
29a1ad9 is described below

commit 29a1ad93247295fb9af4d086b523b1e8f257
Author: Laszlo Kishalmi 
AuthorDate: Wed Dec 25 22:47:53 2019 -0800

[NETBEANS-3638] Add Indenting options for XML
---
 .../netbeans/modules/xml/text/resources/XMLExampleIndent  |  8 
 .../org/netbeans/modules/xml/text/resources/mf-layer.xml  | 15 +++
 nbbuild/rat-exclusions.txt|  1 +
 3 files changed, 24 insertions(+)

diff --git 
a/ide/xml.text/src/org/netbeans/modules/xml/text/resources/XMLExampleIndent 
b/ide/xml.text/src/org/netbeans/modules/xml/text/resources/XMLExampleIndent
new file mode 100644
index 000..f688910
--- /dev/null
+++ b/ide/xml.text/src/org/netbeans/modules/xml/text/resources/XMLExampleIndent
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git 
a/ide/xml.text/src/org/netbeans/modules/xml/text/resources/mf-layer.xml 
b/ide/xml.text/src/org/netbeans/modules/xml/text/resources/mf-layer.xml
index 6de64c2..162f578 100644
--- a/ide/xml.text/src/org/netbeans/modules/xml/text/resources/mf-layer.xml
+++ b/ide/xml.text/src/org/netbeans/modules/xml/text/resources/mf-layer.xml
@@ -319,6 +319,21 @@
 
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 
diff --git a/nbbuild/rat-exclusions.txt b/nbbuild/rat-exclusions.txt
index 851f61c..8c12e7c 100644
--- a/nbbuild/rat-exclusions.txt
+++ b/nbbuild/rat-exclusions.txt
@@ -195,4 +195,5 @@ 
ide/languages.yaml/src/org/netbeans/modules/languages/yaml/*.yml
 
java/spring.beans/src/org/netbeans/modules/spring/beans/resources/templates/*.template
 ide/xml.text/src/org/netbeans/modules/xml/text/resources/DTDExample
 ide/xml.text/src/org/netbeans/modules/xml/text/resources/XMLExample
+ide/xml.text/src/org/netbeans/modules/xml/text/resources/XMLExampleIndent
 
ide/properties.syntax/src/org/netbeans/modules/properties/syntax/PropertiesExample


-
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-3405) Not copying all files for remote build and debug

2019-12-27 Thread Matthew Bennett (Jira)


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

Matthew Bennett updated NETBEANS-3405:
--
Summary: Not copying all files for remote build and debug  (was: Not coping 
all files for remote build and debug)

> Not copying all files for remote build and debug
> 
>
> Key: NETBEANS-3405
> URL: https://issues.apache.org/jira/browse/NETBEANS-3405
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Remote
>Affects Versions: 11.1
> Environment: Macbook Pro Catalina, 10.15.1
> Raspberry PI running Raspbian Buster
>Reporter: Matthew Bennett
>Priority: Major
>
> I'm using Netbeans 11 with the plugin for C/C++ development with a raspberry 
> pi as a remote compile / debugger. When I try and compile, I get an error
> 'make: *** No rule to make target 'Visual/src/linkedList.c', needed by 
> 'build/linkedList.o'.'
> The source code exists within the project, but the file is not copied with 
> the other source files. When I inspect the destination directory, a number of 
> files are missing.
> Copy method SFTP:



--
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-3642) Unable to create MDB class for Java EE 8 Web type project using wizard

2019-12-27 Thread Stephen Brooksbank (Jira)
Stephen Brooksbank created NETBEANS-3642:


 Summary: Unable to create MDB class for Java EE 8 Web type project 
using wizard
 Key: NETBEANS-3642
 URL: https://issues.apache.org/jira/browse/NETBEANS-3642
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.2
 Environment: Product Version: Apache NetBeans IDE 11.2
Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
Runtime: OpenJDK Runtime Environment 13.0.1+9
System: Windows 10 version 10.0 running on amd64; Cp1252; en_GB (nb)
Wildfly 18.0
Reporter: Stephen Brooksbank
 Attachments: Java EE 8 Web project.png, MDB for web8 project.png, 
pom.xml

Receive the message "This feature is not fully supported in J2EE 1.3. You have 
to upgrade your project to J2EE 1.4" when trying to use the wizard to create a 
Message Driven Bean (MDB) for a Java EE 8 Web type project.

As of the EJB 3.1 specification I understand it should be possible to create 
EJB objects directly in a single WAR project (instead of neeading an EJB 
module). I'm using Wildfly 18 as the server which is Jakarta EE compliant and 
certified.

To reproduce:
 # create Maven web project. Assign wildfly server. (NB. drop down list box for 
version only lists EE7Web as an option)
 # Go to project properties. Select Run options. Change server type to EE 8 Web.
 # Edit POM to include correct version of the APIs
 # Use File, New.. wizard to create MDB.

WorkAround:

Create a simple Java class and manually add the annotations needed for a MDB.

For example:

{{{color:#FF}@MessageDriven(activationConfig = {{color}}}
{{{color:#FF} @ActivationConfigProperty(propertyName = "destinationLookup", 
propertyValue = "jms/queue/OutboundQ"),{color}}}
{{{color:#FF} @ActivationConfigProperty(propertyName = "destinationType", 
propertyValue = "javax.jms.Queue"){color}}}
{{{color:#FF}}){color}}}
{{public class CustomsReceiverMessageBean {color:#FF}implements 
MessageListener{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] [Updated] (NETBEANS-3641) Find Usages throws ClassCastException

2019-12-27 Thread jose luis romero (Jira)


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

jose luis romero updated NETBEANS-3641:
---
Description: 
Every time I try to "find usages" on some method from a project that it is 
being used by 
 many others as a dependency, so I select
*Find Usage and overriding methods*
and *Scope: current Pro & Dependencies* this error shows up

Selecting *Find usages* doesn't produce the error


  2019-12-27T07:46:21
  1577443581224
  1115
  700
  150
  UI_USER_CONFIGURATION
  UI_USER_CONFIGURATION
  org.netbeans.modules.uihandler.Bundle
  Windows 10, 10.0, amd64
  Java HotSpot(TM) 64-Bit Server VM, 25.181-b13, Java(TM) SE Runtime 
Environment, 1.8.0_181-b13
  Apache NetBeans IDE 11.2
  
  ClassCastException: com.sun.tools.javac.code.Symtab$6 cannot be cast 
to javax.lang.model.element.TypeElement
  Please provide a description of the problem or the steps to 
reproduce
  *


  was:
Every time I try to "find usages" on some method from a project that it is 
being used by 
 many others as a dependency, so I select
*Find Usage and overriding methods*
and *Scope: current Pro & Dependencies* this error shows up


  2019-12-27T07:46:21
  1577443581224
  1115
  700
  150
  UI_USER_CONFIGURATION
  UI_USER_CONFIGURATION
  org.netbeans.modules.uihandler.Bundle
  Windows 10, 10.0, amd64
  Java HotSpot(TM) 64-Bit Server VM, 25.181-b13, Java(TM) SE Runtime 
Environment, 1.8.0_181-b13
  Apache NetBeans IDE 11.2
  
  ClassCastException: com.sun.tools.javac.code.Symtab$6 cannot be cast 
to javax.lang.model.element.TypeElement
  Please provide a description of the problem or the steps to 
reproduce
  *



> Find Usages throws ClassCastException
> -
>
> Key: NETBEANS-3641
> URL: https://issues.apache.org/jira/browse/NETBEANS-3641
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10, 10.0, amd64, Java HotSpot(TM) 64-Bit Server 
> VM, 25.181-b13, Java(TM) SE Runtime Environment, 1.8.0_181-b13, IDE 11.2
>Reporter: jose luis romero
>Priority: Major
>
> Every time I try to "find usages" on some method from a project that it is 
> being used by 
>  many others as a dependency, so I select
> *Find Usage and overriding methods*
> and *Scope: current Pro & Dependencies* this error shows up
> Selecting *Find usages* doesn't produce the error
> 
>   2019-12-27T07:46:21
>   1577443581224
>   1115
>   700
>   150
>   UI_USER_CONFIGURATION
>   UI_USER_CONFIGURATION
>   org.netbeans.modules.uihandler.Bundle
>   Windows 10, 10.0, amd64
>   Java HotSpot(TM) 64-Bit Server VM, 25.181-b13, Java(TM) SE Runtime 
> Environment, 1.8.0_181-b13
>   Apache NetBeans IDE 11.2
>   
>   ClassCastException: com.sun.tools.javac.code.Symtab$6 cannot be cast 
> to javax.lang.model.element.TypeElement
>   Please provide a description of the problem or the steps to 
> reproduce
>   *
> 



--
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-3641) Find Usages throws ClassCastException

2019-12-27 Thread jose luis romero (Jira)


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

jose luis romero updated NETBEANS-3641:
---
Environment: Windows 10, 10.0, amd64, Java HotSpot(TM) 64-Bit Server VM, 
25.181-b13, Java(TM) SE Runtime Environment, 1.8.0_181-b13, IDE 11.2  (was:   
Windows 10, 10.0, amd64
  Java HotSpot(TM) 64-Bit Server VM, 25.181-b13, Java(TM) SE Runtime 
Environment, 1.8.0_181-b13
  Apache NetBeans IDE 11.2)

> Find Usages throws ClassCastException
> -
>
> Key: NETBEANS-3641
> URL: https://issues.apache.org/jira/browse/NETBEANS-3641
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10, 10.0, amd64, Java HotSpot(TM) 64-Bit Server 
> VM, 25.181-b13, Java(TM) SE Runtime Environment, 1.8.0_181-b13, IDE 11.2
>Reporter: jose luis romero
>Priority: Major
>
> Every time I try to "find usages" on some method from a project that it is 
> being used by 
>  many others as a dependency, so I select
> *Find Usage and overriding methods*
> and *Scope: current Pro & Dependencies* this error shows up
> 
>   2019-12-27T07:46:21
>   1577443581224
>   1115
>   700
>   150
>   UI_USER_CONFIGURATION
>   UI_USER_CONFIGURATION
>   org.netbeans.modules.uihandler.Bundle
>   Windows 10, 10.0, amd64
>   Java HotSpot(TM) 64-Bit Server VM, 25.181-b13, Java(TM) SE Runtime 
> Environment, 1.8.0_181-b13
>   Apache NetBeans IDE 11.2
>   
>   ClassCastException: com.sun.tools.javac.code.Symtab$6 cannot be cast 
> to javax.lang.model.element.TypeElement
>   Please provide a description of the problem or the steps to 
> reproduce
>   *
> 



--
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-3641) Find Usages throws ClassCastException

2019-12-27 Thread jose luis romero (Jira)
jose luis romero created NETBEANS-3641:
--

 Summary: Find Usages throws ClassCastException
 Key: NETBEANS-3641
 URL: https://issues.apache.org/jira/browse/NETBEANS-3641
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.2
 Environment:   Windows 10, 10.0, amd64
  Java HotSpot(TM) 64-Bit Server VM, 25.181-b13, Java(TM) SE Runtime 
Environment, 1.8.0_181-b13
  Apache NetBeans IDE 11.2
Reporter: jose luis romero


Every time I try to "find usages" on some method from a project that it is 
being used by 
 many others as a dependency, so I select
*Find Usage and overriding methods*
and *Scope: current Pro & Dependencies* this error shows up


  2019-12-27T07:46:21
  1577443581224
  1115
  700
  150
  UI_USER_CONFIGURATION
  UI_USER_CONFIGURATION
  org.netbeans.modules.uihandler.Bundle
  Windows 10, 10.0, amd64
  Java HotSpot(TM) 64-Bit Server VM, 25.181-b13, Java(TM) SE Runtime 
Environment, 1.8.0_181-b13
  Apache NetBeans IDE 11.2
  
  ClassCastException: com.sun.tools.javac.code.Symtab$6 cannot be cast 
to javax.lang.model.element.TypeElement
  Please provide a description of the problem or the steps to 
reproduce
  *




--
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-3637) Locked src folder in project folder

2019-12-27 Thread Miro (Jira)


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

Miro commented on NETBEANS-3637:


[~lkishalmi] nope. Tried to add exclusion and even paused AV protection but the 
problem persist. Even deleting project is not possible, because the same issue 
- locked directory. After unsuccessful action, I have to close NB and kill it 
via TaskManager, because it is still running in background. 

I am using NB many years already (from version 4) but this is the first time 
with this issue. I will just stick with my v8.2 although I dont need to rename 
or delete project so often :). 

> Locked src folder in project folder
> ---
>
> Key: NETBEANS-3637
> URL: https://issues.apache.org/jira/browse/NETBEANS-3637
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10, JDK1.8, NB11.2
>Reporter: Miro
>Priority: Minor
>  Labels: Netbeans
> Attachments: nb112.jpg
>
>
> "src" folder is locked by NetBeans even if the project is not opened in NB. 
> It is not possible to rename project with renaming project folder too. Only 
> "workaround" is to rename project without renaming project folder, close NB 
> and then rename project folder manually. Re-installing NB didnt help. 
> To simulate this behavior, simply create new project with main class and then 
> try to rename it. Error shows saying that it is not possible to 



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