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.
My projects are organized using a "flat" directory hierarchy. Instead of putting subprojects into a subfolder of the parent parent project, I do it like this: / - org.myproject.my_parent_project - org.myproject.my_sub_project Now, if I reference a path inside of one project's folder from another project, then Netbeans creates an absolute path for the Ant property. To keep scripts working on different machines you have to define those properties inside the build.xml before importing the Netbeans build file. For convenience and to avoid errors when moving between machines Netbeans should (optionally) always generate relative paths.
1. Add the paths to project.properties, not build.xml. 2. NB *will* automatically use relative paths if your directory structure is VCS-controlled and registered using the Versioning Manager. 3. For other GUI options please see issue #49637. *** This issue has been marked as a duplicate of 49637 ***