You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Luca Mambretti (Jira)" <ji...@apache.org> on 2020/03/18 08:36:00 UTC

[jira] [Created] (NETBEANS-4033) Profile file action of a maven project is broken

Luca Mambretti created NETBEANS-4033:
----------------------------------------

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


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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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