Tools | Options | Misc | Ant Options
This took me a while to find out. I first thought it must be somewhere in the project property, similar to how I set java compiler option and java runtime options.
As it turns out, ant options in NetBeans are global, and any changes will affect all projects. I'm wondering if it makes sense to allow it to be set at project level as well, with project-wide setting overriding IDE-wide setting.
Tags: