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=32523>. 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=32523 Summary: manual specifies the wrong way to read PATH Product: Ant Version: unspecified Platform: All URL: http://ant.apache.org/manual/CoreTasks/exec.html OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Documentation AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The manual page for the exec task says that: <exec ... > <env key="PATH" path="${java.library.path}:${basedir}/bin"/> </exec> adds ${basedir}/bin to the PATH of the system command. But java.library.path doesn't contain the PATH of the system command. The way to do this seems to be <property environment="foo"/>, after which you can use ${foo.PATH}. That seems to deserve a mention on the exec page, as it is likely that someone setting environment variables will want to read them as well. -- 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]
