[jira] [Comment Edited] (NETBEANS-6062) Static block not executed in Java Ant project

2021-09-24 Thread Benjamin Asbach (Jira)


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

Benjamin Asbach edited comment on NETBEANS-6062 at 9/25/21, 4:45 AM:
-

[~andrewjames] I modified your ticket and added code tags.

I tried to reproduce your problem with NetBeans 12.5 on OpenJDK 16 (I attached 
my test project). Any chance you tried NetBeans 12.5 to check if this is still 
a problem.

Are you sure when you execute the jar manually you're using the same JDK while 
executing it inside NetBeans?


was (Author: asbachb):
[~andrewjames] I modified your ticket and added code tags.

I tried to reproduce your problem with NetBeans 12.5 on OpenJDK 16. Any chance 
you tried NetBeans 12.5 to check if this is still a problem.

Are you sure when you execute the jar manually you're using the same JDK while 
executing it inside NetBeans?

> Static block not executed in Java Ant project
> -
>
> Key: NETBEANS-6062
> URL: https://issues.apache.org/jira/browse/NETBEANS-6062
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
> Environment: NetBeans 12.4
> Java 15.0.2 (Adopt Open JDK)
> Windows 10
>Reporter: Andrew James
>Priority: Major
> Attachments: NETBEANS-6062.zip
>
>
> A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute 
> the static code block, when the project is executed from within the IDE.
> Steps to reproduce:
> File > New Project > Java with Ant
> Create two classes:
> -(Whenever I try to format the below code, it looks completely wrong in the 
> ticket, so it's just presented as plain text - sorry I do not know how this 
> system handles code snippets).-
> *1) Main.java*
> {code:java}
> public class Main {
>  public static void main(String args[]) {
>  System.out.println(Test.i);
>  }
> }
> {code}
> *2) Test.java*
> {code:java}
> class Test {
>  static int i;
>  static {
>  i = 10;
>  }
> }
> {code}
>  
> *Actual results:*
> When the project is run from within the IDE, the output is "0". The static 
> block in Test is not executed.
> *Expected results:*
> The expected output is "10". The static block in Test is executed.
> *Note also:*
> The JAR built by the project runs correctly, when executed from the command 
> line, outside of the IDE.
> The same code shown above also runs as expected in the IDE when built using a 
> Java Maven project, instead of a Java Ant project.
> This behavior does not appear when executing the same code, using NetBeans 
> 12.0 and Java 11.



--
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-6062) Static block not executed in Java Ant project

2021-09-24 Thread Benjamin Asbach (Jira)


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

Benjamin Asbach updated NETBEANS-6062:
--
Attachment: NETBEANS-6062.zip

> Static block not executed in Java Ant project
> -
>
> Key: NETBEANS-6062
> URL: https://issues.apache.org/jira/browse/NETBEANS-6062
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
> Environment: NetBeans 12.4
> Java 15.0.2 (Adopt Open JDK)
> Windows 10
>Reporter: Andrew James
>Priority: Major
> Attachments: NETBEANS-6062.zip
>
>
> A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute 
> the static code block, when the project is executed from within the IDE.
> Steps to reproduce:
> File > New Project > Java with Ant
> Create two classes:
> -(Whenever I try to format the below code, it looks completely wrong in the 
> ticket, so it's just presented as plain text - sorry I do not know how this 
> system handles code snippets).-
> *1) Main.java*
> {code:java}
> public class Main {
>  public static void main(String args[]) {
>  System.out.println(Test.i);
>  }
> }
> {code}
> *2) Test.java*
> {code:java}
> class Test {
>  static int i;
>  static {
>  i = 10;
>  }
> }
> {code}
>  
> *Actual results:*
> When the project is run from within the IDE, the output is "0". The static 
> block in Test is not executed.
> *Expected results:*
> The expected output is "10". The static block in Test is executed.
> *Note also:*
> The JAR built by the project runs correctly, when executed from the command 
> line, outside of the IDE.
> The same code shown above also runs as expected in the IDE when built using a 
> Java Maven project, instead of a Java Ant project.
> This behavior does not appear when executing the same code, using NetBeans 
> 12.0 and Java 11.



--
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-6062) Static block not executed in Java Ant project

2021-09-24 Thread Benjamin Asbach (Jira)


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

Benjamin Asbach commented on NETBEANS-6062:
---

[~andrewjames] I modified your ticket and added code tags.

I tried to reproduce your problem with NetBeans 12.5 on OpenJDK 16. Any chance 
you tried NetBeans 12.5 to check if this is still a problem.

Are you sure when you execute the jar manually you're using the same JDK while 
executing it inside NetBeans?

> Static block not executed in Java Ant project
> -
>
> Key: NETBEANS-6062
> URL: https://issues.apache.org/jira/browse/NETBEANS-6062
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
> Environment: NetBeans 12.4
> Java 15.0.2 (Adopt Open JDK)
> Windows 10
>Reporter: Andrew James
>Priority: Major
>
> A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute 
> the static code block, when the project is executed from within the IDE.
> Steps to reproduce:
> File > New Project > Java with Ant
> Create two classes:
> -(Whenever I try to format the below code, it looks completely wrong in the 
> ticket, so it's just presented as plain text - sorry I do not know how this 
> system handles code snippets).-
> *1) Main.java*
> {code:java}
> public class Main {
>  public static void main(String args[]) {
>  System.out.println(Test.i);
>  }
> }
> {code}
> *2) Test.java*
> {code:java}
> class Test {
>  static int i;
>  static {
>  i = 10;
>  }
> }
> {code}
>  
> *Actual results:*
> When the project is run from within the IDE, the output is "0". The static 
> block in Test is not executed.
> *Expected results:*
> The expected output is "10". The static block in Test is executed.
> *Note also:*
> The JAR built by the project runs correctly, when executed from the command 
> line, outside of the IDE.
> The same code shown above also runs as expected in the IDE when built using a 
> Java Maven project, instead of a Java Ant project.
> This behavior does not appear when executing the same code, using NetBeans 
> 12.0 and Java 11.



--
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-6062) Static block not executed in Java Ant project

2021-09-24 Thread Benjamin Asbach (Jira)


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

Benjamin Asbach updated NETBEANS-6062:
--
Description: 
A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute the 
static code block, when the project is executed from within the IDE.

Steps to reproduce:

File > New Project > Java with Ant

Create two classes:


-(Whenever I try to format the below code, it looks completely wrong in the 
ticket, so it's just presented as plain text - sorry I do not know how this 
system handles code snippets).-

*1) Main.java*
{code:java}
public class Main {
 public static void main(String args[]) {
 System.out.println(Test.i);
 }
}
{code}

*2) Test.java*

{code:java}
class Test {
 static int i;
 static {
 i = 10;
 }
}
{code}

 

*Actual results:*

When the project is run from within the IDE, the output is "0". The static 
block in Test is not executed.

*Expected results:*

The expected output is "10". The static block in Test is executed.

*Note also:*

The JAR built by the project runs correctly, when executed from the command 
line, outside of the IDE.

The same code shown above also runs as expected in the IDE when built using a 
Java Maven project, instead of a Java Ant project.

This behavior does not appear when executing the same code, using NetBeans 12.0 
and Java 11.

  was:
A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute the 
static code block, when the project is executed from within the IDE.

Steps to reproduce:

File > New Project > Java with Ant

Create two classes:

 

(Whenever I try to format the below code, it looks completely wrong in the 
ticket, so it's just presented as plain text - sorry I do not know how this 
system handles code snippets).

 

*1) Main.java*



public class Main {
 public static void main(String args[]) {
 System.out.println(Test.i);
 }
}

 

*2) Test.java*

 

class Test {
 static int i;
 static {
 i = 10;
 }
}

 

*Actual results:*

When the project is run from within the IDE, the output is "0". The static 
block in Test is not executed.

*Expected results:*

The expected output is "10". The static block in Test is executed.

*Note also:*

The JAR built by the project runs correctly, when executed from the command 
line, outside of the IDE.

The same code shown above also runs as expected in the IDE when built using a 
Java Maven project, instead of a Java Ant project.

This behavior does not appear when executing the same code, using NetBeans 12.0 
and Java 11.


> Static block not executed in Java Ant project
> -
>
> Key: NETBEANS-6062
> URL: https://issues.apache.org/jira/browse/NETBEANS-6062
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
> Environment: NetBeans 12.4
> Java 15.0.2 (Adopt Open JDK)
> Windows 10
>Reporter: Andrew James
>Priority: Major
>
> A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute 
> the static code block, when the project is executed from within the IDE.
> Steps to reproduce:
> File > New Project > Java with Ant
> Create two classes:
> -(Whenever I try to format the below code, it looks completely wrong in the 
> ticket, so it's just presented as plain text - sorry I do not know how this 
> system handles code snippets).-
> *1) Main.java*
> {code:java}
> public class Main {
>  public static void main(String args[]) {
>  System.out.println(Test.i);
>  }
> }
> {code}
> *2) Test.java*
> {code:java}
> class Test {
>  static int i;
>  static {
>  i = 10;
>  }
> }
> {code}
>  
> *Actual results:*
> When the project is run from within the IDE, the output is "0". The static 
> block in Test is not executed.
> *Expected results:*
> The expected output is "10". The static block in Test is executed.
> *Note also:*
> The JAR built by the project runs correctly, when executed from the command 
> line, outside of the IDE.
> The same code shown above also runs as expected in the IDE when built using a 
> Java Maven project, instead of a Java Ant project.
> This behavior does not appear when executing the same code, using NetBeans 
> 12.0 and Java 11.



--
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-6062) Static block not executed in Java Ant project

2021-09-24 Thread Andrew James (Jira)


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

Andrew James updated NETBEANS-6062:
---
Description: 
A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute the 
static code block, when the project is executed from within the IDE.

Steps to reproduce:

File > New Project > Java with Ant

Create two classes:

 

(Whenever I try to format the below code, it looks completely wrong in the 
ticket, so it's just presented as plain text - sorry I do not know how this 
system handles code snippets).

 

*1) Main.java*



public class Main {
 public static void main(String args[]) {
 System.out.println(Test.i);
 }
}

 

*2) Test.java*

 

class Test {
 static int i;
 static {
 i = 10;
 }
}

 

*Actual results:*

When the project is run from within the IDE, the output is "0". The static 
block in Test is not executed.

*Expected results:*

The expected output is "10". The static block in Test is executed.

*Note also:*

The JAR built by the project runs correctly, when executed from the command 
line, outside of the IDE.

The same code shown above also runs as expected in the IDE when built using a 
Java Maven project, instead of a Java Ant project.

This behavior does not appear when executing the same code, using NetBeans 12.0 
and Java 11.

  was:
A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute the 
static code block, when the project is executed from within the IDE.

Steps to reproduce:

File > New Project > Java with Ant

Create two classes:

*1) Main.java*
{{public class Main {}}
{{ public static void main(String args[]) {}}
{{ System.out.println(Test.i);}}
{{ }}}
{{}}}

*2) Test.java*

{{class Test {}}
{{    static int i; }}
{{    static {}}
{{    i = 11;}}
{{    }}}
{{}}}

*Actual results:*

When the project is run from within the IDE, the output is "0". The static 
block in Test is not executed.

*Expected results:*

The expected output is "10". The static block in Test is executed.

*Note also:*

The JAR built by the project runs correctly, when executed from the command 
line, outside of the IDE.

The same code shown above also runs as expected in the IDE when built using a 
Java Maven project, instead of a Java Ant project.

This behavior does not appear when executing the same code, using NetBeans 12.0 
and Java 11.


> Static block not executed in Java Ant project
> -
>
> Key: NETBEANS-6062
> URL: https://issues.apache.org/jira/browse/NETBEANS-6062
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
> Environment: NetBeans 12.4
> Java 15.0.2 (Adopt Open JDK)
> Windows 10
>Reporter: Andrew James
>Priority: Major
>
> A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute 
> the static code block, when the project is executed from within the IDE.
> Steps to reproduce:
> File > New Project > Java with Ant
> Create two classes:
>  
> (Whenever I try to format the below code, it looks completely wrong in the 
> ticket, so it's just presented as plain text - sorry I do not know how this 
> system handles code snippets).
>  
> *1) Main.java*
> public class Main {
>  public static void main(String args[]) {
>  System.out.println(Test.i);
>  }
> }
>  
> *2) Test.java*
>  
> class Test {
>  static int i;
>  static {
>  i = 10;
>  }
> }
>  
> *Actual results:*
> When the project is run from within the IDE, the output is "0". The static 
> block in Test is not executed.
> *Expected results:*
> The expected output is "10". The static block in Test is executed.
> *Note also:*
> The JAR built by the project runs correctly, when executed from the command 
> line, outside of the IDE.
> The same code shown above also runs as expected in the IDE when built using a 
> Java Maven project, instead of a Java Ant project.
> This behavior does not appear when executing the same code, using NetBeans 
> 12.0 and Java 11.



--
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-6062) Static block not executed in Java Ant project

2021-09-24 Thread Andrew James (Jira)


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

Andrew James updated NETBEANS-6062:
---
Description: 
A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute the 
static code block, when the project is executed from within the IDE.

Steps to reproduce:

File > New Project > Java with Ant

Create two classes:

*1) Main.java*
{{public class Main {}}
{{ public static void main(String args[]) {}}
{{ System.out.println(Test.i);}}
{{ }}}
{{}}}

*2) Test.java*

{{class Test {}}
{{    static int i; }}
{{    static {}}
{{    i = 11;}}
{{    }}}
{{}}}

*Actual results:*

When the project is run from within the IDE, the output is "0". The static 
block in Test is not executed.

*Expected results:*

The expected output is "10". The static block in Test is executed.

*Note also:*

The JAR built by the project runs correctly, when executed from the command 
line, outside of the IDE.

The same code shown above also runs as expected in the IDE when built using a 
Java Maven project, instead of a Java Ant project.

This behavior does not appear when executing the same code, using NetBeans 12.0 
and Java 11.

  was:
A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute the 
static code block, when the project is executed from within the IDE.

Steps to reproduce:

File > New Project > Java with Ant

Create two classes:

*1) Main.java*
{{ public class Main {}}
{{    public static void main(String args[]) { }}{{  
System.out.println(Test.i); }}{{    }}}{{}}}

*2) Test.java*

{{class Test {}}
{{ static int i;}}
{{ static {}}
{{ i = 10;}}
{{ }}}
{{}}}

*Actual results:*

When the project is run from within the IDE, the output is "0". The static 
block in Test is not executed.

*Expected results:*

The expected output is "10". The static block in Test is executed.

*Note also:*

The JAR built by the project runs correctly, when executed from the command 
line, outside of the IDE.

The same code shown above also runs as expected in the IDE when built using a 
Java Maven project, instead of a Java Ant project.

This behavior does not appear when executing the same code, using NetBeans 12.0 
and Java 11.


> Static block not executed in Java Ant project
> -
>
> Key: NETBEANS-6062
> URL: https://issues.apache.org/jira/browse/NETBEANS-6062
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
> Environment: NetBeans 12.4
> Java 15.0.2 (Adopt Open JDK)
> Windows 10
>Reporter: Andrew James
>Priority: Major
>
> A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute 
> the static code block, when the project is executed from within the IDE.
> Steps to reproduce:
> File > New Project > Java with Ant
> Create two classes:
> *1) Main.java*
> {{public class Main {}}
> {{ public static void main(String args[]) {}}
> {{ System.out.println(Test.i);}}
> {{ }}}
> {{}}}
> *2) Test.java*
> {{class Test {}}
> {{    static int i; }}
> {{    static {}}
> {{    i = 11;}}
> {{    }}}
> {{}}}
> *Actual results:*
> When the project is run from within the IDE, the output is "0". The static 
> block in Test is not executed.
> *Expected results:*
> The expected output is "10". The static block in Test is executed.
> *Note also:*
> The JAR built by the project runs correctly, when executed from the command 
> line, outside of the IDE.
> The same code shown above also runs as expected in the IDE when built using a 
> Java Maven project, instead of a Java Ant project.
> This behavior does not appear when executing the same code, using NetBeans 
> 12.0 and Java 11.



--
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-6062) Static block not executed in Java Ant project

2021-09-24 Thread Andrew James (Jira)
Andrew James created NETBEANS-6062:
--

 Summary: Static block not executed in Java Ant project
 Key: NETBEANS-6062
 URL: https://issues.apache.org/jira/browse/NETBEANS-6062
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.4
 Environment: NetBeans 12.4

Java 15.0.2 (Adopt Open JDK)

Windows 10
Reporter: Andrew James


A simple Java Ant project in NetBeans 12.4 (using Java 15) does not execute the 
static code block, when the project is executed from within the IDE.

Steps to reproduce:

File > New Project > Java with Ant

Create two classes:

*1) Main.java*
{{ public class Main {}}
{{    public static void main(String args[]) { }}{{  
System.out.println(Test.i); }}{{    }}}{{}}}

*2) Test.java*

{{class Test {}}
{{ static int i;}}
{{ static {}}
{{ i = 10;}}
{{ }}}
{{}}}

*Actual results:*

When the project is run from within the IDE, the output is "0". The static 
block in Test is not executed.

*Expected results:*

The expected output is "10". The static block in Test is executed.

*Note also:*

The JAR built by the project runs correctly, when executed from the command 
line, outside of the IDE.

The same code shown above also runs as expected in the IDE when built using a 
Java Maven project, instead of a Java Ant project.

This behavior does not appear when executing the same code, using NetBeans 12.0 
and Java 11.



--
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-5892) Java Maven Web Project not created properly

2021-09-24 Thread ASF GitHub Bot (Jira)


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

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

> Java Maven Web Project not created properly
> ---
>
> Key: NETBEANS-5892
> URL: https://issues.apache.org/jira/browse/NETBEANS-5892
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
> Environment: *NetBeans* version 
> 12.4
> *JDK* version 
> zulu16.32.15 (default), JDK version 8 and 11 installed as well
> *OS* 
> Windows 10 pro, Version 20H2, Build 19042.1110
>Reporter: Thomas Schuster
>Assignee: Josh Juneau
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.6
>
> Attachments: 1_used_create_dialog.png, 2_bundled_maven.png, 
> 3_pom.png, 4_index_page_missing.png, errorlog1.txt, errorlog2.txt, 
> mavenproject2.zip, mavenproject3.zip
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> *Short description*
> Using the create Java Maven Web project results in a project that cannot be 
> build for nor run on a Jakarta EE 8 server. I provided the created result 
> (mavenproject2.zip) and an altered project which can be built and deployed 
> (mavenproject3.zip) - I would expect the latter to be generated.
> *Exact steps*
>  # Create new project (Java with Maven, Web Application)
>  # Execute Clean & Build on this project
>  # Build will fail because of default maven-war plugin (Version 2.2) of 
> bundled maven. version. (see errorlog1.txt)
>  # Now execute Clean & Build again with success
>  # Execute Run.
>  # Deployment will fail because of unsupported Java version. Generator 
> creates a project with compiler set to Java 11. (see errorlog2.txt)
>  # Reset compiler version to Java 8.
>  # Now execute Clean & Build again with success.
>  # Execute Run, project is successfully deployed.
>  # Welcome page is triggered but not found (not created in fact).
> *Actual results*
>  Web project that includes microprofile configuration and cannot be build and 
> deployed directly from generated sources. Java compiler level is set to be 
> 11, there are some configuration options based on IBM (Openliberty I believe) 
> and there are microprofile configuration options being used in a sample Jax 
> RS service.
> Minor: The pom.xml is not indented properly.
> *Expected results* 
>  Web project that is Jakarta EE 8 compliant and that can be build and run on 
> a Jakarta EE Server (in my case: Payara Server 5.201.4).
> Also, in my opinion the project should deliver a welcome page and be minimal 
> in terms of dependencies and contents (that means also removing microprofile 
> configuration).



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

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

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



[jira] [Created] (NETBEANS-6061) Javascript Class Private Method show up as error

2021-09-24 Thread Massimiliano Cuttini (Jira)
Massimiliano Cuttini created NETBEANS-6061:
--

 Summary: Javascript Class Private Method show up as error
 Key: NETBEANS-6061
 URL: https://issues.apache.org/jira/browse/NETBEANS-6061
 Project: NetBeans
  Issue Type: Bug
  Components: javascript - Editor
Affects Versions: 12.5
Reporter: Massimiliano Cuttini


Netbeans is not able to understand Private Class Method and Field.
Private Class & Attributes start with hash char "#".

Youn can check all the info here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields



--
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-6060) NetBeans Java EE Project (with Ant) doest work on clean->deploy

2021-09-24 Thread Dyego S Carmo (Jira)
Dyego S Carmo created NETBEANS-6060:
---

 Summary: NetBeans Java EE Project (with Ant) doest work on 
clean->deploy
 Key: NETBEANS-6060
 URL: https://issues.apache.org/jira/browse/NETBEANS-6060
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Ant Project
Affects Versions: 12.4, 12.5
 Environment: Windows 10 Oracle JDK 1.8, 16 and 18
Reporter: Dyego S Carmo


When you clean your project... and after this go to DEPLOY on WILDFLY the 
"Initial Deployin" deploys to wrong name... the project is "Exemple.ear" and 
the deployer creates ".ear" like this:

Initial deploying mobipr to D:\wildfly-24.0.0.Final\standalone\deployments\.ear

 

And this causes a infinite dploy time (hangs)

 

WorkAround? CLEAN+BUILD and then DEPLOY :(

but it is so sad aways...

 



--
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-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-09-24 Thread Vlad Palnik (Jira)


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

Vlad Palnik commented on NETBEANS-5143:
---

Can everyone take a minute and test 12.5 on your various systems so we can 
close the ticket. Please report results,

Thanks

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/12.4 are 
> effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Assignee: Gaurav Gupta
>Priority: Major
>  Labels: pull-request-available, webapp, webapp-deployment
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2/12.3/12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying an app it follows this pattern: deploy => undeploy => deploy 
> (see build log below). I tried solving this issue by undeployed any previous 
> versions of the app manually and restarted Tomcat, the same error occurs. The 
> issue appears when using NB 12.2/12.3/12.4.
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3 Clean -> Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run make sure same server and java versions are selected
>  7 Clean -> Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  BUILD SUCCESS
>  
>  Total time:  18.211 s
>  Finished at: 2020-12-11T17:27:08-08:00
>  
>  Deploying on Tomcat 8.5.60
>      profile mode: false
>      debug mode: false
>      force redeploy: true
>  Starting Tomcat process...
>  Waiting for Tomcat...
>  Tomcat server started.
>  In-place deployment at C:\Users\username\Desktop\myapp\target\myapp##1.2.5
>  Deployment is in progress...
>  
> deploy?config=file%3A%2FC%3A%2FUsers%2Fusername%2FAppData%2FLocal%2FTemp%2Fcontext6407158500266578550.xml=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>  Deploying on Tomcat 8.5.60
>      profile mode: false
>      debug mode: false
>      force redeploy: true
>  Undeploying ...
>  undeploy?path=/myapp
>  OK - Undeployed application at context path [/myapp]
>  In-place deployment at C:\Users\username\Desktop\myapp\target\myapp##1.2.5 
>  Deployment is in progress...
>  
> deploy?config=file%3A%2FC%3A%2FUsers%2Fusername%2FAppData%2FLocal%2FTemp%2Fcontext3519987589623367889.xml=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
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-6044) Annotation processors configured for compiler plugin are not used for editor parsing

2021-09-24 Thread ASF GitHub Bot (Jira)


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

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

> Annotation processors configured for compiler plugin are not used for editor 
> parsing
> 
>
> Key: NETBEANS-6044
> URL: https://issues.apache.org/jira/browse/NETBEANS-6044
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.5
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Maven supplies "classpath/compile" ClassPath as the processor classpath. But 
> the compiler-maven-plugin supports a special processor classpath that can be 
> set in plugin configuration and should be used for discovery in addition(?) 
> to regular compile classpath.
> This technique is used in e.g. *micronaut* where the *micronaut-parent* POM 
> inherited into user projects configures annotation processors this way. 
> Errors that appear at compile time are not reported or underlined in the 
> IDE's editor.



--
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-2768) Graph visualization of git history (git log)

2021-09-24 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-2768:
-
External issue URL: https://bz.apache.org/netbeans/show_bug.cgi?id=221662  
(was: https://netbeans.org/bugzilla/show_bug.cgi?id=221662)

> Graph visualization of git history (git log)
> 
>
> Key: NETBEANS-2768
> URL: https://issues.apache.org/jira/browse/NETBEANS-2768
> Project: NetBeans
>  Issue Type: New Feature
>  Components: versioncontrol - Git
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: git, plugin
>
> As already written in the original ticket (see the linked ticket), this is 
> one of a feature which is long wanted to have it inside NetBeans. NetBeans 
> needs to visualize git log as Eclipse is doing and IntelliJ. The discussion 
> was about to implement the simple solution of nbgit, don't know whether we 
> have license problems or whatever, why this wasn't implemented ever, because 
> a patch draft is already there.



--
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-2768) Graph visualization of git history (git log)

2021-09-24 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-2768:
--

And here I started: https://github.com/Chris2011/gitlogbeans

> Graph visualization of git history (git log)
> 
>
> Key: NETBEANS-2768
> URL: https://issues.apache.org/jira/browse/NETBEANS-2768
> Project: NetBeans
>  Issue Type: New Feature
>  Components: versioncontrol - Git
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: git, plugin
>
> As already written in the original ticket (see the linked ticket), this is 
> one of a feature which is long wanted to have it inside NetBeans. NetBeans 
> needs to visualize git log as Eclipse is doing and IntelliJ. The discussion 
> was about to implement the simple solution of nbgit, don't know whether we 
> have license problems or whatever, why this wasn't implemented ever, because 
> a patch draft is already there.



--
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-6058) new maven action is disabled permanently

2021-09-24 Thread S. M. (Jira)


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

S. M. updated NETBEANS-6058:

Environment: 
NB 12.5
NB: open-jdk-17 / project: Jkd 11
Win10


  was:
NB 12.5
NB: openjdk version "15.0.1" / project: Jkd 11
Win10



> new maven action is disabled permanently
> 
>
> Key: NETBEANS-6058
> URL: https://issues.apache.org/jira/browse/NETBEANS-6058
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven, projects - Maven
>Affects Versions: 12.5
> Environment: NB 12.5
> NB: open-jdk-17 / project: Jkd 11
> Win10
>Reporter: S. M.
>Priority: Minor
>
> Newly created maven action in project-properties is disabled permanently and 
> can be edited or enabled. So no usefull maven actions can be created.
> How to reproduce:
> Open Project Properties of a maven netbeans project. Klick 'Actions', klick 
> 'Add Custom', Type in an action name and klick OK. The resulting action is 
> disabled - there is no possibility to enable it.



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

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

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



[jira] [Updated] (NETBEANS-6059) Disabling maven actions in project properties does not work

2021-09-24 Thread S. M. (Jira)


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

S. M. updated NETBEANS-6059:

Environment: 
NB 12.5
NB: open-jdk-17 / project: Jkd 11
Win10


  was:
NB 12.5
NB: openjdk version "15.0.1" / project: Jkd 11
Win10



> Disabling maven actions in project properties does not work
> ---
>
> Key: NETBEANS-6059
> URL: https://issues.apache.org/jira/browse/NETBEANS-6059
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven, projects - Maven
>Affects Versions: 12.5
> Environment: NB 12.5
> NB: open-jdk-17 / project: Jkd 11
> Win10
>Reporter: S. M.
>Priority: Minor
>
> How to reproduce:
> Open project properties of a maven NB project, klick 'Actions', select an 
> action, klick 'disable' -> nothing happens.



--
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-6059) Disabling maven actions in project properties does not work

2021-09-24 Thread S. M. (Jira)


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

S. M. updated NETBEANS-6059:

Description: 
How to reproduce:

Open project properties of a maven NB project, klick 'Actions', select an 
action, klick 'disable' -> nothing happens.

  was:
How to reproduce:

Open project properties of a maven NB project, klick 'Actions', select an 
action, klic 'disable' -> nothing happens.


> Disabling maven actions in project properties does not work
> ---
>
> Key: NETBEANS-6059
> URL: https://issues.apache.org/jira/browse/NETBEANS-6059
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven, projects - Maven
>Affects Versions: 12.5
> Environment: NB 12.5
> NB: openjdk version "15.0.1" / project: Jkd 11
> Win10
>Reporter: S. M.
>Priority: Minor
>
> How to reproduce:
> Open project properties of a maven NB project, klick 'Actions', select an 
> action, klick 'disable' -> nothing happens.



--
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-6059) Disabling maven actions in project properties does not work

2021-09-24 Thread S. M. (Jira)
S. M. created NETBEANS-6059:
---

 Summary: Disabling maven actions in project properties does not 
work
 Key: NETBEANS-6059
 URL: https://issues.apache.org/jira/browse/NETBEANS-6059
 Project: NetBeans
  Issue Type: Bug
  Components: apisupport - Maven, projects - Maven
Affects Versions: 12.5
 Environment: NB 12.5
NB: openjdk version "15.0.1" / project: Jkd 11
Win10

Reporter: S. M.


How to reproduce:

Open project properties of a maven NB project, klick 'Actions', select an 
action, klic 'disable' -> nothing happens.



--
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-6058) new maven action is disabled permanently

2021-09-24 Thread S. M. (Jira)
S. M. created NETBEANS-6058:
---

 Summary: new maven action is disabled permanently
 Key: NETBEANS-6058
 URL: https://issues.apache.org/jira/browse/NETBEANS-6058
 Project: NetBeans
  Issue Type: Bug
  Components: apisupport - Maven, projects - Maven
Affects Versions: 12.5
 Environment: NB 12.5
NB: openjdk version "15.0.1" / project: Jkd 11
Win10

Reporter: S. M.


Newly created maven action in project-properties is disabled permanently and 
can be edited or enabled. So no usefull maven actions can be created.

How to reproduce:
Open Project Properties of a maven netbeans project. Klick 'Actions', klick 
'Add Custom', Type in an action name and klick OK. The resulting action is 
disabled - there is no possibility to enable it.



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

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

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



[jira] [Updated] (NETBEANS-6057) Missing automatic import function of my configuration after update from version 12.4 to version 12.5 (OS Ubuntu)

2021-09-24 Thread Thomas Kirsch (Jira)


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

Thomas Kirsch updated NETBEANS-6057:

Description: After updating from version 12.4 to 12.5 the complete 
configuration of 12.4 disappeared. When opening the new version for the first 
time, the usual question if all settings should be taken over from the previous 
version did not appear. The list of remote connections is empty. All passwords 
are gone.  (was: After updating from version 12.4 to 12.5 the complete 
configuration of 12.4 disappeared. When opening the new version for the first 
time, the usual question if all settings should be taken over from the previous 
version did not appear.)

> Missing automatic import function of my configuration after update from 
> version 12.4 to version 12.5 (OS Ubuntu)
> 
>
> Key: NETBEANS-6057
> URL: https://issues.apache.org/jira/browse/NETBEANS-6057
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Welcome
>Affects Versions: 12.5
>Reporter: Thomas Kirsch
>Priority: Major
>
> After updating from version 12.4 to 12.5 the complete configuration of 12.4 
> disappeared. When opening the new version for the first time, the usual 
> question if all settings should be taken over from the previous version did 
> not appear. The list of remote connections is empty. All passwords are gone.



--
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-6057) Missing automatic import function of my configuration after update from version 12.4 to version 12.5 (OS Ubuntu)

2021-09-24 Thread Thomas Kirsch (Jira)


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

Thomas Kirsch updated NETBEANS-6057:

Description: After updating from version 12.4 to 12.5 the complete 
configuration of 12.4 disappeared. When opening the new version for the first 
time, the usual question if all settings should be taken over from the previous 
version did not appear.

> Missing automatic import function of my configuration after update from 
> version 12.4 to version 12.5 (OS Ubuntu)
> 
>
> Key: NETBEANS-6057
> URL: https://issues.apache.org/jira/browse/NETBEANS-6057
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Welcome
>Affects Versions: 12.5
>Reporter: Thomas Kirsch
>Priority: Major
>
> After updating from version 12.4 to 12.5 the complete configuration of 12.4 
> disappeared. When opening the new version for the first time, the usual 
> question if all settings should be taken over from the previous version did 
> not appear.



--
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-6057) Missing import function of my configuration after update from version 12.4 to version 12.5 (OS Ubuntu)

2021-09-24 Thread Thomas Kirsch (Jira)


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

Thomas Kirsch updated NETBEANS-6057:

Summary: Missing import function of my configuration after update from 
version 12.4 to version 12.5 (OS Ubuntu)  (was: Missing import function of my 
configuration after update from version 12.4 to version 12.5)

> Missing import function of my configuration after update from version 12.4 to 
> version 12.5 (OS Ubuntu)
> --
>
> Key: NETBEANS-6057
> URL: https://issues.apache.org/jira/browse/NETBEANS-6057
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Welcome
>Affects Versions: 12.5
>Reporter: Thomas Kirsch
>Priority: Major
>




--
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-6057) Missing automatic import function of my configuration after update from version 12.4 to version 12.5 (OS Ubuntu)

2021-09-24 Thread Thomas Kirsch (Jira)


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

Thomas Kirsch updated NETBEANS-6057:

Summary: Missing automatic import function of my configuration after update 
from version 12.4 to version 12.5 (OS Ubuntu)  (was: Missing import function of 
my configuration after update from version 12.4 to version 12.5 (OS Ubuntu))

> Missing automatic import function of my configuration after update from 
> version 12.4 to version 12.5 (OS Ubuntu)
> 
>
> Key: NETBEANS-6057
> URL: https://issues.apache.org/jira/browse/NETBEANS-6057
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Welcome
>Affects Versions: 12.5
>Reporter: Thomas Kirsch
>Priority: Major
>




--
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-6057) Missing import function of my configuration after update from version 12.4 to version 12.5

2021-09-24 Thread Thomas Kirsch (Jira)
Thomas Kirsch created NETBEANS-6057:
---

 Summary: Missing import function of my configuration after update 
from version 12.4 to version 12.5
 Key: NETBEANS-6057
 URL: https://issues.apache.org/jira/browse/NETBEANS-6057
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Welcome
Affects Versions: 12.5
Reporter: Thomas Kirsch






--
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-6056) Fix Imports Disabled in Netbeans 12.5

2021-09-24 Thread Narti Kitiyakara (Jira)
Narti Kitiyakara created NETBEANS-6056:
--

 Summary: Fix Imports Disabled in Netbeans 12.5
 Key: NETBEANS-6056
 URL: https://issues.apache.org/jira/browse/NETBEANS-6056
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Actions/Menu/Toolbar
Affects Versions: 12.5
 Environment: Windows 10 Pro (haven't tried on other systems)
Reporter: Narti Kitiyakara


The Fix Imports item of the Source menu seems to be disabled even though my 
editor has a Java file open with unused or missing imporsts.



--
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-6056) Fix Imports Disabled in Netbeans 12.5

2021-09-24 Thread Narti Kitiyakara (Jira)


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

Narti Kitiyakara updated NETBEANS-6056:
---
Description: The Fix Imports item of the Source menu seems to be disabled 
even though my editor has a Java file open with unused or missing imports.  It 
was fine in 12.4.  (was: The Fix Imports item of the Source menu seems to be 
disabled even though my editor has a Java file open with unused or missing 
imporsts.)

> Fix Imports Disabled in Netbeans 12.5
> -
>
> Key: NETBEANS-6056
> URL: https://issues.apache.org/jira/browse/NETBEANS-6056
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 12.5
> Environment: Windows 10 Pro (haven't tried on other systems)
>Reporter: Narti Kitiyakara
>Priority: Minor
>
> The Fix Imports item of the Source menu seems to be disabled even though my 
> editor has a Java file open with unused or missing imports.  It was fine in 
> 12.4.



--
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-6055) Nullpointer while opening a gradle subproject

2021-09-24 Thread Jira
Karl Bönisch created NETBEANS-6055:
--

 Summary: Nullpointer while opening a gradle subproject
 Key: NETBEANS-6055
 URL: https://issues.apache.org/jira/browse/NETBEANS-6055
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Gradle
Affects Versions: 12.4, 12.3, 12.5
 Environment: Windows 10
Reporter: Karl Bönisch
Assignee: Laszlo Kishalmi


open a gradle subproject:


  2021-09-24T13:11:32
  1632481892037
  897
  700
  256
  UI_USER_CONFIGURATION
  UI_USER_CONFIGURATION
  org.netbeans.modules.uihandler.Bundle
  Windows 10, 10.0, amd64
  Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime 
Environment, 1.8.0_121-b13
  Apache NetBeans IDE 12.5
  
  NullPointerException at 
org.netbeans.modules.gradle.api.execute.GradleDistributionManager.distributionFromDir
  Please provide a description of the problem or the steps to 
reproduce
  *


 

INFO [org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl]: Load aiming 
EVALUATED for Unloaded Gradle Project: 
GradleFiles[projectDir=C:\javasourcen\NetbeansWS_12.5\trunk\GLSGUIProjects\GL\GL\GLGL031,
 rootDir=C:\javasourcen\NetbeansWS_12.5\trunk\GLSGUIProjects\GL\GL\GLGL031]
INFO [org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl]: Load aiming 
FULL for Gradle: GLSGUI[FALLBACK]
WARNING [org.netbeans.modules.gradle.loaders.LegacyProjectLoader]
java.lang.NullPointerException
 at 
org.netbeans.modules.gradle.api.execute.GradleDistributionManager.distributionFromDir(GradleDistributionManager.java:155)
 at 
org.netbeans.modules.gradle.execute.GradleDistributionProviderImpl.getGradleDistribution(GradleDistributionProviderImpl.java:114)
 at 
org.netbeans.modules.gradle.GradleProjectConnection.getConnection(GradleProjectConnection.java:121)
 at 
org.netbeans.modules.gradle.GradleProjectConnection.action(GradleProjectConnection.java:89)
 at 
org.netbeans.modules.gradle.loaders.LegacyProjectLoader.createInfoAction(LegacyProjectLoader.java:202)
 at 
org.netbeans.modules.gradle.loaders.LegacyProjectLoader.retrieveProjectInfo(LegacyProjectLoader.java:250)
 at 
org.netbeans.modules.gradle.loaders.LegacyProjectLoader.loadGradleProject(LegacyProjectLoader.java:145)
 at 
org.netbeans.modules.gradle.loaders.LegacyProjectLoader.access$100(LegacyProjectLoader.java:68)
[catch] at 
org.netbeans.modules.gradle.loaders.LegacyProjectLoader$ProjectLoaderTask.call(LegacyProjectLoader.java:294)
 at 
org.netbeans.modules.gradle.loaders.LegacyProjectLoader$ProjectLoaderTask.call(LegacyProjectLoader.java:263)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
 at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
 at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
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-2385) Snap package unable to run

2021-09-24 Thread Eric VILLARD (Jira)


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

Eric VILLARD commented on NETBEANS-2385:


The workaround has changed of location and the netbeans.conf file should be set 
under ~/snap/netbeans/current/etc/netbeans.conf

> Snap package unable to run
> --
>
> Key: NETBEANS-2385
> URL: https://issues.apache.org/jira/browse/NETBEANS-2385
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 10.0, 11.0, 12.5
> Environment: Ubuntu 14.04
>Reporter: Bartosz Tomasik
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> I'm using Netbeans snap package. However it seems there's some clash on what 
> netbeans detect as default java and what it tries to use, if I provide 
> _jdkhome_ as an argument everything works. otherwise I get error:
> {quote}{{$ netbeans }}
> {{JVMJ9VM007E Command-line option unrecognised: 
> --add-opens=java.base/java.net=ALL-UNNAMED}}
> {{Error: Could not create the Java Virtual Machine.}}
> {{Error: A fatal exception has occurred. Program will exit.}}
> {quote}
> in contradiction all of this works as expected:
> netbeans --jdkhome /usr/lib/jvm/java-1.11.0-openjdk-amd64
> netbeans --jdkhome /usr/lib/jvm/java-1.8.0-openjdk-amd64
> netbeans --jdkhome /usr/lib/jvm/ibm-java80-jdk-x86_64
> jdk11 is my default java
> {quote}$ update-java-alternatives -l
> ibm-java80-jdk-x86_64  80 /usr/lib/jvm/ibm-java80-jdk-x86_64
> ibm-java80-jre-x86_64  80 /usr/lib/jvm/ibm-java80-jre-x86_64
> java-1.11.0-openjdk-amd64     
> /usr/lib/jvm/java-1.11.0-openjdk-amd64
> java-1.8.0-openjdk-amd64   1081   
> /usr/lib/jvm/java-1.8.0-openjdk-amd64
> java-1.9.0-openjdk-amd64   1091   
> /usr/lib/jvm/java-1.9.0-openjdk-amd64
> {quote}



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

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

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



[jira] [Updated] (NETBEANS-2385) Snap package unable to run

2021-09-24 Thread Eric VILLARD (Jira)


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

Eric VILLARD updated NETBEANS-2385:
---
Affects Version/s: 12.5

> Snap package unable to run
> --
>
> Key: NETBEANS-2385
> URL: https://issues.apache.org/jira/browse/NETBEANS-2385
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 10.0, 11.0, 12.5
> Environment: Ubuntu 14.04
>Reporter: Bartosz Tomasik
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> I'm using Netbeans snap package. However it seems there's some clash on what 
> netbeans detect as default java and what it tries to use, if I provide 
> _jdkhome_ as an argument everything works. otherwise I get error:
> {quote}{{$ netbeans }}
> {{JVMJ9VM007E Command-line option unrecognised: 
> --add-opens=java.base/java.net=ALL-UNNAMED}}
> {{Error: Could not create the Java Virtual Machine.}}
> {{Error: A fatal exception has occurred. Program will exit.}}
> {quote}
> in contradiction all of this works as expected:
> netbeans --jdkhome /usr/lib/jvm/java-1.11.0-openjdk-amd64
> netbeans --jdkhome /usr/lib/jvm/java-1.8.0-openjdk-amd64
> netbeans --jdkhome /usr/lib/jvm/ibm-java80-jdk-x86_64
> jdk11 is my default java
> {quote}$ update-java-alternatives -l
> ibm-java80-jdk-x86_64  80 /usr/lib/jvm/ibm-java80-jdk-x86_64
> ibm-java80-jre-x86_64  80 /usr/lib/jvm/ibm-java80-jre-x86_64
> java-1.11.0-openjdk-amd64     
> /usr/lib/jvm/java-1.11.0-openjdk-amd64
> java-1.8.0-openjdk-amd64   1081   
> /usr/lib/jvm/java-1.8.0-openjdk-amd64
> java-1.9.0-openjdk-amd64   1091   
> /usr/lib/jvm/java-1.9.0-openjdk-amd64
> {quote}



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

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

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



[jira] [Reopened] (NETBEANS-2385) Snap package unable to run

2021-09-24 Thread Eric VILLARD (Jira)


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

Eric VILLARD reopened NETBEANS-2385:


Hi,

the new snap package for NetBeans version 12.5 has a similar issue, but the 
workaround to create a file ~/snap/netbeans/common/data/12.5/etc/netbeans.conf 
with the netbeans_jdkhome defined, does not work anymore.

NetBeans cannot be launched using the default launcher.

My configuration:
Ubuntu 20.04.3 LTS
NetBeans snap package version 50
Oracle JDK 15 installed using jenv [https://www.jenv.be/] under ~/.jenv

It worked fine with NetBeans 12.4 (snap package version 48) and older versions.

Should it be possible to solve this regression and possibly also rely on 
environment variables as JAVA_HOME or JDK_HOME?

Thanks

> Snap package unable to run
> --
>
> Key: NETBEANS-2385
> URL: https://issues.apache.org/jira/browse/NETBEANS-2385
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 10.0, 11.0
> Environment: Ubuntu 14.04
>Reporter: Bartosz Tomasik
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> I'm using Netbeans snap package. However it seems there's some clash on what 
> netbeans detect as default java and what it tries to use, if I provide 
> _jdkhome_ as an argument everything works. otherwise I get error:
> {quote}{{$ netbeans }}
> {{JVMJ9VM007E Command-line option unrecognised: 
> --add-opens=java.base/java.net=ALL-UNNAMED}}
> {{Error: Could not create the Java Virtual Machine.}}
> {{Error: A fatal exception has occurred. Program will exit.}}
> {quote}
> in contradiction all of this works as expected:
> netbeans --jdkhome /usr/lib/jvm/java-1.11.0-openjdk-amd64
> netbeans --jdkhome /usr/lib/jvm/java-1.8.0-openjdk-amd64
> netbeans --jdkhome /usr/lib/jvm/ibm-java80-jdk-x86_64
> jdk11 is my default java
> {quote}$ update-java-alternatives -l
> ibm-java80-jdk-x86_64  80 /usr/lib/jvm/ibm-java80-jdk-x86_64
> ibm-java80-jre-x86_64  80 /usr/lib/jvm/ibm-java80-jre-x86_64
> java-1.11.0-openjdk-amd64     
> /usr/lib/jvm/java-1.11.0-openjdk-amd64
> java-1.8.0-openjdk-amd64   1081   
> /usr/lib/jvm/java-1.8.0-openjdk-amd64
> java-1.9.0-openjdk-amd64   1091   
> /usr/lib/jvm/java-1.9.0-openjdk-amd64
> {quote}



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

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

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



[jira] [Commented] (NETBEANS-6054) PHP Template missing Namespace option

2021-09-24 Thread Kevin Andrews (Jira)


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

Kevin Andrews commented on NETBEANS-6054:
-

Tested on 12.4 and 12.5 (12.5 missing from selection version for reporting 
issues).

> PHP Template missing Namespace option
> -
>
> Key: NETBEANS-6054
> URL: https://issues.apache.org/jira/browse/NETBEANS-6054
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code, platform - Templates
>Affects Versions: 12.4
>Reporter: Kevin Andrews
>Priority: Minor
> Attachments: Screenshot from 2021-09-24 10-01-01.png, Screenshot from 
> 2021-09-24 10-01-40.png, Screenshot from 2021-09-24 10-02-43.png, Screenshot 
> from 2021-09-24 10-02-56.png, Screenshot from 2021-09-24 10-03-34.png, 
> Screenshot from 2021-09-24 10-04-15.png, Screenshot from 2021-09-24 
> 10-05-00.png, Screenshot from 2021-09-24 10-05-18.png, Screenshot from 
> 2021-09-24 10-05-27.png
>
>
> As a 
> PHP Developer
> I want to
> Create additional PHP Class template files which still allow entering 
> namespace in the file creation wizard after moving them to sub-directories 
> and restarting the IDE
> So that
> Namespaces are automatically entered into the file created.
> Issue Details:
> Creating a new template by going to:
> Tools -> Templates
> Navigating to the PHP folder
> Duplicate "PHP Class"
> Creating a new file from this template correctly fills out and asks about 
> Namespace (context is obtained when using the tree right click -> new).
> After restarting NetBeans it seems to lose this ability and no longer 
> displays the namespace box when creating a new file from this duplicated 
> template.
> Also moving the template into a sub folder loses this context as well.
>  
>  



--
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-6054) PHP Template missing Namespace option

2021-09-24 Thread Kevin Andrews (Jira)
Kevin Andrews created NETBEANS-6054:
---

 Summary: PHP Template missing Namespace option
 Key: NETBEANS-6054
 URL: https://issues.apache.org/jira/browse/NETBEANS-6054
 Project: NetBeans
  Issue Type: Bug
  Components: php - Code, platform - Templates
Affects Versions: 12.4
Reporter: Kevin Andrews
 Attachments: Screenshot from 2021-09-24 10-01-01.png, Screenshot from 
2021-09-24 10-01-40.png, Screenshot from 2021-09-24 10-02-43.png, Screenshot 
from 2021-09-24 10-02-56.png, Screenshot from 2021-09-24 10-03-34.png, 
Screenshot from 2021-09-24 10-04-15.png, Screenshot from 2021-09-24 
10-05-00.png, Screenshot from 2021-09-24 10-05-18.png, Screenshot from 
2021-09-24 10-05-27.png

As a 
PHP Developer

I want to

Create additional PHP Class template files which still allow entering namespace 
in the file creation wizard after moving them to sub-directories and restarting 
the IDE

So that

Namespaces are automatically entered into the file created.


Issue Details:

Creating a new template by going to:

Tools -> Templates

Navigating to the PHP folder

Duplicate "PHP Class"


Creating a new file from this template correctly fills out and asks about 
Namespace (context is obtained when using the tree right click -> new).

After restarting NetBeans it seems to lose this ability and no longer displays 
the namespace box when creating a new file from this duplicated template.

Also moving the template into a sub folder loses this context as well.




 

 



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

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

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



[netbeans] branch master updated (ad9e73c -> deadda5)

2021-09-24 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


from ad9e73c  Merge pull request #3183 from ebarboni/spec-versions-nb126
 add 887c6df  ant clean fix for javacc java file
 new deadda5  Merge pull request #3187 from apache/ebarboni-patch-1

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


Summary of changes:
 ide/db.sql.visualeditor/build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

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



[netbeans] 01/01: Merge pull request #3187 from apache/ebarboni-patch-1

2021-09-24 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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

commit deadda5ebf0612dac8803e50258c1d482a98f69f
Merge: ad9e73c 887c6df
Author: Eric Barboni 
AuthorDate: Fri Sep 24 09:51:43 2021 +0200

Merge pull request #3187 from apache/ebarboni-patch-1

ant clean fix for javacc java file

 ide/db.sql.visualeditor/build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-
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-6041) Go To Source and test-results view broken with JUnit5 @Nested

2021-09-24 Thread Ratcash Developer (Jira)


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

Ratcash Developer commented on NETBEANS-6041:
-

Promised PR: https://github.com/apache/netbeans/pull/3189

> Go To Source and test-results view broken with JUnit5 @Nested
> -
>
> Key: NETBEANS-6041
> URL: https://issues.apache.org/jira/browse/NETBEANS-6041
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle, projects - Maven
>Affects Versions: 12.4, 12.5
> Environment: Manjaro Linux, kernel 5.14.2
> Netbeans 12.5
>  
>Reporter: Ratcash Developer
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: image-2021-09-21-19-12-29-711.png
>
>
> Given a test case like:
> {code:java}
> import org.junit.jupiter.api.Nested;
> import org.junit.jupiter.api.Test;
> public class SampleTest {
>   @Test
>   public void testMyMethod1() {
> System.out.println("write this");
>   }
>   @Nested
>   class NestedClass {
> @Test
> public void testMyMethod2() {
>   System.out.println("nested write 2");
> }
>   }
>   @Nested
>   class NestedClass2 {
> @Test
> public void testMyMethod1() {
>   System.out.println("nested write 1");
> }
> @Test
> public void testMyMethod3() {
>   System.out.println("nested write 3");
> }
> @Nested
> class DoubleNestedClass3 {
>   @Test
>   public void testMyMethod4() {
> System.out.println("double nested write 4");
>   }
>   @Test
>   public void testNextedException() throws Exception {
> throw new Exception();
>   }
> }
>   }
> }
> {code}
> A couple of issues with such tests:
>  
> 1. The "Test Results" window shows only some of the executed tests (in this 
> specific case only 3)
> !image-2021-09-21-19-12-29-711.png!
> 2. the "Go to source" function does not work even for the test cases that are 
> shown. 
> 3. using the "Run focused test method" does not work - a bad combo of class 
> and method is provided to the test runner.
> Clearly, part of this is caused by the $ClassName in the test classname, 
> which is not correctly processed by the `Location` class.
> Netbean's own navigator is able to navigate such classes, so this should be 
> supported by the Finder, but I was not able to figure out the right way to do 
> so.



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

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

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



[jira] [Comment Edited] (NETBEANS-5900) Simple Tips to Ace IELTS Essay Writing Task

2021-09-24 Thread Lee Gale (Jira)


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

Lee Gale edited comment on NETBEANS-5900 at 9/24/21, 6:48 AM:
--

I would like to hope that in our time, quality education is available to 
everyone, without exception, regardless of the strange residence and skin 
color. After all, education is not a special privilege but is given to us by 
right. I am a student from Asia I am going to enter one of the medical 
universities in the USA, but I do not know the language well, and I need help 
with writing an application for residence. I googled and found a service 
[residency personal statement edit|https://residencypersonalstatements.net/] 
where they help with this, they have good reviews and they do their job well, I 
will seek help.


was (Author: leegale):
very helpful

> Simple Tips to Ace IELTS Essay Writing Task
> ---
>
> Key: NETBEANS-5900
> URL: https://issues.apache.org/jira/browse/NETBEANS-5900
> Project: NetBeans
>  Issue Type: New Feature
>Reporter: Nathan Drake
>Priority: Major
> Attachments: How to Write an Essay Introduction for Various Essay 
> Formats.pdf
>
>
> The IELTS essay is a lot more than just writing. It requires an understanding 
> of the topic, and skills in analysis as well as research to top it off; not 
> to mention being able to synthesize all that information into one convincing 
> argument for your audience.
>  
> Have you been struggling with essays and want to find out how a professional 
> can help? A good "[essay writer|https://www.myperfectpaper.net/]; service 
> will not only teach you what the requirements are, but also ensure your work 
> meets these high standards. You should be aware that it is easy to get 
> confused when trying to write this type of paper in such little time. If so, 
> please review some helpful tips below!
>  
> A quick read through our informative blog post on writing an academic essay 
> might clear up any confusion about formatting or content before proceeding 
> further into your project plan. For example: if we're talking about 3 sources 
> rather than 5 - remember they must all have different authors (and date 
> ranges) from one another; similarly, if using quotes make sure.
>  
> !https://cdn.dribbble.com/users/1162077/screenshots/3848914/programmer.gif!
>  
> *Understand the Essay Question Properly:*
>  
> Understanding the question means you have completed half of the work. Often, 
> students make mistakes by just starting with an essay without reading and 
> understanding a question properly first- what type is it? Is it about 
> discussion or opinion based topic or does it want to know how to solve a 
> problem? First understand your task before writing anything down.
>  
> *Brainstorm Relevant Ideas:* 
>  
> After identifying the type of question, map out all the relevant topics and 
> ideas. Take five minutes to write down everything you know about your topic! 
> This planning is important in order for you to finish writing on time.
>  
> *Add your Personal Opinion:*
>  
> The best way to present your knowledge of a topic is by adding personal 
> opinions and anecdotes to it. You should also provide examples that highlight 
> the main point you're trying to make in order for people reading what you 
> have written, be they academic or not, can understand where you are coming 
> from when discussing this topic with them - even if their background isn't as 
> well-versed on everything that's going on currently in politics today.
>  
> *Manage the Time:*
>  
> On average, you will have 40 minutes to complete your essay. But that doesn't 
> mean it needs to be a marathon! If you work hard and finish in 35-40 minutes 
> then take the extra time for some final touches such as rechecking or 
> proofreading before submission.
>  
> *Consider the Lexical Resources:*
>  
> IELTS is a high calibre test that not only tests your language and vocabulary 
> proficiency but also expects the process of translating thoughts from one's 
> native language to English. The examiner will be looking for variety in words 
> as well as new ideas presented, so don't get stuck using the same word 
> repeatedly!
>  
> *Take Care of the Language:*
>  
> Writing in the English language is a time-tested and well developed 
> tradition. Slang, cliches, or any other informal type of phraseology should 
> be avoided when writing this essay as they will detract from your content's 
> clarity and impact on readers.
>  
> Writing an IELTS free essay is tough, but with practice and hard work, you 
> can definitely achieve it. It's important to remember that your essays should 
> be clean from any kind of grammatical or structural errors--check for proper 
> spelling usage 

[jira] [Commented] (NETBEANS-5900) Simple Tips to Ace IELTS Essay Writing Task

2021-09-24 Thread Lee Gale (Jira)


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

Lee Gale commented on NETBEANS-5900:


very helpful

> Simple Tips to Ace IELTS Essay Writing Task
> ---
>
> Key: NETBEANS-5900
> URL: https://issues.apache.org/jira/browse/NETBEANS-5900
> Project: NetBeans
>  Issue Type: New Feature
>Reporter: Nathan Drake
>Priority: Major
> Attachments: How to Write an Essay Introduction for Various Essay 
> Formats.pdf
>
>
> The IELTS essay is a lot more than just writing. It requires an understanding 
> of the topic, and skills in analysis as well as research to top it off; not 
> to mention being able to synthesize all that information into one convincing 
> argument for your audience.
>  
> Have you been struggling with essays and want to find out how a professional 
> can help? A good "[essay writer|https://www.myperfectpaper.net/]; service 
> will not only teach you what the requirements are, but also ensure your work 
> meets these high standards. You should be aware that it is easy to get 
> confused when trying to write this type of paper in such little time. If so, 
> please review some helpful tips below!
>  
> A quick read through our informative blog post on writing an academic essay 
> might clear up any confusion about formatting or content before proceeding 
> further into your project plan. For example: if we're talking about 3 sources 
> rather than 5 - remember they must all have different authors (and date 
> ranges) from one another; similarly, if using quotes make sure.
>  
> !https://cdn.dribbble.com/users/1162077/screenshots/3848914/programmer.gif!
>  
> *Understand the Essay Question Properly:*
>  
> Understanding the question means you have completed half of the work. Often, 
> students make mistakes by just starting with an essay without reading and 
> understanding a question properly first- what type is it? Is it about 
> discussion or opinion based topic or does it want to know how to solve a 
> problem? First understand your task before writing anything down.
>  
> *Brainstorm Relevant Ideas:* 
>  
> After identifying the type of question, map out all the relevant topics and 
> ideas. Take five minutes to write down everything you know about your topic! 
> This planning is important in order for you to finish writing on time.
>  
> *Add your Personal Opinion:*
>  
> The best way to present your knowledge of a topic is by adding personal 
> opinions and anecdotes to it. You should also provide examples that highlight 
> the main point you're trying to make in order for people reading what you 
> have written, be they academic or not, can understand where you are coming 
> from when discussing this topic with them - even if their background isn't as 
> well-versed on everything that's going on currently in politics today.
>  
> *Manage the Time:*
>  
> On average, you will have 40 minutes to complete your essay. But that doesn't 
> mean it needs to be a marathon! If you work hard and finish in 35-40 minutes 
> then take the extra time for some final touches such as rechecking or 
> proofreading before submission.
>  
> *Consider the Lexical Resources:*
>  
> IELTS is a high calibre test that not only tests your language and vocabulary 
> proficiency but also expects the process of translating thoughts from one's 
> native language to English. The examiner will be looking for variety in words 
> as well as new ideas presented, so don't get stuck using the same word 
> repeatedly!
>  
> *Take Care of the Language:*
>  
> Writing in the English language is a time-tested and well developed 
> tradition. Slang, cliches, or any other informal type of phraseology should 
> be avoided when writing this essay as they will detract from your content's 
> clarity and impact on readers.
>  
> Writing an IELTS free essay is tough, but with practice and hard work, you 
> can definitely achieve it. It's important to remember that your essays should 
> be clean from any kind of grammatical or structural errors--check for proper 
> spelling usage (including correct tenses), punctuation use in addition to the 
> formal tone we discussed earlier.



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

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

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



[jira] [Comment Edited] (NETBEANS-6041) Go To Source and test-results view broken with JUnit5 @Nested

2021-09-24 Thread Ratcash Developer (Jira)


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

Ratcash Developer edited comment on NETBEANS-6041 at 9/24/21, 6:16 AM:
---

I will submit a PR for the "Go To Source" (#1), and maybe also for #3.

#2 (tests not appearing in the Test Results window) is a more complicated 
issue. The whole testrunner support is made with the assumption that test 
suites are executed sequentially. This, unfortunately is not true with nested 
tests, where the execution may look like
 * A$B.method1
 * A.method2
 * A$B.method3
 * A.method4

Fixing this needs significant changes to TestSession and TestProgressListener 
which assume that only one suite can be running at any given time.

It works somewhat if tests are only on equal level, e.g.
 * A$B.method1
 * A$B.method2
 * A$C.method3
 * A$C.method4

If there was a method directly on A, like A.otherMethod, then the results would 
not be shown again.

I would appreciate some else looking into this.


was (Author: ratcashdev):
I will submit a PR for the "Go To Source" (#1), and maybe also for #3.

#2 (tests not appearing in the Test Results window) is a more complicated 
issue. The whole testrunner support is made with the assumption that test 
suites are executed sequentially. This, unfortunately is not true with nested 
tests, where the execution may look like
 * A$B.method1
 * A.method2
 * A$B.method3
 * A.method4

Fixing this needs significant changes to TestSession and TestProgressListener 
which assume that only one suite can be running at any given time.

It works somewhat if tests are only on equal level, e.g.
 * A$B.method1
 * A$B.method2
 * A$C.method3
 * A$C.method4

If there was a method directly on A, like A.otherMethod, then the results would 
not be shown again.

> Go To Source and test-results view broken with JUnit5 @Nested
> -
>
> Key: NETBEANS-6041
> URL: https://issues.apache.org/jira/browse/NETBEANS-6041
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle, projects - Maven
>Affects Versions: 12.4, 12.5
> Environment: Manjaro Linux, kernel 5.14.2
> Netbeans 12.5
>  
>Reporter: Ratcash Developer
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: image-2021-09-21-19-12-29-711.png
>
>
> Given a test case like:
> {code:java}
> import org.junit.jupiter.api.Nested;
> import org.junit.jupiter.api.Test;
> public class SampleTest {
>   @Test
>   public void testMyMethod1() {
> System.out.println("write this");
>   }
>   @Nested
>   class NestedClass {
> @Test
> public void testMyMethod2() {
>   System.out.println("nested write 2");
> }
>   }
>   @Nested
>   class NestedClass2 {
> @Test
> public void testMyMethod1() {
>   System.out.println("nested write 1");
> }
> @Test
> public void testMyMethod3() {
>   System.out.println("nested write 3");
> }
> @Nested
> class DoubleNestedClass3 {
>   @Test
>   public void testMyMethod4() {
> System.out.println("double nested write 4");
>   }
>   @Test
>   public void testNextedException() throws Exception {
> throw new Exception();
>   }
> }
>   }
> }
> {code}
> A couple of issues with such tests:
>  
> 1. The "Test Results" window shows only some of the executed tests (in this 
> specific case only 3)
> !image-2021-09-21-19-12-29-711.png!
> 2. the "Go to source" function does not work even for the test cases that are 
> shown. 
> 3. using the "Run focused test method" does not work - a bad combo of class 
> and method is provided to the test runner.
> Clearly, part of this is caused by the $ClassName in the test classname, 
> which is not correctly processed by the `Location` class.
> Netbean's own navigator is able to navigate such classes, so this should be 
> supported by the Finder, but I was not able to figure out the right way to do 
> so.



--
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-6041) Go To Source and test-results view broken with JUnit5 @Nested

2021-09-24 Thread Ratcash Developer (Jira)


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

Ratcash Developer commented on NETBEANS-6041:
-

I will submit a PR for the "Go To Source" (#1), and maybe also for #3.

#2 (tests not appearing in the Test Results window) is a more complicated 
issue. The whole testrunner support is made with the assumption that test 
suites are executed sequentially. This, unfortunately is not true with nested 
tests, where the execution may look like
 * A$B.method1
 * A.method2
 * A$B.method3
 * A.method4

Fixing this needs significant changes to TestSession and TestProgressListener 
which assume that only one suite can be running at any given time.

It works somewhat if tests are only on equal level, e.g.
 * A$B.method1
 * A$B.method2
 * A$C.method3
 * A$C.method4

If there was a method directly on A, like A.otherMethod, then the results would 
not be shown again.

> Go To Source and test-results view broken with JUnit5 @Nested
> -
>
> Key: NETBEANS-6041
> URL: https://issues.apache.org/jira/browse/NETBEANS-6041
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle, projects - Maven
>Affects Versions: 12.4, 12.5
> Environment: Manjaro Linux, kernel 5.14.2
> Netbeans 12.5
>  
>Reporter: Ratcash Developer
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: image-2021-09-21-19-12-29-711.png
>
>
> Given a test case like:
> {code:java}
> import org.junit.jupiter.api.Nested;
> import org.junit.jupiter.api.Test;
> public class SampleTest {
>   @Test
>   public void testMyMethod1() {
> System.out.println("write this");
>   }
>   @Nested
>   class NestedClass {
> @Test
> public void testMyMethod2() {
>   System.out.println("nested write 2");
> }
>   }
>   @Nested
>   class NestedClass2 {
> @Test
> public void testMyMethod1() {
>   System.out.println("nested write 1");
> }
> @Test
> public void testMyMethod3() {
>   System.out.println("nested write 3");
> }
> @Nested
> class DoubleNestedClass3 {
>   @Test
>   public void testMyMethod4() {
> System.out.println("double nested write 4");
>   }
>   @Test
>   public void testNextedException() throws Exception {
> throw new Exception();
>   }
> }
>   }
> }
> {code}
> A couple of issues with such tests:
>  
> 1. The "Test Results" window shows only some of the executed tests (in this 
> specific case only 3)
> !image-2021-09-21-19-12-29-711.png!
> 2. the "Go to source" function does not work even for the test cases that are 
> shown. 
> 3. using the "Run focused test method" does not work - a bad combo of class 
> and method is provided to the test runner.
> Clearly, part of this is caused by the $ClassName in the test classname, 
> which is not correctly processed by the `Location` class.
> Netbean's own navigator is able to navigate such classes, so this should be 
> supported by the Finder, but I was not able to figure out the right way to do 
> so.



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