DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40623>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40623 Summary: Default setting can crush ANT_HOME environment variable Product: Ant Version: 1.6.5 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Wrapper scripts AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] The ant shell script can overwrite the ANT_HOME environment variable with a system default (instead of vice versa). This happens because the shell script will load /etc/ant.conf. This can easily happen if the user installs a personal copy of ant (e.g., ~/apache-ant-1.6.5), and there is also a shared copy of ant (e.g., /usr/share/ant). The overwriting is very bad, because (1) the documentation says nothing about the possibility. I had ant experts bonking their heads on this problem and none of them could figure it out. (2) it can manifest itself in being unable to run some operations because of getting the wrong ${ANT_HOME}/lib directory. (3) the user has the right to expect that a variable explicitly and consciously set (especially following documentation) should override a system default. The bin/ant shell script can crush this setting, because it loads environment variables from /etc/ant.conf -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]