[ https://issues.apache.org/jira/browse/NETBEANS-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087205#comment-17087205 ]
Geertjan Wielenga commented on NETBEANS-4033: --------------------------------------------- This is probably a related PR that fixes this: https://github.com/apache/netbeans/pull/2068 > Profile file action of a maven project is broken > ------------------------------------------------ > > Key: NETBEANS-4033 > URL: https://issues.apache.org/jira/browse/NETBEANS-4033 > Project: NetBeans > Issue Type: Bug > Affects Versions: 12.0 > Environment: Product Version: Apache NetBeans IDE 12.0-beta1 > Java: 11; Java HotSpot(TM) 64-Bit Server VM 11+28 > Runtime: Java(TM) SE Runtime Environment 11+28 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) > User directory: > C:\Users\luca.mambretti.BZDOMAIN\AppData\Roaming\NetBeans\12.0-beta1 > Cache directory: > C:\Users\luca.mambretti.BZDOMAIN\AppData\Local\NetBeans\Cache\12.0-beta1 > Reporter: Luca Mambretti > Priority: Major > Labels: netcat > > When trying to profile a single file in a maven project an incorrect command > line is generated. > following the generated command as shown in the IDE output > cd D:\Progetti\PERS\NetCat-12\QuickstartPrj; "JAVA_HOME=C:\\Program > Files\\Java\\jdk-11" cmd /c "\"C:\\Program > Files\\NetBeans-12.beta1\\java\\maven\\bin\\mvn.cmd\" > -Dexec.args=\"-agentpath:\\\"C:/Program > Files/NetBeans-12.beta1/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program > Files\\NetBeans-12.beta1\\profiler\\lib\\\",5140,10 > -XX:+HeapDumpOnOutOfMemoryError > -XX:HeapDumpPath=D:\\Progetti\\PERS\\NetCat-12\\QuickstartPrj\\nbproject\\private\\profiler > -classpath %classpath it.mambretti.quickstartprj.TestMain\" > -Dexec.executable=\"C:\\Program Files\\Java\\jdk-11\\bin\\java.exe\" > -Dexec.classpathScope=runtime -Dmaven.ext.class.path=\"C:\\Program > Files\\NetBeans-12.beta1\\java\\maven-nblib\\netbeans-eventspy.jar\" > -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec" > 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. > The syntax of the command is incorrect. -- 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