[jira] [Commented] (NETBEANS-245) Profiler fails to launch when using Maven 3.5.x

2019-04-15 Thread Anthony Vanelverdinghe (JIRA)


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

Anthony Vanelverdinghe commented on NETBEANS-245:
-

For me, placing Netbeans in a folder with no space does *not* fix this problem. 
This fails:

cd E:\Workspaces\NetBeans-11.0\mavenproject1; JAVA_HOME=D:\\Dev\\JDK\\jdk-12 
M2_HOME=D:\\Dev\\Tools\\apache-maven-3.6.1 cmd /c 
"\"\"D:\\Dev\\Tools\\apache-maven-3.6.1\\bin\\mvn.cmd\" 
-Dexec.args=\"-agentpath:D:/Dev/IDEs/incubating-netbeans-11.0-bin/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll=D:\\Dev\\IDEs\\incubating-netbeans-11.0-bin\\netbeans\\profiler\\lib,5140,10
 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=\\\"D:\\NetBeans 
cache\\E-Workspaces-NetBeans-11.0\\mavencachedirs\\330757114\\org-netbeans-modules-profiler\\\"
  -classpath %classpath com.mycompany.mavenproject1.NewClass\" 
-Dexec.executable=D:\\Dev\\JDK\\jdk-12\\bin\\java.exe 
-Dexec.classpathScope=runtime 
-Dmaven.ext.class.path=D:\\Dev\\IDEs\\incubating-netbeans-11.0-bin\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar
 process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""


> Profiler fails to launch when using Maven 3.5.x
> ---
>
> Key: NETBEANS-245
> URL: https://issues.apache.org/jira/browse/NETBEANS-245
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> Profiler+Calibration+Run
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-245) Profiler fails to launch when using Maven 3.5.x

2018-03-29 Thread Gili (JIRA)

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

Gili commented on NETBEANS-245:
---

[~skygo] Take a look at the debug output I provided at 
https://issues.apache.org/jira/browse/MNG-6385?focusedCommentId=16419476=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16419476
 ... I think Netbeans' command-line might be incorrect, not Maven's.

> Profiler fails to launch when using Maven 3.5.x
> ---
>
> Key: NETBEANS-245
> URL: https://issues.apache.org/jira/browse/NETBEANS-245
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> Profiler+Calibration+Run
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-245) Profiler fails to launch when using Maven 3.5.x

2018-03-29 Thread Eric Barboni (JIRA)

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

Eric Barboni commented on NETBEANS-245:
---

Its MNG-6385 but link is available after attachement section on this issue

> Profiler fails to launch when using Maven 3.5.x
> ---
>
> Key: NETBEANS-245
> URL: https://issues.apache.org/jira/browse/NETBEANS-245
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> Profiler+Calibration+Run
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-245) Profiler fails to launch when using Maven 3.5.x

2018-03-29 Thread Gili (JIRA)

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

Gili commented on NETBEANS-245:
---

[~skygo] Thanks. Can you please provide a link so I can track it?

> Profiler fails to launch when using Maven 3.5.x
> ---
>
> Key: NETBEANS-245
> URL: https://issues.apache.org/jira/browse/NETBEANS-245
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> Profiler+Calibration+Run
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-245) Profiler fails to launch when using Maven 3.5.x

2018-03-29 Thread Eric Barboni (JIRA)

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

Eric Barboni commented on NETBEANS-245:
---

Added an issue in maven project.

> Profiler fails to launch when using Maven 3.5.x
> ---
>
> Key: NETBEANS-245
> URL: https://issues.apache.org/jira/browse/NETBEANS-245
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> Profiler+Calibration+Run
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-245) Profiler fails to launch when using Maven 3.5.x

2018-03-27 Thread Gili (JIRA)

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

Gili commented on NETBEANS-245:
---

Sorry, no. I'm wrong. Placing Netbeans in a folder with no space *does* fix 
this problem. I thought you were talking about the Maven directory (and this 
makes no difference).

> Profiler fails to launch when using Maven 3.5.x
> ---
>
> Key: NETBEANS-245
> URL: https://issues.apache.org/jira/browse/NETBEANS-245
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> Profiler+Calibration+Run
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-245) Profiler fails to launch when using Maven 3.5.x

2018-03-27 Thread Gili (JIRA)

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

Gili commented on NETBEANS-245:
---

[~skygo] Yes. The issue is still there.

> Profiler fails to launch when using Maven 3.5.x
> ---
>
> Key: NETBEANS-245
> URL: https://issues.apache.org/jira/browse/NETBEANS-245
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> Profiler+Calibration+Run
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-245) Profiler fails to launch when using Maven 3.5.x

2018-03-27 Thread Eric Barboni (JIRA)

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

Eric Barboni commented on NETBEANS-245:
---

Hi Gili, 

do you have the same issue if NetBeans is put on a folder with no space in 
filename?

> Profiler fails to launch when using Maven 3.5.x
> ---
>
> Key: NETBEANS-245
> URL: https://issues.apache.org/jira/browse/NETBEANS-245
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> Profiler+Calibration+Run
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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