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.
If a project moves to a different directory, the ant shortcuts break with: "old/path/to/build.xml no such file or directory". I.e., it appears the path to build.xml is hard-coded.
Yes; the shortcuts are just stored in your user directory, not as part of the project. In the future I have considered using a quite different implementation that would keep the shortcut information in the project, in which case the Ant module would check open projects for any configured shortcuts. This would among other things permit use of relative paths.
Later.
NetBeans.org Migration: changing resolution from LATER to WONTFIX