ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/CoreTasks mail.html
Date Wed, 05 Jun 2002 22:51:42 GMT
stevel      2002/06/05 15:51:42

  Modified:    docs/manual/CoreTasks Tag: ANT_15_BRANCH mail.html
  Log:
  doc patch of bug ID 9505, submitted by Glenn Twiggs
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.10.2.2  +8 -4      jakarta-ant/docs/manual/CoreTasks/mail.html
  
  Index: mail.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/mail.html,v
  retrieving revision 1.10.2.1
  retrieving revision 1.10.2.2
  diff -u -r1.10.2.1 -r1.10.2.2
  --- mail.html	3 May 2002 09:40:28 -0000	1.10.2.1
  +++ mail.html	5 Jun 2002 22:51:42 -0000	1.10.2.2
  @@ -49,7 +49,8 @@
     </tr>
     <tr>
       <td valign="top">messagefile</td>
  -    <td valign="top">File to send as the body of the email.</td>
  +    <td valign="top">File to send as the body of the email. Property
  +    values in the file will be expanded.</td>
     </tr>
         <td valign="top">messagemimetype</td>
       <td valign="top">The content type of the message.  The default is
  @@ -148,7 +149,9 @@
   </table>
   
   <p>If the <code>src</code> attribute is not specified, then text can
be added
  -inside the <code>&lt;message&gt;</code> element.</p>
  +inside the <code>&lt;message&gt;</code> element. Property expansion
will occur
  +in the message, whether it is specified as an external file or as text within
  +the <code>&lt;message&gt;</code> element.</p>
   
   <h3>Examples</h3>
   
  @@ -167,7 +170,7 @@
   &lt;mail mailhost=&quot;smtp.myisp.com&quot; mailport=&quot;1025&quot;
subject=&quot;Test build&quot;&gt;
     &lt;from name=&quot;me@myisp.com&quot;&gt;
     &lt;to name=&quot;all@xyz.com&quot;&gt;
  -  &lt;message&gt;A new nightly build has completed&lt;/message&gt;
  +  &lt;message&gt;The ${buildname} nightly build has completed&lt;/message&gt;
     &lt;fileset dir=&quot;dist&quot;&gt;
       &lt;includes name=&quot;**/*.zip&quot;/&gt;
     &lt;/fileset&gt;
  @@ -177,7 +180,8 @@
   <p>Sends an eMail from <i>me@myisp.com</i> to <i>all@xyz.com</i>
with a subject of
   <i>Test Build</i> and attaches any zip files from the dist directory.&nbsp;
The
   task will attempt to use JavaMail and fall back to UU encoding or no encoding in
  -that order depending on what support classes are available.</p>
  +that order depending on what support classes are available. <code>${buildname}</code>
  +will be replaced with the <code>buildname</code> property's value.</p>
   <hr>
   <p align="center">Copyright &copy; 2000-2002 Apache Software Foundation. All
rights
   Reserved.</p>
  
  
  

--
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