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.

Bug 58590 - project should have an option to force to use relative paths always
Summary: project should have an option to force to use relative paths always
Status: RESOLVED DUPLICATE of bug 49637
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
Depends on:
Reported: 2005-05-04 18:42 UTC by joergwassmer
Modified: 2005-05-04 19:11 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description joergwassmer 2005-05-04 18:42:57 UTC
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.
Comment 1 Jesse Glick 2005-05-04 19:11:49 UTC
1. Add the paths to, 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 ***