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.
[recent sources] It seems to me that the nbprofile task does not support nested <arg /> elements, like java task does (it only supports args="" attribute). It would be nice (and would support one-to-one mapping with the java task), if it would support this element.
Fixed in M4
Seem to work OK now.