This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The HeapDumpPath is not properly quoted when profiling a maven controlled project. This is the output: NetBeans: Executing 'cmd /c mvn.bat -Dexec.args=-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="C:\Documents and Settings\Ian\netbeans projects\GeneratedCode\nbproject\private\profiler" \"-agentpath:C:/Program Files/NetBeans 6.7 Beta/profiler3/lib/deployed/jdk16/windows/profilerinterface.dll=C:/Program Files/NetBeans 6.7 Beta/profiler3/lib,5140,10\" -classpath %classpath com.prismt.transform.runtime.exec.RunMaps -Dprofiler.action=profile -Dexec.executable=C:\Program Files\Java\jdk1.6.0_02\bin\java.exe -Dnetbeans.execution=true process-classes org.codehaus.mojo:exec-maven-plugin:1.1:exec' ... ------------------------------------------------------------------------ [ERROR]BUILD FAILURE ------------------------------------------------------------------------ Invalid task 'and': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal ------------------------------------------------------------------------ Moving the project so it is not in a directory with spaces works fine. I assume it is a problem with the quoting of the HeapDumpPath as that is the only thing in the command that has the word "and" in it, which Maven seems to think is a task to run.
Sorry, should have said. I am running 6.7 beta, on Windows XP.
Probably fixed. Can you try latest NB 6.7 daily build (http://bits.netbeans.org/dev/nightly/latest/)?
Yep. That is fixed in the daily build. Thanks for the quick response.
Marking as fixed - per user response