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 2002/08/22 09:01:08 UTC
DO NOT REPLY [Bug 11917] New: -
the example of the mail coretask looks wrong
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=11917>.
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=11917
the example of the mail coretask looks wrong
Summary: the example of the mail coretask looks wrong
Product: Ant
Version: 1.5
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Minor
Priority: Other
Component: Documentation
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: raphael.petit@free.fr
first test following the example in
http://jakarta.apache.org/ant/manual/CoreTasks/mail.html
<mail mailhost="myhost" subject="Test build">
<from name="${USER}(Start)">
<to name="${MAILTO}">
<message>The ${buildname} nightly build has completed</message>
</mail>
BUILD FAILED
Class org.apache.tools.ant.taskdefs.email.EmailAddress doesn't support the
nested "to" element.
another test after some change
<mail
mailhost="myhost"
subject="Test build"
from="${USER}(Start)"
message="The ${buildname} nightly build has completed"
tolist="${MAILTO}"
/>
BUILD SUCCESSFUL
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>