[jira] [Commented] (NETBEANS-5251) NPE when opening js file

2021-02-11 Thread Roman Ciloci (Jira)


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

Roman Ciloci commented on NETBEANS-5251:


I cleared the cache folder multiple times without success.

The exception is thrown every time I (re)open NetBeans and open the first js 
file

 

One thing I noticed is the status bar shows 'Loading NodeJS Documentation' and 
then the error is shown in the notification area.

Not sure if it's related though.

Hope this helps.

> NPE when opening js file
> 
>
> Key: NETBEANS-5251
> URL: https://issues.apache.org/jira/browse/NETBEANS-5251
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 12.2
> Environment: Windows 10
> OpenJDK 11
>Reporter: Roman Ciloci
>Priority: Major
> Attachments: IDELog.txt, UILog.txt, testproject.zip
>
>
> # Installed NetBeans 12.2
>  # Started NetBeans
>  # Go to File -> Open File...
>  # Selected a js file to open
>  # Got a NullPointerException
>  
> Note:
> The file was somewhat big ~3MB. I did get the prompt about the file being too 
> large and it could cause memory issues.
> Eventually the file opened and I was able to edit it but I did get the dialog 
> about reporting the exception so I'm creating this issue with the information 
> from the issue reporting dialog.



--
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-5356) Carriage return "\r" not working probably on the output window

2021-02-11 Thread Jason Markes (Jira)


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

Jason Markes updated NETBEANS-5356:
---
Description: 
A simple execution of the following statment can show up the problem.

System.out.println("Hello, World\rJello");

The expected output should be "Jello, World", while NetBeans shows "Jello" on 
the output window after a normal file run.

The issue doesn't appear when the Java file is executed in CMD.

  was:
A simple execution of the following statment can show up the problem.

System.out.println("Hello, World\rJello");

The expected output should be "Jello, World", while NetBeans shows "Jello" in 
the output window after a normal file run.

The issue doesn't appear when the Java file is executed in CMD.


> Carriage return "\r" not working probably on the output window
> --
>
> Key: NETBEANS-5356
> URL: https://issues.apache.org/jira/browse/NETBEANS-5356
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 12.2
> Environment: Apache NetBeans 12.2 - Java Ant Project - JDK 15.0.2 - 
> Windows 10 x64
>Reporter: Jason Markes
>Priority: Major
>
> A simple execution of the following statment can show up the problem.
> System.out.println("Hello, World\rJello");
> The expected output should be "Jello, World", while NetBeans shows "Jello" on 
> the output window after a normal file run.
> The issue doesn't appear when the Java file is executed in CMD.



--
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-5356) Carriage return "\r" not working probably on the output window

2021-02-11 Thread Jason Markes (Jira)


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

Jason Markes updated NETBEANS-5356:
---
Environment: Apache NetBeans 12.2 - Java Ant Project - JDK 15.0.2 - Windows 
10 x64  (was: Apache NetBeans 12.2 - Java Ant Project - Windows 10 x64)

> Carriage return "\r" not working probably on the output window
> --
>
> Key: NETBEANS-5356
> URL: https://issues.apache.org/jira/browse/NETBEANS-5356
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 12.2
> Environment: Apache NetBeans 12.2 - Java Ant Project - JDK 15.0.2 - 
> Windows 10 x64
>Reporter: Jason Markes
>Priority: Major
>
> A simple execution of the following statment can show up the problem.
> System.out.println("Hello, World\rJello");
> The expected output should be "Jello, World", while NetBeans shows "Jello" in 
> the output window after a normal file run.
> The issue doesn't appear when the Java file is executed in CMD.



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

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

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



[jira] [Assigned] (NETBEANS-5356) Carriage return "\r" not working probably on the output window

2021-02-11 Thread Jason Markes (Jira)


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

Jason Markes reassigned NETBEANS-5356:
--

Assignee: (was: Jason Markes)

> Carriage return "\r" not working probably on the output window
> --
>
> Key: NETBEANS-5356
> URL: https://issues.apache.org/jira/browse/NETBEANS-5356
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 12.2
> Environment: Apache NetBeans 12.2 - Java Ant Project - Windows 10 x64
>Reporter: Jason Markes
>Priority: Major
>
> A simple execution of the following statment can show up the problem.
> System.out.println("Hello, World\rJello");
> The expected output should be "Jello, World", while NetBeans shows "Jello" in 
> the output window after a normal file run.
> The issue doesn't appear when the Java file is executed in CMD.



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

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

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



[jira] [Assigned] (NETBEANS-5356) Carriage return "\r" not working probably on the output window

2021-02-11 Thread Jason Markes (Jira)


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

Jason Markes reassigned NETBEANS-5356:
--

Assignee: Jason Markes

> Carriage return "\r" not working probably on the output window
> --
>
> Key: NETBEANS-5356
> URL: https://issues.apache.org/jira/browse/NETBEANS-5356
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 12.2
> Environment: Apache NetBeans 12.2 - Java Ant Project - Windows 10 x64
>Reporter: Jason Markes
>Assignee: Jason Markes
>Priority: Major
>
> A simple execution of the following statment can show up the problem.
> System.out.println("Hello, World\rJello");
> The expected output should be "Jello, World", while NetBeans shows "Jello" in 
> the output window after a normal file run.
> The issue doesn't appear when the Java file is executed in CMD.



--
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-5356) Carriage return "\r" not working probably on the output window

2021-02-11 Thread Jason Markes (Jira)
Jason Markes created NETBEANS-5356:
--

 Summary: Carriage return "\r" not working probably on the output 
window
 Key: NETBEANS-5356
 URL: https://issues.apache.org/jira/browse/NETBEANS-5356
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Output Window
Affects Versions: 12.2
 Environment: Apache NetBeans 12.2 - Java Ant Project - Windows 10 x64
Reporter: Jason Markes


A simple execution of the following statment can show up the problem.

System.out.println("Hello, World\rJello");

The expected output should be "Jello, World", while NetBeans shows "Jello" in 
the output window after a normal file run.

The issue doesn't appear when the Java file is executed in CMD.



--
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-5355) java.lang.NullPointerException(s) when loading/discovering projects

2021-02-11 Thread Keaton Watt (Jira)
Keaton Watt created NETBEANS-5355:
-

 Summary: java.lang.NullPointerException(s) when 
loading/discovering projects
 Key: NETBEANS-5355
 URL: https://issues.apache.org/jira/browse/NETBEANS-5355
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.2
 Environment: *Product Version:* Apache NetBeans IDE 12.2
*Java:* 1.8.0_271; Java HotSpot(TM) 64-Bit Server VM 25.271-b09
*Runtime:* Java(TM) SE Runtime Environment 1.8.0_271-b09
*System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
*User directory:* C:\Users\keaton.watt\AppData\Roaming\NetBeans\12.2
*Cache directory:* C:\Users\keaton.watt\AppData\Local\NetBeans\Cache\12.2

 OS NameMicrosoft Windows 10 Pro
Version 10.0.19042 Build 19042
Other OS DescriptionNot Available
OS Manufacturer Microsoft Corporation
System Name SI-LT-KWATT
System Manufacturer LENOVO
System Model20FWCTO1WW
System Type x64-based PC
System SKU  LENOVO_MT_20FW_BU_Think_FM_ThinkPad T460p
Processor   Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz, 2701 Mhz, 4 Core(s), 
8 Logical Processor(s)
BIOS Version/Date   LENOVO R07ET92W (2.32 ), 7/28/2019
SMBIOS Version  2.8
Embedded Controller Version 1.05
BIOS Mode   UEFI
BaseBoard Manufacturer  LENOVO
BaseBoard Product   20FWCTO1WW
BaseBoard Version   SDK0J40697 WIN
Platform Role   Mobile
Secure Boot State   On
PCR7 Configuration  Elevation Required to View
Windows Directory   C:\WINDOWS
System DirectoryC:\WINDOWS\system32
Boot Device \Device\HarddiskVolume2
Locale  United States
Hardware Abstraction Layer  Version = "10.0.19041.488"
User Name   SERIOUS\keaton.watt
Time Zone   US Mountain Standard Time
Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory   15.8 GB
Available Physical Memory   2.89 GB
Total Virtual Memory20.6 GB
Available Virtual Memory3.97 GB

Reporter: Keaton Watt
 Attachments: idelog

Hi, 

I'm currently working to maintain an embedded HMI/GUI development application 
SHIPTide for Serious Integrated/e2ip Technologies built on top of Netbeans 
starting from as far back as 7.1. I've recently run into some exceptions when 
migrating to Apache Netbeans 12.2.

This issue doesn't appear to be affecting overall operation of Netbeans or our 
abiltiy to build/use SHIPTide over top of the platform but it does appear to 
cause errors to appear in Netbeans itself. Below is the high level exception 
and attached is the full IDE log as well as environment information. Please let 
me know if I can provide any additional information with this ticket to help 
get this exception addressed.

java.lang.NullPointerExceptionjava.lang.NullPointerException at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:914)
 at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2500(JavacProcessingEnvironment.java:113)
 at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1298)
 at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380)
 at 
com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1350)
 at 
com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1240)
 at 
com.sun.tools.javac.main.JavaCompiler.lambda$readSourceFile$3(JavaCompiler.java:930)
 at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:330) at 
com.sun.tools.javac.code.Symbol.complete(Symbol.java:683) at 
com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1434) at 
com.sun.tools.javac.code.Type$ClassType.complete(Type.java:1164) at 
com.sun.tools.javac.code.Type$ClassType.getTypeArguments(Type.java:1085) at 
com.sun.tools.javac.code.Type$ClassType.isErroneous(Type.java:1120) at 
com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:2258) at 
com.sun.tools.javac.comp.Resolve.findType(Resolve.java:2337) at 
com.sun.tools.javac.comp.Resolve.findIdentInternal(Resolve.java:2372) at 
com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:2358) at 
com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:2632) at 
com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:4214) at 
com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2434) at 
com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673) at 
com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:4301) at 
com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2300) at 
com.sun.tools.javac.comp.ArgumentAttr.visitTree(ArgumentAttr.java:209) at 
com.sun.tools.javac.tree.JCTree$Visitor.visitSelect(JCTree.java:3296) at 
com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2300) at 
com.sun.tools.javac.comp.ArgumentAttr.attribArg(ArgumentAttr.java:199) at 
com.sun.tools.javac.comp.Attr.attribTree(Attr.java:671) at 

[jira] [Updated] (NETBEANS-5354) update public interface for a few users of LinkedList

2021-02-11 Thread ASF GitHub Bot (Jira)


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

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

> update public interface for a few users of LinkedList
> -
>
> Key: NETBEANS-5354
> URL: https://issues.apache.org/jira/browse/NETBEANS-5354
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 12.2
>Reporter: Brad Walker
>Assignee: Brad Walker
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> I've wanted to expand my knowledge about how to change the interface. So I've 
> picked a simple one to change..
> I've changed the interface to use List instead of LinkedList. One should use 
> interfaces and not implementations in the public interface.. Changing this 
> will allow me to fix the following warnings easily.
>[repeat] 
> /home/bwalker/src/netbeans/enterprise/websvc.manager/src/org/netbeans/modules/websvc/manager/ui/TestWebServiceMethodDlg.java:390:
>  warning: [rawtypes] found raw type: LinkedList
>[repeat] public void methodFinished(final Object 
> inReturnedObject,final LinkedList inParamList) {
>[repeat]   
>  ^
>[repeat]   missing type arguments for generic class LinkedList
>[repeat]   where E is a type-variable:
>[repeat] E extends Object declared in class LinkedList



--
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-5354) update public interface for a few users of LinkedList

2021-02-11 Thread Brad Walker (Jira)
Brad Walker created NETBEANS-5354:
-

 Summary: update public interface for a few users of LinkedList
 Key: NETBEANS-5354
 URL: https://issues.apache.org/jira/browse/NETBEANS-5354
 Project: NetBeans
  Issue Type: Improvement
Affects Versions: 12.2
Reporter: Brad Walker
Assignee: Brad Walker
 Fix For: Next


I've wanted to expand my knowledge about how to change the interface. So I've 
picked a simple one to change..

I've changed the interface to use List instead of LinkedList. One should use 
interfaces and not implementations in the public interface.. Changing this will 
allow me to fix the following warnings easily.

   [repeat] 
/home/bwalker/src/netbeans/enterprise/websvc.manager/src/org/netbeans/modules/websvc/manager/ui/TestWebServiceMethodDlg.java:390:
 warning: [rawtypes] found raw type: LinkedList
   [repeat] public void methodFinished(final Object inReturnedObject,final 
LinkedList inParamList) {
   [repeat]^
   [repeat]   missing type arguments for generic class LinkedList
   [repeat]   where E is a type-variable:
   [repeat] E extends Object declared in class LinkedList





--
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-2515) cleanup the build issues

2021-02-11 Thread Brad Walker (Jira)


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

Brad Walker commented on NETBEANS-2515:
---

NETBEANS-5354
 - update public interface for a few users of LinkedList

> cleanup the build issues
> 
>
> Key: NETBEANS-2515
> URL: https://issues.apache.org/jira/browse/NETBEANS-2515
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Brad Walker
>Assignee: Brad Walker
>Priority: Major
>
> The build process has a lot of errors/warnings.
> I've created this Jira to track all the issues related to cleaning up
> The first canidate is: NETBEANS-2514



--
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-5353) Do not run up-to-date compilation tasks for test runs

2021-02-11 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic updated NETBEANS-5353:
--
Description: 
When running \{{debug.single }}project action, on a test in gradle project, the 
following is executed:
{noformat}
./gradlew --configure-on-demand 
--rerun-tasks -x check test --tests com.example1.Demo22Test
{noformat}
Note the *--rerun-tasks* parameter, which will recompile classes etc, even 
though gradle thinks they're up-to-date. Naturally *something* has to be done, 
since otherwise Gradle won't even run the tests. As noted in 
[https://www.stefan-oehme.com/stop-rerunning-tests,] Gradle should be aware of 
test input changes and will decide whether to actually run the test or not.

Since this is a direct user instruction (from the IDE), we may use different 
approach: run *cleanTest* task before the *test*, which will invalidate test 
result from the build cache.

[~lkishalmi]  – what's your opinion on the above improvement ? Is it stable / 
gradle way ? It seems to work on my machine, but I lack experience with the 
build system details.

  was:
When running {{debug.single }}project action, on a test in gradle project, the 
following is executed:
{noformat}
cd /space/src/vscode/scratch/Demo22; ./gradlew --configure-on-demand 
--rerun-tasks -x check test --tests com.example1.Demo22Test
{noformat}
Note the *--rerun-tasks* parameter, which will recompile classes etc, even 
though gradle thinks they're up-to-date. Naturally *something* has to be done, 
since otherwise Gradle won't even run the tests. As noted in 
[https://www.stefan-oehme.com/stop-rerunning-tests,] Gradle should be aware of 
test input changes and will decide whether to actually run the test or not.

Since this is a direct user instruction (from the IDE), we may use different 
approach: run *cleanTest* task before the *test*, which will invalidate test 
result from the build cache.

[~lkishalmi]  – what's your opinion on the above improvement ? Is it stable / 
gradle way ? It seems to work on my machine, but I lack experience with the 
build system details.


> Do not run up-to-date compilation tasks for test runs
> -
>
> Key: NETBEANS-5353
> URL: https://issues.apache.org/jira/browse/NETBEANS-5353
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 12.2
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Major
> Fix For: 12.4
>
>
> When running \{{debug.single }}project action, on a test in gradle project, 
> the following is executed:
> {noformat}
> ./gradlew --configure-on-demand 
> --rerun-tasks -x check test --tests com.example1.Demo22Test
> {noformat}
> Note the *--rerun-tasks* parameter, which will recompile classes etc, even 
> though gradle thinks they're up-to-date. Naturally *something* has to be 
> done, since otherwise Gradle won't even run the tests. As noted in 
> [https://www.stefan-oehme.com/stop-rerunning-tests,] Gradle should be aware 
> of test input changes and will decide whether to actually run the test or not.
> Since this is a direct user instruction (from the IDE), we may use different 
> approach: run *cleanTest* task before the *test*, which will invalidate test 
> result from the build cache.
> [~lkishalmi]  – what's your opinion on the above improvement ? Is it stable / 
> gradle way ? It seems to work on my machine, but I lack experience with the 
> build system details.



--
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-5353) Do not run up-to-date compilation tasks for test runs

2021-02-11 Thread Svatopluk Dedic (Jira)
Svatopluk Dedic created NETBEANS-5353:
-

 Summary: Do not run up-to-date compilation tasks for test runs
 Key: NETBEANS-5353
 URL: https://issues.apache.org/jira/browse/NETBEANS-5353
 Project: NetBeans
  Issue Type: Improvement
  Components: projects - Gradle
Affects Versions: 12.2
Reporter: Svatopluk Dedic
Assignee: Svatopluk Dedic
 Fix For: 12.4


When running {{debug.single }}project action, on a test in gradle project, the 
following is executed:
{noformat}
cd /space/src/vscode/scratch/Demo22; ./gradlew --configure-on-demand 
--rerun-tasks -x check test --tests com.example1.Demo22Test
{noformat}
Note the *--rerun-tasks* parameter, which will recompile classes etc, even 
though gradle thinks they're up-to-date. Naturally *something* has to be done, 
since otherwise Gradle won't even run the tests. As noted in 
[https://www.stefan-oehme.com/stop-rerunning-tests,] Gradle should be aware of 
test input changes and will decide whether to actually run the test or not.

Since this is a direct user instruction (from the IDE), we may use different 
approach: run *cleanTest* task before the *test*, which will invalidate test 
result from the build cache.

[~lkishalmi]  – what's your opinion on the above improvement ? Is it stable / 
gradle way ? It seems to work on my machine, but I lack experience with the 
build system details.



--
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: Removing delay after launch Project action terminates.

2021-02-11 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 6d33c20  Removing delay after launch Project action terminates.
 new e076145  Merge pull request #2754 from 
sdedic/lsp/bugfix/after-run-delay
6d33c20 is described below

commit 6d33c2069e4e4f77e2ea08ec4a8f4982e7963f35
Author: Svata Dedic 
AuthorDate: Wed Feb 10 15:24:11 2021 +0100

Removing delay after launch Project action terminates.
---
 .../debugging/launch/NbLaunchRequestHandler.java | 20 
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchRequestHandler.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchRequestHandler.java
index bebc49f..66ab8d9 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchRequestHandler.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchRequestHandler.java
@@ -27,9 +27,6 @@ import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.CompletableFuture;
-import java.util.concurrent.ExecutionException;
-import java.util.concurrent.TimeUnit;
-import java.util.concurrent.TimeoutException;
 import java.util.function.Consumer;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
@@ -54,7 +51,6 @@ import org.openide.util.Utilities;
 public final class NbLaunchRequestHandler {
 
 private NbLaunchDelegate activeLaunchHandler;
-private final CompletableFuture waitForDebuggeeConsole = new 
CompletableFuture<>();
 
 public CompletableFuture launch(Map launchArguments, 
DebugAdapterContext context) {
 CompletableFuture resultFuture = new CompletableFuture<>();
@@ -174,14 +170,9 @@ public final class NbLaunchRequestHandler {
 }
 
 protected void handleTerminatedEvent(DebugAdapterContext context) {
-CompletableFuture.runAsync(() -> {
-try {
-waitForDebuggeeConsole.get(1, TimeUnit.SECONDS);
-} catch (InterruptedException | ExecutionException | 
TimeoutException e) {
-// do nothing.
-}
-context.getClient().terminated(new TerminatedEventArguments());
-});
+// Project Action has already closed the I/O streams, and even in 
NetBeans IDE, the output area
+// is already inactive at this point.
+context.getClient().terminated(new TerminatedEventArguments());
 }
 
 private final class OutputListener implements 
Consumer {
@@ -194,10 +185,7 @@ public final class NbLaunchRequestHandler {
 
 @Override
 public void accept(NbProcessConsole.ConsoleMessage message) {
-if (message == null) {
-// EOF
-waitForDebuggeeConsole.complete(true);
-} else {
+if (message != null) {
 OutputEventArguments outputEvent = 
convertToOutputEventArguments(message.output, message.category, context);
 context.getClient().output(outputEvent);
 }


-
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: Adding exports so that opening classfiles without sources works.

2021-02-11 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 d4cb4de  Adding exports so that opening classfiles without sources 
works.
 new 6dd33b4  Merge pull request #2752 from jlahoda/decompile-on-jdk16
d4cb4de is described below

commit d4cb4deca5657266df51d313faea9153c0af8cd7
Author: Jan Lahoda 
AuthorDate: Wed Feb 10 07:21:50 2021 +0100

Adding exports so that opening classfiles without sources works.
---
 nb/ide.launcher/netbeans.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nb/ide.launcher/netbeans.conf b/nb/ide.launcher/netbeans.conf
index e9e30e3..413b064 100644
--- a/nb/ide.launcher/netbeans.conf
+++ b/nb/ide.launcher/netbeans.conf
@@ -62,7 +62,8 @@ 
netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/@@metabuild.RawVersion@@"
 # default command line arguments.
 # (see: https://issues.apache.org/jira/browse/NETBEANS-1344)
 #
-netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m 
@@metabuild.logcli@@ -J-Djdk.gtk.version=2.2 
-J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true 
-J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true 
-J-Dsun.zip.disableMemoryMapping=true -J-Dplugin.manager.check.updates=false 
-J-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes 
-J--add-opens=java.base/java.net=ALL-UNNAMED 
-J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.bas [...]
+
+netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m 
@@metabuild.logcli@@ -J-Djdk.gtk.version=2.2 
-J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true 
-J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true 
-J-Dsun.zip.disableMemoryMapping=true -J-Dplugin.manager.check.updates=false 
-J-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes 
-J--add-opens=java.base/java.net=ALL-UNNAMED 
-J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.bas [...]
 
 # Default location of JDK:
 # (set by installer or commented out if launcher should decide)


-
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: VSNetBeans changelog update for 12.3 rel.

2021-02-11 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 1b7c405  VSNetBeans changelog update for 12.3 rel.
 new 208af43  Merge pull request #2751 from MartinBalin/vscode_changelog
1b7c405 is described below

commit 1b7c40547d00359ffe06b3cf39fcc1e19f9925d7
Author: Martin Balin 
AuthorDate: Tue Feb 9 19:39:06 2021 +0100

VSNetBeans changelog update for 12.3 rel.
---
 java/java.lsp.server/vscode/CHANGELOG.md | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/java/java.lsp.server/vscode/CHANGELOG.md 
b/java/java.lsp.server/vscode/CHANGELOG.md
index 401e676..5ef9b72 100644
--- a/java/java.lsp.server/vscode/CHANGELOG.md
+++ b/java/java.lsp.server/vscode/CHANGELOG.md
@@ -20,7 +20,17 @@
 under the License.
 
 -->
+## Version 12.3
 
+* LSP codelens for Run and Debug of main and test methods
+* NETBEANS-5319 - Always do save modified files when used through LSP.
+* Project problems and improvements in headless environment for VSNetBeans.
+  * Showing completions returned by annotation Processors in VS Code.
+  * Project problems are resolved in headless environment.
+  * Restart NBLS when an extension providing some NB cluster is 
installed/uninstalled.
+  * Enable full VSNetBeans Maven build test.
+  * Don't show reload/save dialogs in VSNetBeans
+  * Properly stop Maven execution from LSP/DAP 
 ## Version 12.2.1
 
 * Numerous refactorings for Java source code editing added


-
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-5338] Updated link to issue reportinh

2021-02-11 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 944465b  [NETBEANS-5338] Updated link to issue reportinh
 new d1278a7  Merge pull request #2738 from 
KacerCZ/netbeans-5338-update-issue-links
944465b is described below

commit 944465bdc2a56df278963ebe0ffb60d60d5f0538
Author: Tomas Prochazka 
AuthorDate: Sat Feb 6 17:32:24 2021 +0100

[NETBEANS-5338] Updated link to issue reportinh

https://issues.apache.org/jira/browse/NETBEANS-5338

Link points to same URL as menu action Help > Report Issue.
---
 nb/ide.branding/o.n.core/src/org/netbeans/core/Bundle_nb.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nb/ide.branding/o.n.core/src/org/netbeans/core/Bundle_nb.properties 
b/nb/ide.branding/o.n.core/src/org/netbeans/core/Bundle_nb.properties
index e2e2b1c..bccab0c 100644
--- a/nb/ide.branding/o.n.core/src/org/netbeans/core/Bundle_nb.properties
+++ b/nb/ide.branding/o.n.core/src/org/netbeans/core/Bundle_nb.properties
@@ -19,7 +19,7 @@
 # {1} - path to system folder
 NTF_ExceptionalException=\
 A {0} exception has occurred.\n\
-   Please report this at 
https://issues.apache.org/jira/projects/NETBEANS/issues,\n\
+   Please report this at https://netbeans.apache.org/nb/report-issue,\n\
including a copy of your messages.log file as an attachment.\n\
The messages.log file is located in your {1} folder.
 


-
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: Update the year in the NOTICE file to 2021

2021-02-11 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 0c8fcb3  Update the year in the NOTICE file to 2021
 new e5adbc1  Merge pull request #2746 from lkishalmi/NOTICE-2021
0c8fcb3 is described below

commit 0c8fcb35059ccd68b759586101666dea9158710a
Author: Laszlo Kishalmi 
AuthorDate: Sun Feb 7 18:58:18 2021 -0800

Update the year in the NOTICE file to 2021
---
 NOTICE  | 2 +-
 nbbuild/notice-stub.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/NOTICE b/NOTICE
index 8a60ef5..e09832b 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache NetBeans
-Copyright 2017-2020 The Apache Software Foundation
+Copyright 2017-2021 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/nbbuild/notice-stub.txt b/nbbuild/notice-stub.txt
index e6c1723..e0ce5df 100644
--- a/nbbuild/notice-stub.txt
+++ b/nbbuild/notice-stub.txt
@@ -1,5 +1,5 @@
 Apache NetBeans
-Copyright 2017-2020 The Apache Software Foundation
+Copyright 2017-2021 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).


-
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: Showing completions returned by annotation Processors in VS Code.

2021-02-11 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 0f36a3f  Showing completions returned by annotation Processors in VS 
Code.
 new 3a750f5  Merge pull request #2736 from jlahoda/java-lsp-annotations
0f36a3f is described below

commit 0f36a3f205e6f9e7d1df5b09b9427fdc9bf3b67c
Author: Jan Lahoda 
AuthorDate: Fri Feb 5 23:17:34 2021 +0100

Showing completions returned by annotation Processors in VS Code.
---
 .../server/protocol/TextDocumentServiceImpl.java   | 22 +--
 .../java/lsp/server/protocol/ServerTest.java   | 71 +-
 2 files changed, 87 insertions(+), 6 deletions(-)

diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
index d7ef2eb..317b499 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
@@ -24,7 +24,6 @@ import com.sun.source.tree.ClassTree;
 import com.sun.source.tree.CompilationUnitTree;
 import com.sun.source.tree.LineMap;
 import com.sun.source.tree.MethodTree;
-import com.sun.source.tree.PrimitiveTypeTree;
 import com.sun.source.tree.Scope;
 import com.sun.source.tree.Tree;
 import com.sun.source.tree.Tree.Kind;
@@ -61,14 +60,12 @@ import java.util.stream.Collectors;
 import javax.lang.model.element.Element;
 import javax.lang.model.element.ElementKind;
 import javax.lang.model.element.ExecutableElement;
-import javax.lang.model.element.Modifier;
 import javax.lang.model.element.TypeElement;
 import javax.lang.model.element.TypeParameterElement;
 import javax.lang.model.element.VariableElement;
 import javax.lang.model.type.ArrayType;
 import javax.lang.model.type.DeclaredType;
 import javax.lang.model.type.ExecutableType;
-import javax.lang.model.type.TypeKind;
 import javax.lang.model.type.TypeMirror;
 import javax.lang.model.util.Elements;
 import javax.swing.text.BadLocationException;
@@ -339,6 +336,7 @@ public class TextDocumentServiceImpl implements 
TextDocumentService, LanguageCli
 
 private static class ItemFactoryImpl implements 
JavaCompletionTask.ItemFactory {
 
+private static final int DEPRECATED = 10;
 private final LanguageClient client;
 private final String uri;
 private final int offset;
@@ -561,12 +559,26 @@ public class TextDocumentServiceImpl implements 
TextDocumentService, LanguageCli
 
 @Override
 public CompletionItem createAttributeItem(CompilationInfo info, 
ExecutableElement elem, ExecutableType type, int substitutionOffset, boolean 
isDeprecated) {
-return null; //TODO: fill
+CompletionItem item = new 
CompletionItem(elem.getSimpleName().toString());
+item.setKind(CompletionItemKind.Property);
+StringBuilder insertText = new StringBuilder();
+insertText.append(elem.getSimpleName());
+insertText.append("=");
+item.setInsertText(insertText.toString());
+item.setInsertTextFormat(InsertTextFormat.PlainText);
+int priority = isDeprecated ? 100 + DEPRECATED : 100;
+item.setSortText(String.format("%4d%s", priority, 
elem.getSimpleName().toString()));
+setCompletionData(item, elem);
+return item;
 }
 
 @Override
 public CompletionItem createAttributeValueItem(CompilationInfo info, 
String value, String documentation, TypeElement element, int 
substitutionOffset, ReferencesCount referencesCount) {
-return null; //TODO: fill
+CompletionItem item = new CompletionItem(value);
+item.setKind(CompletionItemKind.Text);
+item.setSortText(value);
+item.setDocumentation(documentation);
+return item;
 }
 
 private static final Object KEY_IMPORT_TEXT_EDITS = new Object();
diff --git 
a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
 
b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
index 14f51d7..5acde78 100644
--- 
a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
+++ 
b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
@@ -35,6 +35,7 @@ import java.nio.file.Files;
 import java.nio.file.Path;
 import java.util.ArrayList;
 import java.util.Arrays;
+import java.util.Collections;
 import java.util.EnumSet;
 import java.util.HashMap;
 import java.util.HashSet;
@@ -48,6 +49,7 @@ import java.util.concurrent.Semaphore;
 import 

[netbeans] branch delivery updated: Correct the breakpoint functionality in cpplite debugger.

2021-02-11 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 af63abb  Correct the breakpoint functionality in cpplite debugger.
 new ac5046d  Merge pull request #2726 from 
entlicher/CPPLiteDebugBreakpoints
af63abb is described below

commit af63abbe04d1e02e70807302552ce2ce7375e9bc
Author: Martin Entlicher 
AuthorDate: Tue Feb 2 11:24:52 2021 +0100

Correct the breakpoint functionality in cpplite debugger.
---
 .../org.netbeans.spi.viewmodel.NodeModel   |   1 -
 .../org.netbeans.spi.debugger.ActionsProvider  |   2 -
 ...tbeans.api.debugger.LazyDebuggerManagerListener |   2 -
 .../org.netbeans.api.debugger.Properties$Reader|   1 -
 .../modules/cpplite/debugger/Bundle.properties |  27 ---
 .../cpplite/debugger/CPPLiteActionsProvider.java   | 144 +++
 .../modules/cpplite/debugger/CPPLiteDebugger.java  | 263 ++--
 .../modules/cpplite/debugger/CPPThread.java|   3 +
 .../cpplite/debugger/DebuggerAnnotation.java   |  37 ++-
 .../debugger/DebuggerBreakpointAnnotation.java | 115 +++--
 .../breakpoints/BreakpointAnnotationListener.java  | 111 -
 .../breakpoints/BreakpointAnnotationProvider.java  | 269 +
 .../debugger/breakpoints/BreakpointModel.java  |  21 +-
 .../debugger/breakpoints/BreakpointsReader.java|  40 +--
 .../debugger/breakpoints/CPPLiteBreakpoint.java|  74 --
 .../CPPLiteBreakpointActionProvider.java   |  28 +--
 .../debugger/breakpoints/LoadBreakpoints.java  |  41 
 .../debugger/breakpoints/PersistenceManager.java   |   2 +
 .../debuggingview/DebuggingViewSupportImpl.java|   2 +-
 .../cpplite/debugger/AbstractDebugTest.java| 111 +
 .../modules/cpplite/debugger/BreakpointsTest.java  | 147 +++
 .../modules/cpplite/debugger/StepTest.java |  69 +-
 .../src/org/netbeans/api/debugger/Breakpoint.java  |   2 +-
 23 files changed, 1040 insertions(+), 472 deletions(-)

diff --git 
a/cpplite/cpplite.debugger/src/META-INF/debugger/BreakpointsView/org.netbeans.spi.viewmodel.NodeModel
 
b/cpplite/cpplite.debugger/src/META-INF/debugger/BreakpointsView/org.netbeans.spi.viewmodel.NodeModel
deleted file mode 100644
index b2ec1a2..000
--- 
a/cpplite/cpplite.debugger/src/META-INF/debugger/BreakpointsView/org.netbeans.spi.viewmodel.NodeModel
+++ /dev/null
@@ -1 +0,0 @@
-org.netbeans.modules.cpplite.debugger.breakpoints.BreakpointModel
\ No newline at end of file
diff --git 
a/cpplite/cpplite.debugger/src/META-INF/debugger/CPPLiteSession/org.netbeans.spi.debugger.ActionsProvider
 
b/cpplite/cpplite.debugger/src/META-INF/debugger/CPPLiteSession/org.netbeans.spi.debugger.ActionsProvider
deleted file mode 100644
index 948c17a..000
--- 
a/cpplite/cpplite.debugger/src/META-INF/debugger/CPPLiteSession/org.netbeans.spi.debugger.ActionsProvider
+++ /dev/null
@@ -1,2 +0,0 @@
-org.netbeans.modules.cpplite.debugger.CPPLiteDebugger
-org.netbeans.modules.cpplite.debugger.breakpoints.CPPLiteBreakpointActionProvider
\ No newline at end of file
diff --git 
a/cpplite/cpplite.debugger/src/META-INF/debugger/org.netbeans.api.debugger.LazyDebuggerManagerListener
 
b/cpplite/cpplite.debugger/src/META-INF/debugger/org.netbeans.api.debugger.LazyDebuggerManagerListener
deleted file mode 100644
index b7903e7..000
--- 
a/cpplite/cpplite.debugger/src/META-INF/debugger/org.netbeans.api.debugger.LazyDebuggerManagerListener
+++ /dev/null
@@ -1,2 +0,0 @@
-org.netbeans.modules.cpplite.debugger.breakpoints.BreakpointAnnotationListener
-org.netbeans.modules.cpplite.debugger.breakpoints.PersistenceManager
\ No newline at end of file
diff --git 
a/cpplite/cpplite.debugger/src/META-INF/debugger/org.netbeans.api.debugger.Properties$Reader
 
b/cpplite/cpplite.debugger/src/META-INF/debugger/org.netbeans.api.debugger.Properties$Reader
deleted file mode 100644
index 4ce300b..000
--- 
a/cpplite/cpplite.debugger/src/META-INF/debugger/org.netbeans.api.debugger.Properties$Reader
+++ /dev/null
@@ -1 +0,0 @@
-org.netbeans.modules.cpplite.debugger.breakpoints.BreakpointsReader
\ No newline at end of file
diff --git 
a/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/Bundle.properties
 
b/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/Bundle.properties
index fa230e4..5ccc602 100644
--- 
a/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/Bundle.properties
+++ 
b/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/Bundle.properties
@@ -18,30 +18,3 @@
 OpenIDE-Module-Display-Category=C/C++
 OpenIDE-Module-Name=CPPLite Debugger
 
-# RunTargetsAction
-LBL_run_other_targets=Other Targets
-LBL_run_advanced=Advanced...
-TITLE_run_advanced=Debug Ant Target
-LBL_run_advanced_run=Debug
-LBL_run_advanced_cancel=Cancel
-
-# 

[netbeans] branch delivery updated: Always do save modified files when used through LSP. We get all the changes through the protocol.

2021-02-11 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 8cc918b  Always do save modified files when used through LSP. We get 
all the changes through the protocol.
 new 76317c1  Merge pull request #2730 from 
entlicher/vscodeext_SaveModifiedFiles
8cc918b is described below

commit 8cc918b9fc9768fb77c04e9e07a1459cfd83d4d1
Author: Martin Entlicher 
AuthorDate: Thu Feb 4 15:00:31 2021 +0100

Always do save modified files when used through LSP. We get all the changes 
through the protocol.
---
 .../org/netbeans/modules/openide/loaders/Bundle.properties  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/java/java.lsp.server/nbcode/branding/modules/org-openide-loaders.jar/org/netbeans/modules/openide/loaders/Bundle.properties
 
b/java/java.lsp.server/nbcode/branding/modules/org-openide-loaders.jar/org/netbeans/modules/openide/loaders/Bundle.properties
index 5a168f8..caf4c2c 100644
--- 
a/java/java.lsp.server/nbcode/branding/modules/org-openide-loaders.jar/org/netbeans/modules/openide/loaders/Bundle.properties
+++ 
b/java/java.lsp.server/nbcode/branding/modules/org-openide-loaders.jar/org/netbeans/modules/openide/loaders/Bundle.properties
@@ -16,6 +16,6 @@
 # under the License.
 
 # yes/no/ask
-ASK_OnSaving=no
+ASK_OnSaving=yes
 # yes/no/ask
 ASK_OnClosing=no


-
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 (f6dfdf3 -> 09d83f0)

2021-02-11 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

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


from f6dfdf3  [NETBEANS-419] Fixed grammar in About dialog
 new 664e7ec  Assure that the TerminatedEvent is sent only after the 
debuggee finishes.
 new cf30670  Change the Run code lens action to start through debugging 
with noDebug=true.
 new cb0f5db  Extension debug types corrected.
 new 09d83f0  Merge pull request #2725 from 
entlicher/vscodeext_CodelensOutputFixes

The 4968 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:
 .../lsp/server/debugging/NbSourceProvider.java | 13 +++--
 .../java/lsp/server/debugging/NbThreads.java   | 10 
 .../debugging/launch/NbLaunchRequestHandler.java   | 21 ++-
 .../launch/NbLaunchWithDebuggingDelegate.java  | 13 +
 .../modules/java/lsp/server/protocol/Server.java   |  5 +-
 .../server/protocol/TextDocumentServiceImpl.java   |  4 +-
 .../lsp/server/protocol/WorkspaceServiceImpl.java  | 67 --
 java/java.lsp.server/vscode/package-lock.json  |  6 +-
 java/java.lsp.server/vscode/package.json   |  4 +-
 java/java.lsp.server/vscode/src/extension.ts   | 15 -
 10 files changed, 59 insertions(+), 99 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-5115) "No tests executed" on maven project

2021-02-11 Thread Francesco Illuminati (Jira)


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

Francesco Illuminati commented on NETBEANS-5115:


I have also tested it with JDK 1.8 on nb 12.3-beta2 without any luck.

> "No tests executed" on maven project
> 
>
> Key: NETBEANS-5115
> URL: https://issues.apache.org/jira/browse/NETBEANS-5115
> Project: NetBeans
>  Issue Type: Bug
>  Components: utilities - Test Runner
>Affects Versions: 12.2, 12.3
> Environment: Linux version 5.4.0-53-generic (buildd@lcy01-amd64-007) 
> (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #59-Ubuntu SMP Wed Oct 21 
> 09:38:44 UTC 2020
> openjdk 15-ea 2020-09-15
> OpenJDK Runtime Environment (build 15-ea+32-Ubuntu-220.04)
> OpenJDK 64-Bit Server VM (build 15-ea+32-Ubuntu-220.04, mixed mode, sharing)
>Reporter: Francesco Illuminati
>Priority: Major
> Attachments: nb12-test-error-2021-02-06_14.21.44.mp4
>
>
> On a maven java project executing project test or testing a single file 
> always returns "No tests executed" even if the maven goal is run (as can be 
> checked in the output window).
> This was tested with Junit Jupiter 5.6.0 and 5.7.0 and with 
> maven-surefire-plugin 3.0.0-M(1-5) and 2.22.2. 
>  It worked fine on NB 12.1 but only after the maven-surefire-plugin 3.0.0-M4 
> is manually added to pom.xml (would be nice if it was added automatically).



--
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-5115) "No tests executed" on maven project

2021-02-11 Thread Francesco Illuminati (Jira)


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

Francesco Illuminati commented on NETBEANS-5115:


I have tested with JDK 15 on nb 12.3-beta2 and it doesn't work

> "No tests executed" on maven project
> 
>
> Key: NETBEANS-5115
> URL: https://issues.apache.org/jira/browse/NETBEANS-5115
> Project: NetBeans
>  Issue Type: Bug
>  Components: utilities - Test Runner
>Affects Versions: 12.2, 12.3
> Environment: Linux version 5.4.0-53-generic (buildd@lcy01-amd64-007) 
> (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #59-Ubuntu SMP Wed Oct 21 
> 09:38:44 UTC 2020
> openjdk 15-ea 2020-09-15
> OpenJDK Runtime Environment (build 15-ea+32-Ubuntu-220.04)
> OpenJDK 64-Bit Server VM (build 15-ea+32-Ubuntu-220.04, mixed mode, sharing)
>Reporter: Francesco Illuminati
>Priority: Major
> Attachments: nb12-test-error-2021-02-06_14.21.44.mp4
>
>
> On a maven java project executing project test or testing a single file 
> always returns "No tests executed" even if the maven goal is run (as can be 
> checked in the output window).
> This was tested with Junit Jupiter 5.6.0 and 5.7.0 and with 
> maven-surefire-plugin 3.0.0-M(1-5) and 2.22.2. 
>  It worked fine on NB 12.1 but only after the maven-surefire-plugin 3.0.0-M4 
> is manually added to pom.xml (would be nice if it was added automatically).



--
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-5115) "No tests executed" on maven project

2021-02-11 Thread Francesco Illuminati (Jira)


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

Francesco Illuminati updated NETBEANS-5115:
---
Affects Version/s: 12.3
  Description: 
On a maven java project executing project test or testing a single file always 
returns "No tests executed" even if the maven goal is run (as can be checked in 
the output window).

This was tested with Junit Jupiter 5.6.0 and 5.7.0 and with 
maven-surefire-plugin 3.0.0-M(1-5) and 2.22.2. 
 It worked fine on NB 12.1 but only after the maven-surefire-plugin 3.0.0-M4 is 
manually added to pom.xml (would be nice if it was added automatically).

  was:
On a maven java project executing project test or testing a single file always 
returns "No tests executed" even if the maven goal is run (as can be checked in 
the output window).

This was tested with Junit Jupiter 5.6.0 and 5.7.0 and with 
maven-surefire-plugin 3.0.0-M(1-5) and 2.22.2. 
It worked fine on NB 12.1 but only after the maven-surefire-plugin 3.0.0-M4 is 
manually added to pom.xml (would be nice if it was added automatically).

Unfortunately this bug severely impacts productivity: I'm forced back to NB 
12.1.

Aside from that the maven-surefire-plugin 3.0.0-M5 doesn't recognize the test 
resource folder using the default configuration (I have tried to set the 
resource folder manually in the pom.xml file without any luck).


> "No tests executed" on maven project
> 
>
> Key: NETBEANS-5115
> URL: https://issues.apache.org/jira/browse/NETBEANS-5115
> Project: NetBeans
>  Issue Type: Bug
>  Components: utilities - Test Runner
>Affects Versions: 12.2, 12.3
> Environment: Linux version 5.4.0-53-generic (buildd@lcy01-amd64-007) 
> (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #59-Ubuntu SMP Wed Oct 21 
> 09:38:44 UTC 2020
> openjdk 15-ea 2020-09-15
> OpenJDK Runtime Environment (build 15-ea+32-Ubuntu-220.04)
> OpenJDK 64-Bit Server VM (build 15-ea+32-Ubuntu-220.04, mixed mode, sharing)
>Reporter: Francesco Illuminati
>Priority: Major
> Attachments: nb12-test-error-2021-02-06_14.21.44.mp4
>
>
> On a maven java project executing project test or testing a single file 
> always returns "No tests executed" even if the maven goal is run (as can be 
> checked in the output window).
> This was tested with Junit Jupiter 5.6.0 and 5.7.0 and with 
> maven-surefire-plugin 3.0.0-M(1-5) and 2.22.2. 
>  It worked fine on NB 12.1 but only after the maven-surefire-plugin 3.0.0-M4 
> is manually added to pom.xml (would be nice if it was added automatically).



--
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-3092) Sync results window always shows 0

2021-02-11 Thread Riksoft (Jira)


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

Riksoft updated NETBEANS-3092:
--
Affects Version/s: 12.0

> Sync results window always shows 0
> --
>
> Key: NETBEANS-3092
> URL: https://issues.apache.org/jira/browse/NETBEANS-3092
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Project
>Affects Versions: 12.0
> Environment: Both client and server Linux. The ftp connection is SFTP.
>Reporter: Riksoft
>Priority: Minor
> Attachments: Screenshot at 2019-09-12 16-58-40.png
>
>
> Steps to reproduce the issue:
>  * Create a PHP web project and add one or more files
>  * Right click on the main node of the project anche click Properties
>  * Click "Run configuration"
>  * Add an ftp connection to any available server and set "Upload files" on 
> "Manually"
>  * Click OK and we are back on the main window of NB
>  * Right click on a file or dir
>  * Synchronize
>  * The sync window opens
>  * Start the sync process. This will upload 1 or more files
>  * At the end, a small window pops up with the results but it won't show a 
> proper result, only zeroes as per screenshot



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