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 11917] New: - the example of the mail coretask looks wrong
Date Thu, 22 Aug 2002 07:01:08 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=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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message