ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24366] - Project tag basedir attribute should be relative to ${user.dir} (the user's current working directory)
Date Mon, 03 Nov 2003 22:11:11 GMT
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


Mime
View raw message