Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.0
-
None
-
None
-
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-beta1Product 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
Description
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.