You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/11/03 23:11:11 UTC
DO NOT REPLY [Bug 24366] -
Project tag basedir attribute should be relative to ${user.dir} (the user's current working directory)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24366>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24366
Project tag basedir attribute should be relative to ${user.dir} (the user's current working directory)
------- Additional Comments From ddevienne@lgc.com 2003-11-03 22:11 -------
Most projects using Ant put the build file at the top of the project, and refer
relatively to basedir for find project-related things, like the src directory.
This makes the build free of any absolute path, and thus location independent.
If you want to use ${user.dir}, then prefix all your properties with it.
basedir will always point to the directory the build script is in, because it's
very convenient, and because it's what all Ant users expect. --DD
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org