[jira] [Moved] (NETBEANSINFRA-182) Additionnal JIRA project for maven utilities

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni moved NETBEANS-2724 to NETBEANSINFRA-182:
--

 Key: NETBEANSINFRA-182  (was: NETBEANS-2724)
Workflow: Default workflow, editable Closed status  (was: jira)
 Project: Apache NetBeans Infra  (was: NetBeans)

> Additionnal JIRA project for maven utilities
> 
>
> Key: NETBEANSINFRA-182
> URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-182
> Project: Apache NetBeans Infra
>  Issue Type: Wish
>Reporter: Eric Barboni
>Priority: Major
>
> In order to allow more efficient release workflow of the mavenutilities 
> projects it would be great to have independeant Jira project under NetBeans 
> Category.
> Maybe nbm4j or jackpot may wanna join
>  
> Here is the list, I'm not sure if it's enough information
> Name of the project, key of the project
> NetBeans Parent, NBPARENT
> NetBeans Mavenutilities Parent, NBMUPARENT
> NetBeans Mavenutilities Harness, NBMUHARNESS
> NetBeans Mavenutilities NBM Maven Plugin ,NBMUPLUGIN
> NetBeans Mavenutilities NB Repository Plugin,NBMUREPO
> NetBeans Mavenutilities Shared lib, NBMUSHARED
>  
> Best Regards



--
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-3483) Cant Profile Maven Projects

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni commented on NETBEANS-3483:


Would be nice to reevaluate with Apache NetBeans 11.3

> Cant Profile Maven Projects
> ---
>
> Key: NETBEANS-3483
> URL: https://issues.apache.org/jira/browse/NETBEANS-3483
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12
> Runtime: OpenJDK Runtime Environment 12.0.1+12
> System: Windows 10 version 10.0 running on amd64; UTF8; de_DE (nb)
> User directory: C:\Users\swendelmann\AppData\Roaming\NetBeans\11.2
> Cache directory: C:\Users\swendelmann\AppData\Local\NetBeans\Cache\11.2
>Reporter: Stefan Höltker
>Priority: Major
> Attachments: image-2019-11-28-14-48-10-130.png, 
> image-2019-11-28-14-50-01-314.png
>
>
> Starting the Maven Project in Profile Mode Outputs following:
> {code:bash}
> cd C:\Daten\nbprojects\itout\ssp\ssp-kernel; "JAVA_HOME=C:\\Program 
> Files\\AdoptOpenJDK\\jdk-8.0.222.10-hotspot" 
> M2_HOME=C:\\maven\\apache-maven-3.6.1 cmd /c 
> "\"\"C:\\maven\\apache-maven-3.6.1\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/NetBeans-11.2/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\NetBeans-11.2\\netbeans\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\swendelmann\\AppData\\Local\\NetBeans\\Cache\\11.2\\mavencachedirs\\1933295841\\org-netbeans-modules-profiler
>   -classpath %classpath de.gsq.system.menu.MainMenu SPortal_LOCAL.xml\" 
> -Dexec.executable=\"C:\\Program 
> Files\\AdoptOpenJDK\\jdk-8.0.222.10-hotspot\\bin\\java.exe\" 
> -Dexec.workingdir= -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-11.2\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> process-classes org.codehaus.mojo:exec-maven-plugin:1.2.1:exec\""
> Syntaxfehler.
> {code}
>  
> The Popup wont go away, only by canceling:
> !image-2019-11-28-14-50-01-314.png!
> Attaching The Profile to a Running (out of Netbeans) Project prints:
> Profiler Agent: Waiting for connection on port 5140 (Protocol version: 18)
> in the Project an gives me following Error Message:
> !image-2019-11-28-14-48-10-130.png!



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

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

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



[jira] [Commented] (NETBEANS-2536) Update Maven default action mappings

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni commented on NETBEANS-2536:


I understand for bumping version 1.6.0

for the exec.longClasspath and --module-path I don't know

Not forcing but you can propose PR :D.

> Update Maven default action mappings
> 
>
> Key: NETBEANS-2536
> URL: https://issues.apache.org/jira/browse/NETBEANS-2536
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.0
>Reporter: Anthony Vanelverdinghe
>Priority: Major
>
> [defaultActionMappings.xml|https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/execute/defaultActionMappings.xml]
>  should be updated to:
>  * use the latest 1.6.0 version of org.codehaus.mojo:exec-maven-plugin
>  * specify the "exec.longClasspath" property
>  * specify --module-path in addition to --class-path



--
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-3738) Maven builds: don't specify eventspy when JDK < 1.7

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni updated NETBEANS-3738:
---
Fix Version/s: 12.0

> Maven builds: don't specify eventspy when JDK < 1.7
> ---
>
> Key: NETBEANS-3738
> URL: https://issues.apache.org/jira/browse/NETBEANS-3738
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.2
>Reporter: Anthony Vanelverdinghe
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The eventspy is compiled with JDK 1.7. However, for some legacy project, I 
> need to build with Maven 3.2.5 and JDK 1.6 So this doesn't work (see below). 
> NetBeans shouldn't specify the eventspy on the commandline if the JDK < 1.7
> {noformat}
> Error injecting: org.netbeans.modules.maven.event.NbEventSpy
> java.lang.TypeNotPresentException: Type 
> org.netbeans.modules.maven.event.NbEventSpy not present
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
> 
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.UnsupportedClassVersionError: 
> org/netbeans/modules/maven/event/NbEventSpy : Unsupported major.minor version 
> 51.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
> 
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
>   ... 65 more
> Error executing Maven.
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
> 
> {noformat}



--
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-3738) Maven builds: don't specify eventspy when JDK < 1.7

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni reassigned NETBEANS-3738:
--

Assignee: Eric Barboni

> Maven builds: don't specify eventspy when JDK < 1.7
> ---
>
> Key: NETBEANS-3738
> URL: https://issues.apache.org/jira/browse/NETBEANS-3738
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.2
>Reporter: Anthony Vanelverdinghe
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The eventspy is compiled with JDK 1.7. However, for some legacy project, I 
> need to build with Maven 3.2.5 and JDK 1.6 So this doesn't work (see below). 
> NetBeans shouldn't specify the eventspy on the commandline if the JDK < 1.7
> {noformat}
> Error injecting: org.netbeans.modules.maven.event.NbEventSpy
> java.lang.TypeNotPresentException: Type 
> org.netbeans.modules.maven.event.NbEventSpy not present
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
> 
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.UnsupportedClassVersionError: 
> org/netbeans/modules/maven/event/NbEventSpy : Unsupported major.minor version 
> 51.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
> 
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
>   ... 65 more
> Error executing Maven.
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
> 
> {noformat}



--
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-3738) Maven builds: don't specify eventspy when JDK < 1.7

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni commented on NETBEANS-3738:


it's a Pull request it needs compile to be tested


> Maven builds: don't specify eventspy when JDK < 1.7
> ---
>
> Key: NETBEANS-3738
> URL: https://issues.apache.org/jira/browse/NETBEANS-3738
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.2
>Reporter: Anthony Vanelverdinghe
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The eventspy is compiled with JDK 1.7. However, for some legacy project, I 
> need to build with Maven 3.2.5 and JDK 1.6 So this doesn't work (see below). 
> NetBeans shouldn't specify the eventspy on the commandline if the JDK < 1.7
> {noformat}
> Error injecting: org.netbeans.modules.maven.event.NbEventSpy
> java.lang.TypeNotPresentException: Type 
> org.netbeans.modules.maven.event.NbEventSpy not present
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
> 
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.UnsupportedClassVersionError: 
> org/netbeans/modules/maven/event/NbEventSpy : Unsupported major.minor version 
> 51.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
> 
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
>   ... 65 more
> Error executing Maven.
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
> 
> {noformat}



--
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-3738) Maven builds: don't specify eventspy when JDK < 1.7

2020-03-10 Thread Anthony Vanelverdinghe (Jira)


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

Anthony Vanelverdinghe commented on NETBEANS-3738:
--

[~skygo] if there's a ready-made binary with the fix included, I'll be happy to 
test

> Maven builds: don't specify eventspy when JDK < 1.7
> ---
>
> Key: NETBEANS-3738
> URL: https://issues.apache.org/jira/browse/NETBEANS-3738
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.2
>Reporter: Anthony Vanelverdinghe
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The eventspy is compiled with JDK 1.7. However, for some legacy project, I 
> need to build with Maven 3.2.5 and JDK 1.6 So this doesn't work (see below). 
> NetBeans shouldn't specify the eventspy on the commandline if the JDK < 1.7
> {noformat}
> Error injecting: org.netbeans.modules.maven.event.NbEventSpy
> java.lang.TypeNotPresentException: Type 
> org.netbeans.modules.maven.event.NbEventSpy not present
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
> 
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.UnsupportedClassVersionError: 
> org/netbeans/modules/maven/event/NbEventSpy : Unsupported major.minor version 
> 51.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
> 
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
>   ... 65 more
> Error executing Maven.
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
> 
> {noformat}



--
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-2082) Scroll to the caret position when code fold feature is run

2020-03-10 Thread Pier Luigi (Jira)


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

Pier Luigi commented on NETBEANS-2082:
--

Just tested latest NB 11.3 -> bug is still here :-(

> Scroll to the caret position when code fold feature is run
> --
>
> Key: NETBEANS-2082
> URL: https://issues.apache.org/jira/browse/NETBEANS-2082
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Code folding
>Affects Versions: 10.0, 11.0, 11.1, 11.2
> Environment: Netbeans 11 with OpenJDK 12. 
> Darwin MacBook-Pro-2.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 
> 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
> Netbeans 10 with OpenJDK 11.
> Darwin MacBook-Pro-2.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 
> 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
>Reporter: Pier Luigi
>Assignee: Svatopluk Dedic
>Priority: Critical
> Attachments: DemoPHPCodeFoldingProblem_NB11.php, netbeans-2082.gif
>
>
> Collapsing a block often results in a jump of the editor to an incorrect 
> editing position (and scrolling the page cause a rejump to that position 
> after a second of scroll inactivity).
> The same sources works perfectly with Netbeans 8.2.



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

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

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



svn commit: r38463 - in /dev/netbeans: netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/ netbeans-maven-utilities/nbm-maven-plugin/nbm-maven-plugin-4.5/ netbeans-platform/11.3/ n

2020-03-10 Thread skygo
Author: skygo
Date: Tue Mar 10 15:48:48 2020
New Revision: 38463

Log:
Add release of netbeans-maven-utilities nbm4.5 repository1.6

Added:

dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/

dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip
   (with props)

dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip.asc
   (with props)

dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip.sha512
   (with props)
dev/netbeans/netbeans-maven-utilities/nbm-maven-plugin/nbm-maven-plugin-4.5/

dev/netbeans/netbeans-maven-utilities/nbm-maven-plugin/nbm-maven-plugin-4.5/nbm-maven-plugin-4.5-source-release.zip
   (with props)

dev/netbeans/netbeans-maven-utilities/nbm-maven-plugin/nbm-maven-plugin-4.5/nbm-maven-plugin-4.5-source-release.zip.asc
   (with props)

dev/netbeans/netbeans-maven-utilities/nbm-maven-plugin/nbm-maven-plugin-4.5/nbm-maven-plugin-4.5-source-release.zip.sha512
   (with props)
Removed:
dev/netbeans/netbeans-platform/11.3/
dev/netbeans/netbeans/11.3/

Added: 
dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip
==
Binary file - no diff available.

Propchange: 
dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip
--
svn:executable = *

Propchange: 
dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip
--
svn:mime-type = application/octet-stream

Added: 
dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip.asc
==
--- 
dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip.asc
 (added)
+++ 
dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip.asc
 Tue Mar 10 15:48:48 2020
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEEj+HCbxXgMg50C67YSiYBztqTgvMFAl5ntUEACgkQSiYBztqT
+gvMVPg//bwyUP3WOBHFqsX8zECoz/UKytm1rd96R8g9TVVUm7cWqyId2XU5dNqmv
+Y5L7fKupagd6sl6mlOaWH9b4k+/lJZognqSkAWJt/PMV/Z094wzhGXN5XrUjh8Sc
+ZnQ8cjBXCdWGqxd+eir3/aSq3BobnhPqVhYEriBurL3fUe/3G/fLRiKV4J8K6Vtq
+RyJLUDq6mmkmQiCoS20yLZMG0moEUULg20WzAgQXQZFfNgqFcUJisj7DuSYdWIYZ
+oPwS6iRcO6626czw0TWsyCViAYZZuYi7j0Roteo1tcTM5RCNxJvNFcayuD/T6wgf
+Ypdc5r4SvddlxHssCqaEDdLWv5cT/B4aB2esMUaQMGGOCjdGWLFdnHiJxD2SlT0I
+0fKa88jh0RphGkX8FVQSTVB5uSDcRyl8agBmzR0zElgUi5geO3KnMrT6BoSnnhAd
+ZoscTQYd+WvlfgZfevrnZZXRiXXe65FHeHth8Pbj+q4iKyeYC0o+hzBrskWZmHdq
+hzGoAQd1bOOOLK67HvC1YDVzZhQfPgb15u0o0267koLx97t4wH9ieH1892IKI0/L
+RWTmMBwJh9IqQauBCtkrQibdNlLFK5mlrwms0fOKqdnGOrvvn1uCVcWUR2lGqZHy
+AClW2hYx0NOR0eLX2tmWZQg3sBozjuKUQl/pmRr4teK4n1kAFGo=
+=qlDw
+-END PGP SIGNATURE-

Propchange: 
dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip.asc
--
svn:executable = *

Added: 
dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip.sha512
==
--- 
dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip.sha512
 (added)
+++ 
dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip.sha512
 Tue Mar 10 15:48:48 2020
@@ -0,0 +1 @@
+f5610d4bb11849f92c95a890389023a58830fb19c490a31dc7ff89478d1462b426efde273e97c4eb0350f32b263acbc5d10a3703bf9190d74d1eff10fa2a2821
\ No newline at end of file

Propchange: 
dev/netbeans/netbeans-maven-utilities/nb-repository-plugin/nb-repository-plugin-1.6/nb-repository-plugin-1.6-source-release.zip.sha512
--
svn:executable = *

Added: 
dev/netbeans/netbeans-maven-utilities/nbm-maven-plugin/nbm-maven-plugin-4.5/nbm-maven-plugin-4.5-source-release.zip
==
Binary file - no diff available.

Propchange: 

[netbeans-mavenutils-nb-repository-plugin] branch master updated: [maven-release-plugin] prepare for next development iteration

2020-03-10 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-mavenutils-nb-repository-plugin.git


The following commit(s) were added to refs/heads/master by this push:
 new 39b5eaf  [maven-release-plugin] prepare for next development iteration
39b5eaf is described below

commit 39b5eafb01b662fe0f509a208d8c83a1b37905d5
Author: Eric Barboni 
AuthorDate: Tue Mar 10 16:42:16 2020 +0100

[maven-release-plugin] prepare for next development iteration
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1366485..4d21374 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@ under the License.
 4.0.0
 
 nb-repository-plugin
-1.6
+1.7-SNAPSHOT
 maven-plugin
 
 Apache NetBeans Maven Utilities - NB Repository Plugin
@@ -54,7 +54,7 @@ under the License.
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nb-repository-plugin.git
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nb-repository-plugin.git
 
https://github.com/apache/netbeans-mavenutils-nb-repository-plugin
-  nb-repository-plugin-1.6
+  HEAD
 
 
 


-
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-mavenutils-nb-repository-plugin] branch master updated: [maven-release-plugin] prepare release nb-repository-plugin-1.6

2020-03-10 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-mavenutils-nb-repository-plugin.git


The following commit(s) were added to refs/heads/master by this push:
 new 89852ef  [maven-release-plugin] prepare release 
nb-repository-plugin-1.6
89852ef is described below

commit 89852efaee3982acc6c111976e6f1764d9a0da1c
Author: Eric Barboni 
AuthorDate: Tue Mar 10 16:41:54 2020 +0100

[maven-release-plugin] prepare release nb-repository-plugin-1.6
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 56d1dcb..1366485 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@ under the License.
 4.0.0
 
 nb-repository-plugin
-1.6-SNAPSHOT
+1.6
 maven-plugin
 
 Apache NetBeans Maven Utilities - NB Repository Plugin
@@ -54,7 +54,7 @@ under the License.
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nb-repository-plugin.git
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nb-repository-plugin.git
 
https://github.com/apache/netbeans-mavenutils-nb-repository-plugin
-  HEAD
+  nb-repository-plugin-1.6
 
 
 


-
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-mavenutils-nb-repository-plugin] annotated tag nb-repository-plugin-1.6 created (now 1484bec)

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

skygo pushed a change to annotated tag nb-repository-plugin-1.6
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nb-repository-plugin.git.


  at 1484bec  (tag)
 tagging 89852efaee3982acc6c111976e6f1764d9a0da1c (commit)
 replaces nb-repository-plugin-1.5
  by Eric Barboni
  on Tue Mar 10 16:42:10 2020 +0100

- Log -
[maven-release-plugin] copy for tag nb-repository-plugin-1.6
---

No new revisions were added by this update.


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

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



[netbeans-mavenutils-nbm-maven-plugin] branch master updated: [maven-release-plugin] prepare for next development iteration

2020-03-10 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-mavenutils-nbm-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
 new 68ca96b  [maven-release-plugin] prepare for next development iteration
68ca96b is described below

commit 68ca96b9b30f4565ee7331d07be15c750236c9f4
Author: Eric Barboni 
AuthorDate: Tue Mar 10 16:30:32 2020 +0100

[maven-release-plugin] prepare for next development iteration
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 6a0408c..c149649 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@ under the License.
 4.0.0
 
 nbm-maven-plugin
-4.5
+4.6-SNAPSHOT
 maven-plugin
 
 Apache NetBeans Maven Utilities - NBM Maven Plugin
@@ -54,7 +54,7 @@ under the License.
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-plugin.git
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-plugin.git
 
https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin
-  nbm-maven-plugin-4.5
+  HEAD
   
 
 


-
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-mavenutils-nbm-maven-plugin] branch master updated: [maven-release-plugin] prepare release nbm-maven-plugin-4.5

2020-03-10 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-mavenutils-nbm-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
 new 824c576  [maven-release-plugin] prepare release nbm-maven-plugin-4.5
824c576 is described below

commit 824c5761fab4164b56698efe59260a50e84ee8e7
Author: Eric Barboni 
AuthorDate: Tue Mar 10 16:30:11 2020 +0100

[maven-release-plugin] prepare release nbm-maven-plugin-4.5
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 293217c..6a0408c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@ under the License.
 4.0.0
 
 nbm-maven-plugin
-4.5-SNAPSHOT
+4.5
 maven-plugin
 
 Apache NetBeans Maven Utilities - NBM Maven Plugin
@@ -54,7 +54,7 @@ under the License.
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-plugin.git
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-plugin.git
 
https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin
-  HEAD
+  nbm-maven-plugin-4.5
   
 
 


-
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-mavenutils-nbm-maven-plugin] annotated tag nbm-maven-plugin-4.5 created (now 748c710)

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

skygo pushed a change to annotated tag nbm-maven-plugin-4.5
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-plugin.git.


  at 748c710  (tag)
 tagging 824c5761fab4164b56698efe59260a50e84ee8e7 (commit)
 replaces nbm-maven-plugin-4.4
  by Eric Barboni
  on Tue Mar 10 16:30:26 2020 +0100

- Log -
[maven-release-plugin] copy for tag nbm-maven-plugin-4.5
---

No new revisions were added by this update.


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

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



[netbeans-mavenutils-nbm-maven-plugin] branch master updated: reconfigure jira

2020-03-10 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-mavenutils-nbm-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
 new aafd9ed  reconfigure jira
 new b199f90  Merge pull request #7 from ebarboni/adaptjira
aafd9ed is described below

commit aafd9ed3fdbb6c62179eae45c0e17882483d737d
Author: Eric Barboni 
AuthorDate: Tue Mar 10 14:51:33 2020 +0100

reconfigure jira
---
 README.md | 2 +-
 pom.xml   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 29208cd..fc28543 100755
--- a/README.md
+++ b/README.md
@@ -33,5 +33,5 @@
 
 ### Reporting Bugs
 
-Bugs should be reported to 
https://issues.apache.org/jira/projects/NETBEANS/issues/ using the component 
**mavenutilities**
+Bugs should be reported to 
https://issues.apache.org/jira/projects/NETBEANSINFRA/issues/ using the 
component **MU - Apache NetBeans NBM maven plugin**
 
diff --git a/pom.xml b/pom.xml
index ed3fa6d..293217c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,7 +38,7 @@ under the License.
 https://bits.netbeans.org/mavenutilities/nbm-maven-plugin
 
 jira
-https://issues.apache.org/jira/browse/NETBEANS
+https://issues.apache.org/jira/browse/NETBEANSINFRA
 
 
 3.0.5
@@ -178,7 +178,7 @@ under the License.
 maven-changes-plugin
 2.12.1
  
-true
+12336702
 

 


-
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-3994) Errors are not presented in editor without restart IDE

2020-03-10 Thread Netbeans User 2019 (Jira)
Netbeans User 2019 created NETBEANS-3994:


 Summary: Errors are not presented in editor without restart IDE
 Key: NETBEANS-3994
 URL: https://issues.apache.org/jira/browse/NETBEANS-3994
 Project: NetBeans
  Issue Type: Bug
  Components: java - Compiler, java - Editor, platform - Action Items
Affects Versions: 11.3
 Environment: OpenJDK 11.0.2
Gradle 6.2.2
Reporter: Netbeans User 2019


editor shows red indicator on tab, but no error in editor, but errors are in 
action items and only help reopen IDE (closing tab and open tab again does not 
help and even additional editing of file {color:#172b4d}does not help;new 
functionality of "reload project" wasn't tested{color})

As alternative solution: To be added to tab action for reload



--
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-3993) Import static of lombok generated builder method

2020-03-10 Thread Netbeans User 2019 (Jira)
Netbeans User 2019 created NETBEANS-3993:


 Summary: Import static of lombok generated builder method
 Key: NETBEANS-3993
 URL: https://issues.apache.org/jira/browse/NETBEANS-3993
 Project: NetBeans
  Issue Type: Bug
  Components: java - Compiler, java - Editor, projects - Gradle
Affects Versions: 11.2, 11.3
 Environment: OpenJDK 11.0.2
Gradle 6.2.2
Reporter: Netbeans User 2019
Assignee: Laszlo Kishalmi


"import static" of builder method created by lombok is reported as error, but 
only for 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-3992) Fields are shown as unused even there are possible getters and setters via lombok

2020-03-10 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 updated NETBEANS-3992:
-
Environment: 
OpenJDK 11.0.2
Gradle 6.2.2

  was:OpenJDK 11.0.2


> Fields are shown as unused even there are possible getters and setters via 
> lombok
> -
>
> Key: NETBEANS-3992
> URL: https://issues.apache.org/jira/browse/NETBEANS-3992
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler, java - Editor, projects - Gradle
>Affects Versions: 11.3
> Environment: OpenJDK 11.0.2
> Gradle 6.2.2
>Reporter: Netbeans User 2019
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: Lombok
>
> fields that have getters and setters via lombok is presented as unsued since 
> 11.3 (no such issue has been seen in 11.2)



--
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-3992) Fields are shown as unused even there are possible getters and setters via lombok

2020-03-10 Thread Netbeans User 2019 (Jira)
Netbeans User 2019 created NETBEANS-3992:


 Summary: Fields are shown as unused even there are possible 
getters and setters via lombok
 Key: NETBEANS-3992
 URL: https://issues.apache.org/jira/browse/NETBEANS-3992
 Project: NetBeans
  Issue Type: Bug
  Components: java - Compiler, java - Editor, projects - Gradle
Affects Versions: 11.3
 Environment: OpenJDK 11.0.2
Reporter: Netbeans User 2019
Assignee: Laszlo Kishalmi


fields that have getters and setters via lombok is presented as unsued since 
11.3 (no such issue has been seen in 11.2)



--
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-3991) Refactoring of variable affect comments outside of variable scope

2020-03-10 Thread Netbeans User 2019 (Jira)
Netbeans User 2019 created NETBEANS-3991:


 Summary: Refactoring of variable affect comments outside of 
variable scope
 Key: NETBEANS-3991
 URL: https://issues.apache.org/jira/browse/NETBEANS-3991
 Project: NetBeans
  Issue Type: Bug
  Components: java - Refactoring
Affects Versions: 11.3
 Environment: OpenJDK 11.0.2
Reporter: Netbeans User 2019


It is possible to see that it is modified comments by refactoring outside of 
method where is used such local variable.



--
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-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni commented on NETBEANS-2915:


Would be good to now if this work using Maven 3.6.3 on both 1.6.0 and 1.5.0

> Maven execution single file with PSVM throws exception
> --
>
> Key: NETBEANS-2915
> URL: https://issues.apache.org/jira/browse/NETBEANS-2915
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.1, 11.3
> Environment: Windows 10 64, jdk 8
>Reporter: jose luis romero
>Priority: Major
>
> In all my maven desktop projects, when I add a PSVM to a file to test things, 
> it may work one or maybe 2 times, but after a "clean and build" or any 
> modification to the POM, I can't run it anymore.
> The only workaround that I found is going to the project > Properties > Run > 
> and change the Main Class
> *This problem is exclusive for Windows, on Linux doesn't happen*
> {code:java}
> cd D:\NetBeansProjects\Sindicato; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8" 
> M2_HOME=C:\\apache-maven cmd /c "\"\"C:\\apache-maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath 
> org.sindicato.controller.PlanesController\" -Dexec.executable=\"C:\\Program 
> Files\\Java\\jdk1.8\\bin\\java.exe\" -Dexec.classpathScope=runtime 
> -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""{code}
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> Scanning for projects...
>  
> {code:java}
> 
> Building Sindicato 1
> 
> --- exec-maven-plugin:1.5.0:exec (default-cli) @ sas ---
> Error injecting: org.codehaus.mojo.exec.ExecMojo
> java.lang.NoClassDefFoundError: org/apache/commons/exec/ProcessDestroyer
>  at java.lang.Class.getDeclaredConstructors0 (Native Method)
>  at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>  at java.lang.Class.getDeclaredConstructors (Class.java:2020)
>  at com.google.inject.spi.InjectionPoint.forConstructorOf 
> (InjectionPoint.java:245)
>  at com.google.inject.internal.ConstructorBindingImpl.create 
> (ConstructorBindingImpl.java:99)
>  at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
> (InjectorImpl.java:658)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
> (InjectorImpl.java:882)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
> (InjectorImpl.java:805)
>  at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
> (InjectorImpl.java:282)
>  at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
> (InjectorImpl.java:214)
>  at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
> (InjectorImpl.java:1006)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1038)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1001)
>  at com.google.inject.internal.InjectorImpl.getInstance 
> (InjectorImpl.java:1051)
>  at org.eclipse.sisu.space.AbstractDeferredClass.get 
> (AbstractDeferredClass.java:48)
>  at com.google.inject.internal.ProviderInternalFactory.provision 
> (ProviderInternalFactory.java:81)
>  at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
> (InternalFactoryToInitializableAdapter.java:53)
>  at com.google.inject.internal.ProviderInternalFactory$1.call 
> (ProviderInternalFactory.java:65)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:115)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:133)
>  at com.google.inject.internal.ProvisionListenerStackCallback.provision 
> (ProvisionListenerStackCallback.java:68)
>  at com.google.inject.internal.ProviderInternalFactory.circularGet 
> (ProviderInternalFactory.java:63)
>  at com.google.inject.internal.InternalFactoryToInitializableAdapter.get 
> (InternalFactoryToInitializableAdapter.java:45)
>  at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
>  at com.google.inject.internal.InjectorImpl.callInContext 
> (InjectorImpl.java:1092)
>  at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
>  at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
>  at org.eclipse.sisu.inject.LazyBeanEntry.getValue 

[jira] [Comment Edited] (NETBEANS-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread jose luis romero (Jira)


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

jose luis romero edited comment on NETBEANS-2915 at 3/10/20, 1:01 PM:
--

similar error  with 1.6.0, it seems that can't find or download all 
dependencies needed


{code:java}


--- exec-maven-plugin:1.6.0:exec (default-cli) @ sas ---
Error injecting: org.codehaus.mojo.exec.ExecMojo
java.lang.NoClassDefFoundError: org/apache/commons/exec/ExecuteException
at java.lang.Class.getDeclaredConstructors0 (Native Method)
at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
at java.lang.Class.getDeclaredConstructors (Class.java:2020)
at com.google.inject.spi.InjectionPoint.forConstructorOf 
(InjectionPoint.java:245)
at com.google.inject.internal.ConstructorBindingImpl.create 
(ConstructorBindingImpl.java:99)
at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
(InjectorImpl.java:658)
at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
(InjectorImpl.java:882)
at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
(InjectorImpl.java:805)
at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
(InjectorImpl.java:282)
at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
(InjectorImpl.java:214)
at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
(InjectorImpl.java:1006)
at com.google.inject.internal.InjectorImpl.getProvider 
(InjectorImpl.java:1038)
at com.google.inject.internal.InjectorImpl.getProvider 
(InjectorImpl.java:1001)
at com.google.inject.internal.InjectorImpl.getInstance 
(InjectorImpl.java:1051)
at org.eclipse.sisu.space.AbstractDeferredClass.get 
(AbstractDeferredClass.java:48)
at com.google.inject.internal.ProviderInternalFactory.provision 
(ProviderInternalFactory.java:81)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
(InternalFactoryToInitializableAdapter.java:53)
at com.google.inject.internal.ProviderInternalFactory$1.call 
(ProviderInternalFactory.java:65)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
(ProvisionListenerStackCallback.java:115)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
(ProvisionListenerStackCallback.java:133)
at com.google.inject.internal.ProvisionListenerStackCallback.provision 
(ProvisionListenerStackCallback.java:68)
at com.google.inject.internal.ProviderInternalFactory.circularGet 
(ProviderInternalFactory.java:63)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get 
(InternalFactoryToInitializableAdapter.java:45)
at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext 
(InjectorImpl.java:1092)
at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
at org.codehaus.plexus.DefaultPlexusContainer.lookup 
(DefaultPlexusContainer.java:263)
at org.codehaus.plexus.DefaultPlexusContainer.lookup 
(DefaultPlexusContainer.java:255)
at 
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo 
(DefaultMavenPluginManager.java:519)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:121)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at 

[jira] [Commented] (NETBEANS-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread jose luis romero (Jira)


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

jose luis romero commented on NETBEANS-2915:


similar error  with 1.6.0, it seems that can't find or download all 
dependencies need it


{code:java}


--- exec-maven-plugin:1.6.0:exec (default-cli) @ sas ---
Error injecting: org.codehaus.mojo.exec.ExecMojo
java.lang.NoClassDefFoundError: org/apache/commons/exec/ExecuteException
at java.lang.Class.getDeclaredConstructors0 (Native Method)
at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
at java.lang.Class.getDeclaredConstructors (Class.java:2020)
at com.google.inject.spi.InjectionPoint.forConstructorOf 
(InjectionPoint.java:245)
at com.google.inject.internal.ConstructorBindingImpl.create 
(ConstructorBindingImpl.java:99)
at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
(InjectorImpl.java:658)
at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
(InjectorImpl.java:882)
at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
(InjectorImpl.java:805)
at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
(InjectorImpl.java:282)
at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
(InjectorImpl.java:214)
at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
(InjectorImpl.java:1006)
at com.google.inject.internal.InjectorImpl.getProvider 
(InjectorImpl.java:1038)
at com.google.inject.internal.InjectorImpl.getProvider 
(InjectorImpl.java:1001)
at com.google.inject.internal.InjectorImpl.getInstance 
(InjectorImpl.java:1051)
at org.eclipse.sisu.space.AbstractDeferredClass.get 
(AbstractDeferredClass.java:48)
at com.google.inject.internal.ProviderInternalFactory.provision 
(ProviderInternalFactory.java:81)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
(InternalFactoryToInitializableAdapter.java:53)
at com.google.inject.internal.ProviderInternalFactory$1.call 
(ProviderInternalFactory.java:65)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
(ProvisionListenerStackCallback.java:115)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
(ProvisionListenerStackCallback.java:133)
at com.google.inject.internal.ProvisionListenerStackCallback.provision 
(ProvisionListenerStackCallback.java:68)
at com.google.inject.internal.ProviderInternalFactory.circularGet 
(ProviderInternalFactory.java:63)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get 
(InternalFactoryToInitializableAdapter.java:45)
at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext 
(InjectorImpl.java:1092)
at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
at org.codehaus.plexus.DefaultPlexusContainer.lookup 
(DefaultPlexusContainer.java:263)
at org.codehaus.plexus.DefaultPlexusContainer.lookup 
(DefaultPlexusContainer.java:255)
at 
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo 
(DefaultMavenPluginManager.java:519)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:121)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 

[jira] [Comment Edited] (NETBEANS-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread jose luis romero (Jira)


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

jose luis romero edited comment on NETBEANS-2915 at 3/10/20, 12:43 PM:
---

another workaround is to change the plugin version to 1.2.1 (the one used in 
Netbeans 8.2) on *Properties > Actions > Execution Goals* in:
Run project
Run file via main()
Debug project 
and every others used goals normally


was (Author: firuzzz):
another workaround is to change the Maven version to 1.2.1 (the one used in 
Netbeans 8.2) on *Properties > Actions > Execution Goals* in:
Run project
Run file via main()
Debug project 
and every others used goals normally

> Maven execution single file with PSVM throws exception
> --
>
> Key: NETBEANS-2915
> URL: https://issues.apache.org/jira/browse/NETBEANS-2915
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.1, 11.3
> Environment: Windows 10 64, jdk 8
>Reporter: jose luis romero
>Priority: Major
>
> In all my maven desktop projects, when I add a PSVM to a file to test things, 
> it may work one or maybe 2 times, but after a "clean and build" or any 
> modification to the POM, I can't run it anymore.
> The only workaround that I found is going to the project > Properties > Run > 
> and change the Main Class
> *This problem is exclusive for Windows, on Linux doesn't happen*
> {code:java}
> cd D:\NetBeansProjects\Sindicato; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8" 
> M2_HOME=C:\\apache-maven cmd /c "\"\"C:\\apache-maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath 
> org.sindicato.controller.PlanesController\" -Dexec.executable=\"C:\\Program 
> Files\\Java\\jdk1.8\\bin\\java.exe\" -Dexec.classpathScope=runtime 
> -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""{code}
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> Scanning for projects...
>  
> {code:java}
> 
> Building Sindicato 1
> 
> --- exec-maven-plugin:1.5.0:exec (default-cli) @ sas ---
> Error injecting: org.codehaus.mojo.exec.ExecMojo
> java.lang.NoClassDefFoundError: org/apache/commons/exec/ProcessDestroyer
>  at java.lang.Class.getDeclaredConstructors0 (Native Method)
>  at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>  at java.lang.Class.getDeclaredConstructors (Class.java:2020)
>  at com.google.inject.spi.InjectionPoint.forConstructorOf 
> (InjectionPoint.java:245)
>  at com.google.inject.internal.ConstructorBindingImpl.create 
> (ConstructorBindingImpl.java:99)
>  at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
> (InjectorImpl.java:658)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
> (InjectorImpl.java:882)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
> (InjectorImpl.java:805)
>  at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
> (InjectorImpl.java:282)
>  at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
> (InjectorImpl.java:214)
>  at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
> (InjectorImpl.java:1006)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1038)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1001)
>  at com.google.inject.internal.InjectorImpl.getInstance 
> (InjectorImpl.java:1051)
>  at org.eclipse.sisu.space.AbstractDeferredClass.get 
> (AbstractDeferredClass.java:48)
>  at com.google.inject.internal.ProviderInternalFactory.provision 
> (ProviderInternalFactory.java:81)
>  at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
> (InternalFactoryToInitializableAdapter.java:53)
>  at com.google.inject.internal.ProviderInternalFactory$1.call 
> (ProviderInternalFactory.java:65)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:115)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:133)
>  at com.google.inject.internal.ProvisionListenerStackCallback.provision 
> (ProvisionListenerStackCallback.java:68)
>  at com.google.inject.internal.ProviderInternalFactory.circularGet 
> (ProviderInternalFactory.java:63)
>  at 

[jira] [Commented] (NETBEANS-3738) Maven builds: don't specify eventspy when JDK < 1.7

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni commented on NETBEANS-3738:


[~anthonyv.be] Would be nice I you can test

> Maven builds: don't specify eventspy when JDK < 1.7
> ---
>
> Key: NETBEANS-3738
> URL: https://issues.apache.org/jira/browse/NETBEANS-3738
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.2
>Reporter: Anthony Vanelverdinghe
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The eventspy is compiled with JDK 1.7. However, for some legacy project, I 
> need to build with Maven 3.2.5 and JDK 1.6 So this doesn't work (see below). 
> NetBeans shouldn't specify the eventspy on the commandline if the JDK < 1.7
> {noformat}
> Error injecting: org.netbeans.modules.maven.event.NbEventSpy
> java.lang.TypeNotPresentException: Type 
> org.netbeans.modules.maven.event.NbEventSpy not present
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
> 
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.UnsupportedClassVersionError: 
> org/netbeans/modules/maven/event/NbEventSpy : Unsupported major.minor version 
> 51.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
> 
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
>   ... 65 more
> Error executing Maven.
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
> 
> {noformat}



--
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-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni commented on NETBEANS-2915:


[~FiruzzZ] did you try with 1.6.0 instead of 1.2.1 ?

> Maven execution single file with PSVM throws exception
> --
>
> Key: NETBEANS-2915
> URL: https://issues.apache.org/jira/browse/NETBEANS-2915
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.1, 11.3
> Environment: Windows 10 64, jdk 8
>Reporter: jose luis romero
>Priority: Major
>
> In all my maven desktop projects, when I add a PSVM to a file to test things, 
> it may work one or maybe 2 times, but after a "clean and build" or any 
> modification to the POM, I can't run it anymore.
> The only workaround that I found is going to the project > Properties > Run > 
> and change the Main Class
> *This problem is exclusive for Windows, on Linux doesn't happen*
> {code:java}
> cd D:\NetBeansProjects\Sindicato; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8" 
> M2_HOME=C:\\apache-maven cmd /c "\"\"C:\\apache-maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath 
> org.sindicato.controller.PlanesController\" -Dexec.executable=\"C:\\Program 
> Files\\Java\\jdk1.8\\bin\\java.exe\" -Dexec.classpathScope=runtime 
> -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""{code}
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> Scanning for projects...
>  
> {code:java}
> 
> Building Sindicato 1
> 
> --- exec-maven-plugin:1.5.0:exec (default-cli) @ sas ---
> Error injecting: org.codehaus.mojo.exec.ExecMojo
> java.lang.NoClassDefFoundError: org/apache/commons/exec/ProcessDestroyer
>  at java.lang.Class.getDeclaredConstructors0 (Native Method)
>  at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>  at java.lang.Class.getDeclaredConstructors (Class.java:2020)
>  at com.google.inject.spi.InjectionPoint.forConstructorOf 
> (InjectionPoint.java:245)
>  at com.google.inject.internal.ConstructorBindingImpl.create 
> (ConstructorBindingImpl.java:99)
>  at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
> (InjectorImpl.java:658)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
> (InjectorImpl.java:882)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
> (InjectorImpl.java:805)
>  at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
> (InjectorImpl.java:282)
>  at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
> (InjectorImpl.java:214)
>  at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
> (InjectorImpl.java:1006)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1038)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1001)
>  at com.google.inject.internal.InjectorImpl.getInstance 
> (InjectorImpl.java:1051)
>  at org.eclipse.sisu.space.AbstractDeferredClass.get 
> (AbstractDeferredClass.java:48)
>  at com.google.inject.internal.ProviderInternalFactory.provision 
> (ProviderInternalFactory.java:81)
>  at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
> (InternalFactoryToInitializableAdapter.java:53)
>  at com.google.inject.internal.ProviderInternalFactory$1.call 
> (ProviderInternalFactory.java:65)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:115)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:133)
>  at com.google.inject.internal.ProvisionListenerStackCallback.provision 
> (ProvisionListenerStackCallback.java:68)
>  at com.google.inject.internal.ProviderInternalFactory.circularGet 
> (ProviderInternalFactory.java:63)
>  at com.google.inject.internal.InternalFactoryToInitializableAdapter.get 
> (InternalFactoryToInitializableAdapter.java:45)
>  at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
>  at com.google.inject.internal.InjectorImpl.callInContext 
> (InjectorImpl.java:1092)
>  at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
>  at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
>  at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
>  at 

[jira] [Updated] (NETBEANS-3738) Maven builds: don't specify eventspy when JDK < 1.7

2020-03-10 Thread ASF GitHub Bot (Jira)


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

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

> Maven builds: don't specify eventspy when JDK < 1.7
> ---
>
> Key: NETBEANS-3738
> URL: https://issues.apache.org/jira/browse/NETBEANS-3738
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.2
>Reporter: Anthony Vanelverdinghe
>Priority: Major
>  Labels: pull-request-available
>
> The eventspy is compiled with JDK 1.7. However, for some legacy project, I 
> need to build with Maven 3.2.5 and JDK 1.6 So this doesn't work (see below). 
> NetBeans shouldn't specify the eventspy on the commandline if the JDK < 1.7
> {noformat}
> Error injecting: org.netbeans.modules.maven.event.NbEventSpy
> java.lang.TypeNotPresentException: Type 
> org.netbeans.modules.maven.event.NbEventSpy not present
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
> 
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.UnsupportedClassVersionError: 
> org/netbeans/modules/maven/event/NbEventSpy : Unsupported major.minor version 
> 51.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
> 
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
>   ... 65 more
> Error executing Maven.
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
> 
> {noformat}



--
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-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread jose luis romero (Jira)


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

jose luis romero commented on NETBEANS-2915:


but  NB 11+  uses 1.5.0 if you check the logs that I posted, I am talking about 
the plugin exec-maven-plugin version, not Maven itself 

> Maven execution single file with PSVM throws exception
> --
>
> Key: NETBEANS-2915
> URL: https://issues.apache.org/jira/browse/NETBEANS-2915
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.1, 11.3
> Environment: Windows 10 64, jdk 8
>Reporter: jose luis romero
>Priority: Major
>
> In all my maven desktop projects, when I add a PSVM to a file to test things, 
> it may work one or maybe 2 times, but after a "clean and build" or any 
> modification to the POM, I can't run it anymore.
> The only workaround that I found is going to the project > Properties > Run > 
> and change the Main Class
> *This problem is exclusive for Windows, on Linux doesn't happen*
> {code:java}
> cd D:\NetBeansProjects\Sindicato; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8" 
> M2_HOME=C:\\apache-maven cmd /c "\"\"C:\\apache-maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath 
> org.sindicato.controller.PlanesController\" -Dexec.executable=\"C:\\Program 
> Files\\Java\\jdk1.8\\bin\\java.exe\" -Dexec.classpathScope=runtime 
> -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""{code}
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> Scanning for projects...
>  
> {code:java}
> 
> Building Sindicato 1
> 
> --- exec-maven-plugin:1.5.0:exec (default-cli) @ sas ---
> Error injecting: org.codehaus.mojo.exec.ExecMojo
> java.lang.NoClassDefFoundError: org/apache/commons/exec/ProcessDestroyer
>  at java.lang.Class.getDeclaredConstructors0 (Native Method)
>  at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>  at java.lang.Class.getDeclaredConstructors (Class.java:2020)
>  at com.google.inject.spi.InjectionPoint.forConstructorOf 
> (InjectionPoint.java:245)
>  at com.google.inject.internal.ConstructorBindingImpl.create 
> (ConstructorBindingImpl.java:99)
>  at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
> (InjectorImpl.java:658)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
> (InjectorImpl.java:882)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
> (InjectorImpl.java:805)
>  at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
> (InjectorImpl.java:282)
>  at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
> (InjectorImpl.java:214)
>  at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
> (InjectorImpl.java:1006)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1038)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1001)
>  at com.google.inject.internal.InjectorImpl.getInstance 
> (InjectorImpl.java:1051)
>  at org.eclipse.sisu.space.AbstractDeferredClass.get 
> (AbstractDeferredClass.java:48)
>  at com.google.inject.internal.ProviderInternalFactory.provision 
> (ProviderInternalFactory.java:81)
>  at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
> (InternalFactoryToInitializableAdapter.java:53)
>  at com.google.inject.internal.ProviderInternalFactory$1.call 
> (ProviderInternalFactory.java:65)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:115)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:133)
>  at com.google.inject.internal.ProvisionListenerStackCallback.provision 
> (ProvisionListenerStackCallback.java:68)
>  at com.google.inject.internal.ProviderInternalFactory.circularGet 
> (ProviderInternalFactory.java:63)
>  at com.google.inject.internal.InternalFactoryToInitializableAdapter.get 
> (InternalFactoryToInitializableAdapter.java:45)
>  at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
>  at com.google.inject.internal.InjectorImpl.callInContext 
> (InjectorImpl.java:1092)
>  at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
>  at org.eclipse.sisu.inject.Guice4$1.get 

[jira] [Commented] (NETBEANS-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni commented on NETBEANS-2915:


[~FiruzzZ], my bad it's executor plugin :D, did you try the 1.6.0 ?

> Maven execution single file with PSVM throws exception
> --
>
> Key: NETBEANS-2915
> URL: https://issues.apache.org/jira/browse/NETBEANS-2915
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.1, 11.3
> Environment: Windows 10 64, jdk 8
>Reporter: jose luis romero
>Priority: Major
>
> In all my maven desktop projects, when I add a PSVM to a file to test things, 
> it may work one or maybe 2 times, but after a "clean and build" or any 
> modification to the POM, I can't run it anymore.
> The only workaround that I found is going to the project > Properties > Run > 
> and change the Main Class
> *This problem is exclusive for Windows, on Linux doesn't happen*
> {code:java}
> cd D:\NetBeansProjects\Sindicato; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8" 
> M2_HOME=C:\\apache-maven cmd /c "\"\"C:\\apache-maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath 
> org.sindicato.controller.PlanesController\" -Dexec.executable=\"C:\\Program 
> Files\\Java\\jdk1.8\\bin\\java.exe\" -Dexec.classpathScope=runtime 
> -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""{code}
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> Scanning for projects...
>  
> {code:java}
> 
> Building Sindicato 1
> 
> --- exec-maven-plugin:1.5.0:exec (default-cli) @ sas ---
> Error injecting: org.codehaus.mojo.exec.ExecMojo
> java.lang.NoClassDefFoundError: org/apache/commons/exec/ProcessDestroyer
>  at java.lang.Class.getDeclaredConstructors0 (Native Method)
>  at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>  at java.lang.Class.getDeclaredConstructors (Class.java:2020)
>  at com.google.inject.spi.InjectionPoint.forConstructorOf 
> (InjectionPoint.java:245)
>  at com.google.inject.internal.ConstructorBindingImpl.create 
> (ConstructorBindingImpl.java:99)
>  at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
> (InjectorImpl.java:658)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
> (InjectorImpl.java:882)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
> (InjectorImpl.java:805)
>  at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
> (InjectorImpl.java:282)
>  at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
> (InjectorImpl.java:214)
>  at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
> (InjectorImpl.java:1006)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1038)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1001)
>  at com.google.inject.internal.InjectorImpl.getInstance 
> (InjectorImpl.java:1051)
>  at org.eclipse.sisu.space.AbstractDeferredClass.get 
> (AbstractDeferredClass.java:48)
>  at com.google.inject.internal.ProviderInternalFactory.provision 
> (ProviderInternalFactory.java:81)
>  at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
> (InternalFactoryToInitializableAdapter.java:53)
>  at com.google.inject.internal.ProviderInternalFactory$1.call 
> (ProviderInternalFactory.java:65)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:115)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:133)
>  at com.google.inject.internal.ProvisionListenerStackCallback.provision 
> (ProvisionListenerStackCallback.java:68)
>  at com.google.inject.internal.ProviderInternalFactory.circularGet 
> (ProviderInternalFactory.java:63)
>  at com.google.inject.internal.InternalFactoryToInitializableAdapter.get 
> (InternalFactoryToInitializableAdapter.java:45)
>  at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
>  at com.google.inject.internal.InjectorImpl.callInContext 
> (InjectorImpl.java:1092)
>  at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
>  at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
>  at org.eclipse.sisu.inject.LazyBeanEntry.getValue 

[jira] [Commented] (NETBEANS-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni commented on NETBEANS-2915:


Maven 1.2.1 is very old I think 3.0.5 was used

> Maven execution single file with PSVM throws exception
> --
>
> Key: NETBEANS-2915
> URL: https://issues.apache.org/jira/browse/NETBEANS-2915
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.1, 11.3
> Environment: Windows 10 64, jdk 8
>Reporter: jose luis romero
>Priority: Major
>
> In all my maven desktop projects, when I add a PSVM to a file to test things, 
> it may work one or maybe 2 times, but after a "clean and build" or any 
> modification to the POM, I can't run it anymore.
> The only workaround that I found is going to the project > Properties > Run > 
> and change the Main Class
> *This problem is exclusive for Windows, on Linux doesn't happen*
> {code:java}
> cd D:\NetBeansProjects\Sindicato; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8" 
> M2_HOME=C:\\apache-maven cmd /c "\"\"C:\\apache-maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath 
> org.sindicato.controller.PlanesController\" -Dexec.executable=\"C:\\Program 
> Files\\Java\\jdk1.8\\bin\\java.exe\" -Dexec.classpathScope=runtime 
> -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""{code}
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> Scanning for projects...
>  
> {code:java}
> 
> Building Sindicato 1
> 
> --- exec-maven-plugin:1.5.0:exec (default-cli) @ sas ---
> Error injecting: org.codehaus.mojo.exec.ExecMojo
> java.lang.NoClassDefFoundError: org/apache/commons/exec/ProcessDestroyer
>  at java.lang.Class.getDeclaredConstructors0 (Native Method)
>  at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>  at java.lang.Class.getDeclaredConstructors (Class.java:2020)
>  at com.google.inject.spi.InjectionPoint.forConstructorOf 
> (InjectionPoint.java:245)
>  at com.google.inject.internal.ConstructorBindingImpl.create 
> (ConstructorBindingImpl.java:99)
>  at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
> (InjectorImpl.java:658)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
> (InjectorImpl.java:882)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
> (InjectorImpl.java:805)
>  at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
> (InjectorImpl.java:282)
>  at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
> (InjectorImpl.java:214)
>  at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
> (InjectorImpl.java:1006)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1038)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1001)
>  at com.google.inject.internal.InjectorImpl.getInstance 
> (InjectorImpl.java:1051)
>  at org.eclipse.sisu.space.AbstractDeferredClass.get 
> (AbstractDeferredClass.java:48)
>  at com.google.inject.internal.ProviderInternalFactory.provision 
> (ProviderInternalFactory.java:81)
>  at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
> (InternalFactoryToInitializableAdapter.java:53)
>  at com.google.inject.internal.ProviderInternalFactory$1.call 
> (ProviderInternalFactory.java:65)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:115)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:133)
>  at com.google.inject.internal.ProvisionListenerStackCallback.provision 
> (ProvisionListenerStackCallback.java:68)
>  at com.google.inject.internal.ProviderInternalFactory.circularGet 
> (ProviderInternalFactory.java:63)
>  at com.google.inject.internal.InternalFactoryToInitializableAdapter.get 
> (InternalFactoryToInitializableAdapter.java:45)
>  at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
>  at com.google.inject.internal.InjectorImpl.callInContext 
> (InjectorImpl.java:1092)
>  at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
>  at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
>  at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
>  at 

[jira] [Updated] (NETBEANS-3738) Maven builds: don't specify eventspy when JDK < 1.7

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni updated NETBEANS-3738:
---
Component/s: apisupport - Maven

> Maven builds: don't specify eventspy when JDK < 1.7
> ---
>
> Key: NETBEANS-3738
> URL: https://issues.apache.org/jira/browse/NETBEANS-3738
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.2
>Reporter: Anthony Vanelverdinghe
>Priority: Major
>
> The eventspy is compiled with JDK 1.7. However, for some legacy project, I 
> need to build with Maven 3.2.5 and JDK 1.6 So this doesn't work (see below). 
> NetBeans shouldn't specify the eventspy on the commandline if the JDK < 1.7
> {noformat}
> Error injecting: org.netbeans.modules.maven.event.NbEventSpy
> java.lang.TypeNotPresentException: Type 
> org.netbeans.modules.maven.event.NbEventSpy not present
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
> 
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.UnsupportedClassVersionError: 
> org/netbeans/modules/maven/event/NbEventSpy : Unsupported major.minor version 
> 51.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
> 
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
>   ... 65 more
> Error executing Maven.
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
> 
> {noformat}



--
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-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread jose luis romero (Jira)


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

jose luis romero edited comment on NETBEANS-2915 at 3/10/20, 10:38 AM:
---

another workaround is to change the Maven version to 1.2.1 (the one used in 
Netbeans 8.2) on *Properties > Actions > Execution Goals* in:
Run project
Run file via main()
Debug project 
and every others used goals normally


was (Author: firuzzz):
another workaround is to change the Maven version to 1.2.1 (the one used in 
Netbeans 8.2) on *Properties > Actions > Execution Goals*

> Maven execution single file with PSVM throws exception
> --
>
> Key: NETBEANS-2915
> URL: https://issues.apache.org/jira/browse/NETBEANS-2915
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.1, 11.3
> Environment: Windows 10 64, jdk 8
>Reporter: jose luis romero
>Priority: Major
>
> In all my maven desktop projects, when I add a PSVM to a file to test things, 
> it may work one or maybe 2 times, but after a "clean and build" or any 
> modification to the POM, I can't run it anymore.
> The only workaround that I found is going to the project > Properties > Run > 
> and change the Main Class
> *This problem is exclusive for Windows, on Linux doesn't happen*
> {code:java}
> cd D:\NetBeansProjects\Sindicato; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8" 
> M2_HOME=C:\\apache-maven cmd /c "\"\"C:\\apache-maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath 
> org.sindicato.controller.PlanesController\" -Dexec.executable=\"C:\\Program 
> Files\\Java\\jdk1.8\\bin\\java.exe\" -Dexec.classpathScope=runtime 
> -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""{code}
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> Scanning for projects...
>  
> {code:java}
> 
> Building Sindicato 1
> 
> --- exec-maven-plugin:1.5.0:exec (default-cli) @ sas ---
> Error injecting: org.codehaus.mojo.exec.ExecMojo
> java.lang.NoClassDefFoundError: org/apache/commons/exec/ProcessDestroyer
>  at java.lang.Class.getDeclaredConstructors0 (Native Method)
>  at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>  at java.lang.Class.getDeclaredConstructors (Class.java:2020)
>  at com.google.inject.spi.InjectionPoint.forConstructorOf 
> (InjectionPoint.java:245)
>  at com.google.inject.internal.ConstructorBindingImpl.create 
> (ConstructorBindingImpl.java:99)
>  at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
> (InjectorImpl.java:658)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
> (InjectorImpl.java:882)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
> (InjectorImpl.java:805)
>  at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
> (InjectorImpl.java:282)
>  at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
> (InjectorImpl.java:214)
>  at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
> (InjectorImpl.java:1006)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1038)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1001)
>  at com.google.inject.internal.InjectorImpl.getInstance 
> (InjectorImpl.java:1051)
>  at org.eclipse.sisu.space.AbstractDeferredClass.get 
> (AbstractDeferredClass.java:48)
>  at com.google.inject.internal.ProviderInternalFactory.provision 
> (ProviderInternalFactory.java:81)
>  at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
> (InternalFactoryToInitializableAdapter.java:53)
>  at com.google.inject.internal.ProviderInternalFactory$1.call 
> (ProviderInternalFactory.java:65)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:115)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:133)
>  at com.google.inject.internal.ProvisionListenerStackCallback.provision 
> (ProvisionListenerStackCallback.java:68)
>  at com.google.inject.internal.ProviderInternalFactory.circularGet 
> (ProviderInternalFactory.java:63)
>  at com.google.inject.internal.InternalFactoryToInitializableAdapter.get 
> (InternalFactoryToInitializableAdapter.java:45)
>  

[jira] [Commented] (NETBEANS-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread jose luis romero (Jira)


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

jose luis romero commented on NETBEANS-2915:


another workaround is to change the Maven version to 1.2.1 (the one used in 
Netbeans 8.2) on * Properties > Actions > Execution Goals*

> Maven execution single file with PSVM throws exception
> --
>
> Key: NETBEANS-2915
> URL: https://issues.apache.org/jira/browse/NETBEANS-2915
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.1, 11.3
> Environment: Windows 10 64, jdk 8
>Reporter: jose luis romero
>Priority: Major
>
> In all my maven desktop projects, when I add a PSVM to a file to test things, 
> it may work one or maybe 2 times, but after a "clean and build" or any 
> modification to the POM, I can't run it anymore.
> The only workaround that I found is going to the project > Properties > Run > 
> and change the Main Class
> *This problem is exclusive for Windows, on Linux doesn't happen*
> {code:java}
> cd D:\NetBeansProjects\Sindicato; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8" 
> M2_HOME=C:\\apache-maven cmd /c "\"\"C:\\apache-maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath 
> org.sindicato.controller.PlanesController\" -Dexec.executable=\"C:\\Program 
> Files\\Java\\jdk1.8\\bin\\java.exe\" -Dexec.classpathScope=runtime 
> -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""{code}
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> Scanning for projects...
>  
> {code:java}
> 
> Building Sindicato 1
> 
> --- exec-maven-plugin:1.5.0:exec (default-cli) @ sas ---
> Error injecting: org.codehaus.mojo.exec.ExecMojo
> java.lang.NoClassDefFoundError: org/apache/commons/exec/ProcessDestroyer
>  at java.lang.Class.getDeclaredConstructors0 (Native Method)
>  at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>  at java.lang.Class.getDeclaredConstructors (Class.java:2020)
>  at com.google.inject.spi.InjectionPoint.forConstructorOf 
> (InjectionPoint.java:245)
>  at com.google.inject.internal.ConstructorBindingImpl.create 
> (ConstructorBindingImpl.java:99)
>  at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
> (InjectorImpl.java:658)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
> (InjectorImpl.java:882)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
> (InjectorImpl.java:805)
>  at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
> (InjectorImpl.java:282)
>  at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
> (InjectorImpl.java:214)
>  at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
> (InjectorImpl.java:1006)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1038)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1001)
>  at com.google.inject.internal.InjectorImpl.getInstance 
> (InjectorImpl.java:1051)
>  at org.eclipse.sisu.space.AbstractDeferredClass.get 
> (AbstractDeferredClass.java:48)
>  at com.google.inject.internal.ProviderInternalFactory.provision 
> (ProviderInternalFactory.java:81)
>  at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
> (InternalFactoryToInitializableAdapter.java:53)
>  at com.google.inject.internal.ProviderInternalFactory$1.call 
> (ProviderInternalFactory.java:65)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:115)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:133)
>  at com.google.inject.internal.ProvisionListenerStackCallback.provision 
> (ProvisionListenerStackCallback.java:68)
>  at com.google.inject.internal.ProviderInternalFactory.circularGet 
> (ProviderInternalFactory.java:63)
>  at com.google.inject.internal.InternalFactoryToInitializableAdapter.get 
> (InternalFactoryToInitializableAdapter.java:45)
>  at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
>  at com.google.inject.internal.InjectorImpl.callInContext 
> (InjectorImpl.java:1092)
>  at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
>  at org.eclipse.sisu.inject.Guice4$1.get 

[jira] [Comment Edited] (NETBEANS-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread jose luis romero (Jira)


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

jose luis romero edited comment on NETBEANS-2915 at 3/10/20, 10:36 AM:
---

another workaround is to change the Maven version to 1.2.1 (the one used in 
Netbeans 8.2) on *Properties > Actions > Execution Goals*


was (Author: firuzzz):
another workaround is to change the Maven version to 1.2.1 (the one used in 
Netbeans 8.2) on * Properties > Actions > Execution Goals*

> Maven execution single file with PSVM throws exception
> --
>
> Key: NETBEANS-2915
> URL: https://issues.apache.org/jira/browse/NETBEANS-2915
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.1, 11.3
> Environment: Windows 10 64, jdk 8
>Reporter: jose luis romero
>Priority: Major
>
> In all my maven desktop projects, when I add a PSVM to a file to test things, 
> it may work one or maybe 2 times, but after a "clean and build" or any 
> modification to the POM, I can't run it anymore.
> The only workaround that I found is going to the project > Properties > Run > 
> and change the Main Class
> *This problem is exclusive for Windows, on Linux doesn't happen*
> {code:java}
> cd D:\NetBeansProjects\Sindicato; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8" 
> M2_HOME=C:\\apache-maven cmd /c "\"\"C:\\apache-maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath 
> org.sindicato.controller.PlanesController\" -Dexec.executable=\"C:\\Program 
> Files\\Java\\jdk1.8\\bin\\java.exe\" -Dexec.classpathScope=runtime 
> -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""{code}
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> Scanning for projects...
>  
> {code:java}
> 
> Building Sindicato 1
> 
> --- exec-maven-plugin:1.5.0:exec (default-cli) @ sas ---
> Error injecting: org.codehaus.mojo.exec.ExecMojo
> java.lang.NoClassDefFoundError: org/apache/commons/exec/ProcessDestroyer
>  at java.lang.Class.getDeclaredConstructors0 (Native Method)
>  at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>  at java.lang.Class.getDeclaredConstructors (Class.java:2020)
>  at com.google.inject.spi.InjectionPoint.forConstructorOf 
> (InjectionPoint.java:245)
>  at com.google.inject.internal.ConstructorBindingImpl.create 
> (ConstructorBindingImpl.java:99)
>  at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
> (InjectorImpl.java:658)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
> (InjectorImpl.java:882)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
> (InjectorImpl.java:805)
>  at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
> (InjectorImpl.java:282)
>  at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
> (InjectorImpl.java:214)
>  at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
> (InjectorImpl.java:1006)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1038)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1001)
>  at com.google.inject.internal.InjectorImpl.getInstance 
> (InjectorImpl.java:1051)
>  at org.eclipse.sisu.space.AbstractDeferredClass.get 
> (AbstractDeferredClass.java:48)
>  at com.google.inject.internal.ProviderInternalFactory.provision 
> (ProviderInternalFactory.java:81)
>  at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
> (InternalFactoryToInitializableAdapter.java:53)
>  at com.google.inject.internal.ProviderInternalFactory$1.call 
> (ProviderInternalFactory.java:65)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:115)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:133)
>  at com.google.inject.internal.ProvisionListenerStackCallback.provision 
> (ProvisionListenerStackCallback.java:68)
>  at com.google.inject.internal.ProviderInternalFactory.circularGet 
> (ProviderInternalFactory.java:63)
>  at com.google.inject.internal.InternalFactoryToInitializableAdapter.get 
> (InternalFactoryToInitializableAdapter.java:45)
>  at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
>  at 

[jira] [Updated] (NETBEANS-2915) Maven execution single file with PSVM throws exception

2020-03-10 Thread jose luis romero (Jira)


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

jose luis romero updated NETBEANS-2915:
---
Affects Version/s: 11.3

> Maven execution single file with PSVM throws exception
> --
>
> Key: NETBEANS-2915
> URL: https://issues.apache.org/jira/browse/NETBEANS-2915
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.1, 11.3
> Environment: Windows 10 64, jdk 8
>Reporter: jose luis romero
>Priority: Major
>
> In all my maven desktop projects, when I add a PSVM to a file to test things, 
> it may work one or maybe 2 times, but after a "clean and build" or any 
> modification to the POM, I can't run it anymore.
> The only workaround that I found is going to the project > Properties > Run > 
> and change the Main Class
> *This problem is exclusive for Windows, on Linux doesn't happen*
> {code:java}
> cd D:\NetBeansProjects\Sindicato; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8" 
> M2_HOME=C:\\apache-maven cmd /c "\"\"C:\\apache-maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath 
> org.sindicato.controller.PlanesController\" -Dexec.executable=\"C:\\Program 
> Files\\Java\\jdk1.8\\bin\\java.exe\" -Dexec.classpathScope=runtime 
> -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""{code}
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> Scanning for projects...
>  
> {code:java}
> 
> Building Sindicato 1
> 
> --- exec-maven-plugin:1.5.0:exec (default-cli) @ sas ---
> Error injecting: org.codehaus.mojo.exec.ExecMojo
> java.lang.NoClassDefFoundError: org/apache/commons/exec/ProcessDestroyer
>  at java.lang.Class.getDeclaredConstructors0 (Native Method)
>  at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)
>  at java.lang.Class.getDeclaredConstructors (Class.java:2020)
>  at com.google.inject.spi.InjectionPoint.forConstructorOf 
> (InjectionPoint.java:245)
>  at com.google.inject.internal.ConstructorBindingImpl.create 
> (ConstructorBindingImpl.java:99)
>  at com.google.inject.internal.InjectorImpl.createUninitializedBinding 
> (InjectorImpl.java:658)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBinding 
> (InjectorImpl.java:882)
>  at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive 
> (InjectorImpl.java:805)
>  at com.google.inject.internal.InjectorImpl.getJustInTimeBinding 
> (InjectorImpl.java:282)
>  at com.google.inject.internal.InjectorImpl.getBindingOrThrow 
> (InjectorImpl.java:214)
>  at com.google.inject.internal.InjectorImpl.getProviderOrThrow 
> (InjectorImpl.java:1006)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1038)
>  at com.google.inject.internal.InjectorImpl.getProvider 
> (InjectorImpl.java:1001)
>  at com.google.inject.internal.InjectorImpl.getInstance 
> (InjectorImpl.java:1051)
>  at org.eclipse.sisu.space.AbstractDeferredClass.get 
> (AbstractDeferredClass.java:48)
>  at com.google.inject.internal.ProviderInternalFactory.provision 
> (ProviderInternalFactory.java:81)
>  at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision 
> (InternalFactoryToInitializableAdapter.java:53)
>  at com.google.inject.internal.ProviderInternalFactory$1.call 
> (ProviderInternalFactory.java:65)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:115)
>  at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision 
> (ProvisionListenerStackCallback.java:133)
>  at com.google.inject.internal.ProvisionListenerStackCallback.provision 
> (ProvisionListenerStackCallback.java:68)
>  at com.google.inject.internal.ProviderInternalFactory.circularGet 
> (ProviderInternalFactory.java:63)
>  at com.google.inject.internal.InternalFactoryToInitializableAdapter.get 
> (InternalFactoryToInitializableAdapter.java:45)
>  at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
>  at com.google.inject.internal.InjectorImpl.callInContext 
> (InjectorImpl.java:1092)
>  at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
>  at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
>  at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
>  at org.eclipse.sisu.plexus.LazyPlexusBean.getValue 

[jira] [Commented] (NETBEANS-3188) Upgrade bundled Maven

2020-03-10 Thread Anthony Vanelverdinghe (Jira)


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

Anthony Vanelverdinghe commented on NETBEANS-3188:
--

[~skygo] another strategy would be to migrate all code (where possible) to use 
an external Maven installation (i.e. use the Maven CLI instead of the Java 
API). This migration can be done gradually, and eventually it would become 
relatively easy to upgrade the bundled installation, or even stop bundling 
Maven completely. Yet another strategy would be to bundle 2 Maven installations 
and gradually migrate from the obsolete to the new version, but I'm not sure 
how feasible that is. (Note that this is very similar to how NetBeans uses an 
embedded JGit instead of the native Git installation, i.e. NETBEANS-2122)

Imho this issue is important because the bundled Maven installation is used 
even for basic operations such as merely opening a Maven project, which results 
in issues such as NETBEANS-2499


> Upgrade bundled Maven 
> --
>
> Key: NETBEANS-3188
> URL: https://issues.apache.org/jira/browse/NETBEANS-3188
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1, 11.2
>Reporter: Geertjan Wielenga
>Priority: Major
> Fix For: 11.3
>
>




--
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-3788) Erreur supposé dans l'éditeur, mais la compilation et le code sont correcte

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni commented on NETBEANS-3788:


Thanks for the review Anthony, this is right cannot compile too.

> Erreur supposé dans l'éditeur, mais la compilation et le code sont correcte
> ---
>
> Key: NETBEANS-3788
> URL: https://issues.apache.org/jira/browse/NETBEANS-3788
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Lexer, editor - Parsing  Indexing
>Affects Versions: 11.2
> Environment: Window 10 1903
> openjdk version "13.0.1" 2019-10-15
>Reporter: Pascal Fares
>Priority: Critical
> Fix For: 11.2
>
> Attachments: Annotation 2020-02-03 123039.png
>
>
> Ceci est parfaitement correcte etr compile normalement, mais l'editeur 
> netbeans indique une erreur "incompatible type"
> version java openjdk version "13.0.1" 2019-10-15
>  
> String _afficheLigne(List ligne) {
>    return ligne.stream().reduce("", (acc, s) -> 
> String.format("%s\t%s",acc,s));
>  }
>  
> String _afficheLignes2(List> lignes) {
>  return lignes.stream().map((ls) -> _afficheLignes(ls)).reduce((acc,s) 
> ->String.format("%s\n%s",acc,s));
>  }



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

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

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



[jira] [Resolved] (NETBEANS-3788) Erreur supposé dans l'éditeur, mais la compilation et le code sont correcte

2020-03-10 Thread Eric Barboni (Jira)


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

Eric Barboni resolved NETBEANS-3788.

Resolution: Not A Problem

> Erreur supposé dans l'éditeur, mais la compilation et le code sont correcte
> ---
>
> Key: NETBEANS-3788
> URL: https://issues.apache.org/jira/browse/NETBEANS-3788
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Lexer, editor - Parsing  Indexing
>Affects Versions: 11.2
> Environment: Window 10 1903
> openjdk version "13.0.1" 2019-10-15
>Reporter: Pascal Fares
>Priority: Critical
> Fix For: 11.2
>
> Attachments: Annotation 2020-02-03 123039.png
>
>
> Ceci est parfaitement correcte etr compile normalement, mais l'editeur 
> netbeans indique une erreur "incompatible type"
> version java openjdk version "13.0.1" 2019-10-15
>  
> String _afficheLigne(List ligne) {
>    return ligne.stream().reduce("", (acc, s) -> 
> String.format("%s\t%s",acc,s));
>  }
>  
> String _afficheLignes2(List> lignes) {
>  return lignes.stream().map((ls) -> _afficheLignes(ls)).reduce((acc,s) 
> ->String.format("%s\n%s",acc,s));
>  }



--
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-3989) Any modification to the TextBlocks - finalization (Based on JDK 15)

2020-03-10 Thread SARILLA MOHANARAO (Jira)


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

SARILLA MOHANARAO updated NETBEANS-3989:

Description: 
TextBlocks is a preview-feature in JDK13 and JDK14 , and requires 
--enable-preview flag to use the feature.This preview feature possibly going to 
be finalised in JDK15.

 

Code related to handling enable-preview has to be modified once above preview 
feature finalized.

 

  was:
TextBlocks is a preview-feature in JDK13 and JDK14 , and requires 
--enable-preview flag to use the feature.This preview feature possibly going to 
be finalised in JDK15. If that happens code related to handling enable-preview 
has to be removed.

 


> Any modification to the TextBlocks - finalization (Based on JDK 15)
> ---
>
> Key: NETBEANS-3989
> URL: https://issues.apache.org/jira/browse/NETBEANS-3989
> Project: NetBeans
>  Issue Type: Task
>  Components: java - Project
>Reporter: SARILLA MOHANARAO
>Assignee: SARILLA MOHANARAO
>Priority: Major
>
> TextBlocks is a preview-feature in JDK13 and JDK14 , and requires 
> --enable-preview flag to use the feature.This preview feature possibly going 
> to be finalised in JDK15.
>  
> Code related to handling enable-preview has to be modified once above preview 
> feature finalized.
>  



--
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-2516) Warnings hints for Convert rule switch to Traditional switch

2020-03-10 Thread SARILLA MOHANARAO (Jira)


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

SARILLA MOHANARAO updated NETBEANS-2516:

Labels: pull-request-available  (was: )

> Warnings hints for Convert rule switch to Traditional switch
> 
>
> Key: NETBEANS-2516
> URL: https://issues.apache.org/jira/browse/NETBEANS-2516
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: vikas kumar prabhakar
>Assignee: SARILLA MOHANARAO
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Implementation of warning hints for  "Convert rule switch to Traditional 
> switch"
> Use case:
> Actual code:
> public void test(int i){
>  String result;
>  switch(i){
>  case 1 -> System.out.println("One");
>  case 2 -> System.out.println("Two");
>  default -> System.out.println("Default");
>  }
>  }
> Warning Hints : "Convert to traditional switch"
> After Fix:
> public void test(int i){
>  String result;
>  switch(i){
>  case 1 :
>  System.out.println("One");
>  break;
>  case 2 :
>  System.out.println("Two");
>  break;
>  default:
>  System.out.println("Default");
>  break;
>  }
>  }



--
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-3990) JEP 360: Sealed Types Support in Netbeans

2020-03-10 Thread Akshay Gupta (Jira)
Akshay Gupta created NETBEANS-3990:
--

 Summary: JEP 360: Sealed Types Support in Netbeans
 Key: NETBEANS-3990
 URL: https://issues.apache.org/jira/browse/NETBEANS-3990
 Project: NetBeans
  Issue Type: Improvement
Affects Versions: 12.0
Reporter: Akshay Gupta


Providing all the support needed for new feature sealed types in JDK15.



--
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-2516) Warnings hints for Convert rule switch to Traditional switch

2020-03-10 Thread SARILLA MOHANARAO (Jira)


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

SARILLA MOHANARAO updated NETBEANS-2516:

Summary: Warnings hints for Convert rule switch to Traditional switch  
(was: Any modification to the TextBlocks - finalization (Based on JDK 15))

> Warnings hints for Convert rule switch to Traditional switch
> 
>
> Key: NETBEANS-2516
> URL: https://issues.apache.org/jira/browse/NETBEANS-2516
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: vikas kumar prabhakar
>Assignee: SARILLA MOHANARAO
>Priority: Major
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Implementation of warning hints for  "Convert rule switch to Traditional 
> switch"
> Use case:
> Actual code:
> public void test(int i){
>  String result;
>  switch(i){
>  case 1 -> System.out.println("One");
>  case 2 -> System.out.println("Two");
>  default -> System.out.println("Default");
>  }
>  }
> Warning Hints : "Convert to traditional switch"
> After Fix:
> public void test(int i){
>  String result;
>  switch(i){
>  case 1 :
>  System.out.println("One");
>  break;
>  case 2 :
>  System.out.println("Two");
>  break;
>  default:
>  System.out.println("Default");
>  break;
>  }
>  }



--
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-3989) Any modification to the TextBlocks - finalization (Based on JDK 15)

2020-03-10 Thread SARILLA MOHANARAO (Jira)
SARILLA MOHANARAO created NETBEANS-3989:
---

 Summary: Any modification to the TextBlocks - finalization (Based 
on JDK 15)
 Key: NETBEANS-3989
 URL: https://issues.apache.org/jira/browse/NETBEANS-3989
 Project: NetBeans
  Issue Type: Task
  Components: java - Project
Reporter: SARILLA MOHANARAO
Assignee: SARILLA MOHANARAO


TextBlocks is a preview-feature in JDK13 and JDK14 , and requires 
--enable-preview flag to use the feature.This preview feature possibly going to 
be finalised in JDK15. If that happens code related to handling enable-preview 
has to be removed.

 



--
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-3988) Error trying to acces network folders when no internet connection.

2020-03-10 Thread P Drijk (Jira)
P Drijk created NETBEANS-3988:
-

 Summary: Error trying to acces network folders when no internet 
connection.
 Key: NETBEANS-3988
 URL: https://issues.apache.org/jira/browse/NETBEANS-3988
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Options
Affects Versions: 11.2, 11.1, 11.3
 Environment: windows 10
Reporter: P Drijk
 Attachments: Annotation 2020-03-10 101758.png

using TOOLS -> options and completing e.g. the properties for frameworks, a 
pop-up appears for filling out the path for a file.

I have several mapping for networkdrives.

When I fill out the pop-up and i'm not connected to internet, for each 
networkdrive that cannot be accessed, there are multiple appearances of an 
errormessage. 

"The drive or networkconnection that the *shortcut ''* refers to is not 
available. "
 #  I aknowledge this issue, cos I know I'm off-line.
 #  It is irritating becourse it is happening for each 
networkdrive{color:#172b4d} 2 à 3 times.{color}

suggesting: replacing the message to notification center. 



--
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-3788) Erreur supposé dans l'éditeur, mais la compilation et le code sont correcte

2020-03-10 Thread Anthony Vanelverdinghe (Jira)


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

Anthony Vanelverdinghe commented on NETBEANS-3788:
--

[~pascalfares] this is not a bug: the code doesn't compile with javac, showing 
the same error

> Erreur supposé dans l'éditeur, mais la compilation et le code sont correcte
> ---
>
> Key: NETBEANS-3788
> URL: https://issues.apache.org/jira/browse/NETBEANS-3788
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Lexer, editor - Parsing  Indexing
>Affects Versions: 11.2
> Environment: Window 10 1903
> openjdk version "13.0.1" 2019-10-15
>Reporter: Pascal Fares
>Priority: Critical
> Fix For: 11.2
>
> Attachments: Annotation 2020-02-03 123039.png
>
>
> Ceci est parfaitement correcte etr compile normalement, mais l'editeur 
> netbeans indique une erreur "incompatible type"
> version java openjdk version "13.0.1" 2019-10-15
>  
> String _afficheLigne(List ligne) {
>    return ligne.stream().reduce("", (acc, s) -> 
> String.format("%s\t%s",acc,s));
>  }
>  
> String _afficheLignes2(List> lignes) {
>  return lignes.stream().map((ls) -> _afficheLignes(ls)).reduce((acc,s) 
> ->String.format("%s\n%s",acc,s));
>  }



--
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-3987) No global Java installed, then NB Installer is not working

2020-03-10 Thread Arunava Sinha (Jira)


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

Arunava Sinha updated NETBEANS-3987:

Summary: No global Java installed, then NB Installer is not working  (was: 
No global Java installed, then installer is not working)

> No global Java installed, then NB Installer is not working
> --
>
> Key: NETBEANS-3987
> URL: https://issues.apache.org/jira/browse/NETBEANS-3987
> Project: NetBeans
>  Issue Type: Task
>Affects Versions: 11.3
>Reporter: Arunava Sinha
>Assignee: Arunava Sinha
>Priority: Major
>
> If Java is not installed ,  Installer won't run.
> Either Installer should allow some argument to specify java location  on it 
> should read JAVA_HOME system property



--
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-3987) No global Java installed, then installer is not working

2020-03-10 Thread Arunava Sinha (Jira)
Arunava Sinha created NETBEANS-3987:
---

 Summary: No global Java installed, then installer is not working
 Key: NETBEANS-3987
 URL: https://issues.apache.org/jira/browse/NETBEANS-3987
 Project: NetBeans
  Issue Type: Task
Affects Versions: 11.3
Reporter: Arunava Sinha
Assignee: Arunava Sinha


If Java is not installed ,  Installer won't run.

Either Installer should allow some argument to specify java location  on it 
should read JAVA_HOME system property



--
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-2516) Any modification to the TextBlocks - finalization (Based on JDK 15)

2020-03-10 Thread SARILLA MOHANARAO (Jira)


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

SARILLA MOHANARAO updated NETBEANS-2516:

Summary: Any modification to the TextBlocks - finalization (Based on JDK 
15)  (was: Warnings hints for Convert rule switch to Traditional switch)

> Any modification to the TextBlocks - finalization (Based on JDK 15)
> ---
>
> Key: NETBEANS-2516
> URL: https://issues.apache.org/jira/browse/NETBEANS-2516
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: vikas kumar prabhakar
>Assignee: SARILLA MOHANARAO
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Implementation of warning hints for  "Convert rule switch to Traditional 
> switch"
> Use case:
> Actual code:
> public void test(int i){
>  String result;
>  switch(i){
>  case 1 -> System.out.println("One");
>  case 2 -> System.out.println("Two");
>  default -> System.out.println("Default");
>  }
>  }
> Warning Hints : "Convert to traditional switch"
> After Fix:
> public void test(int i){
>  String result;
>  switch(i){
>  case 1 :
>  System.out.println("One");
>  break;
>  case 2 :
>  System.out.println("Two");
>  break;
>  default:
>  System.out.println("Default");
>  break;
>  }
>  }



--
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-2516) Any modification to the TextBlocks - finalization (Based on JDK 15)

2020-03-10 Thread SARILLA MOHANARAO (Jira)


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

SARILLA MOHANARAO updated NETBEANS-2516:

Labels:   (was: pull-request-available)

> Any modification to the TextBlocks - finalization (Based on JDK 15)
> ---
>
> Key: NETBEANS-2516
> URL: https://issues.apache.org/jira/browse/NETBEANS-2516
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: vikas kumar prabhakar
>Assignee: SARILLA MOHANARAO
>Priority: Major
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Implementation of warning hints for  "Convert rule switch to Traditional 
> switch"
> Use case:
> Actual code:
> public void test(int i){
>  String result;
>  switch(i){
>  case 1 -> System.out.println("One");
>  case 2 -> System.out.println("Two");
>  default -> System.out.println("Default");
>  }
>  }
> Warning Hints : "Convert to traditional switch"
> After Fix:
> public void test(int i){
>  String result;
>  switch(i){
>  case 1 :
>  System.out.println("One");
>  break;
>  case 2 :
>  System.out.println("Two");
>  break;
>  default:
>  System.out.println("Default");
>  break;
>  }
>  }



--
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-3986) Creating a new class when raw text of code is copied and pasted on package

2020-03-10 Thread Akshay Gupta (Jira)
Akshay Gupta created NETBEANS-3986:
--

 Summary: Creating a new class when raw text of code is copied and 
pasted on package
 Key: NETBEANS-3986
 URL: https://issues.apache.org/jira/browse/NETBEANS-3986
 Project: NetBeans
  Issue Type: Improvement
  Components: java - Project
Affects Versions: 12.0
Reporter: Akshay Gupta
Assignee: Akshay Gupta


This functionality will enable user to copy the code (Either from outside of 
Netbeans or within)

and paste directly to a package and a new class will automatically created with 
the name of public class present in the copied code.



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

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

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



[jira] [Created] (NETBEANS-3985) NB installer cannot be launched in JDK-14

2020-03-10 Thread Arunava Sinha (Jira)
Arunava Sinha created NETBEANS-3985:
---

 Summary: NB installer cannot be launched in JDK-14
 Key: NETBEANS-3985
 URL: https://issues.apache.org/jira/browse/NETBEANS-3985
 Project: NetBeans
  Issue Type: Task
Affects Versions: 11.3
Reporter: Arunava Sinha
Assignee: Arunava Sinha


NB Installer won't run under JDK 14. Installer uses JDK Pack200 Tools and API 
for packing and unpacking which is getting removed in JDk-14. 
 
Please refer below JEP 
 
JEP 367: Remove the Pack200 Tools and API([https://openjdk.java.net/jeps/367])



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

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

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



[jira] [Resolved] (NETBEANS-3616) Support of debug option and enable preview-hint in Single Source File

2020-03-10 Thread Arunava Sinha (Jira)


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

Arunava Sinha resolved NETBEANS-3616.
-
Fix Version/s: 11.3
   Resolution: Fixed

> Support of debug option and enable preview-hint in Single Source File
> -
>
> Key: NETBEANS-3616
> URL: https://issues.apache.org/jira/browse/NETBEANS-3616
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Editor
>Affects Versions: 11.1
>Reporter: Arunava Sinha
>Assignee: Arunava Sinha
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Need to provide below two features for single source Java file .
> 1. In ant and maven java project , there is a specific hint for enabling 
> preview feature.
> Same is missing in Single source file.
>  
> 2. Currently NB-11.2 supports running of single source file , but debug 
> action is missing
> [https://openjdk.java.net/jeps/330.]



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

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

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



[jira] [Resolved] (NETBEANS-3793) Debug of single Source Java File not working in windows

2020-03-10 Thread Arunava Sinha (Jira)


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

Arunava Sinha resolved NETBEANS-3793.
-
Fix Version/s: 11.3
   Resolution: Fixed

> Debug of single Source Java File not working in windows
> ---
>
> Key: NETBEANS-3793
> URL: https://issues.apache.org/jira/browse/NETBEANS-3793
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: Next
>Reporter: Arunava Sinha
>Assignee: Arunava Sinha
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Debug of single Source Java File not working in windows
> The issue in related to below bug:
> https://issues.apache.org/jira/browse/NETBEANS-3616



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