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.
Created attachment 129787 [details] Patch for harness/run.xml to allow spaces in app.name If app.name in project.properties contains spaces, the run ANT target fails on Mac. The problem is in harness/run.xml line 174. The following snippet of code from harness/run.xml does not escape spaces for app.name in the run.args.mac property. <condition property="run.args.mac" value="-J-Xdock:name=${app.name}" else=""> <os family="mac"/> </condition> The following change fixes the problem (single quotes around ${app.name}) <condition property="run.args.mac" value="-J-Xdock:name='${app.name}'" else=""> <os family="mac"/> </condition> The updated lines can be added to the users build.xml as a workaround. See attached patch for a permanent fix.
The issue only affects Mac users.
Affects 7.3 as well.
Thanks for the report and suggested way to address it. I've integrated the fix as ergonomics#362d818e069e
Thanks. http://hg.netbeans.org/ergonomics/rev/362d818e069e