ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-ant/docs/manual/CoreTasks loadfile.html overview.html
Date Tue, 25 Dec 2001 06:13:09 GMT
stevel      01/12/24 22:13:09

  Modified:    docs/manual/CoreTasks overview.html
  Added:       docs/manual/CoreTasks loadfile.html
  new loadfile task
  Revision  Changes    Path
  1.5       +5 -0      jakarta-ant/docs/manual/CoreTasks/overview.html
  Index: overview.html
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/overview.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- overview.html	2001/11/30 12:24:16	1.4
  +++ overview.html	2001/12/25 06:13:09	1.5
  @@ -193,6 +193,11 @@
       <p><i>The Javadoc2 task is deprecated.  Use the Javadoc task
  +  <tr valign="top">
  +    <td><a href="loadfile.html">LoadFile</a></td>
  +    <td><p>Loads a file into a property</p></td>
  +  </tr>
     <tr valign="top">
       <td><a href="mail.html">Mail</a></td>
  1.1                  jakarta-ant/docs/manual/CoreTasks/loadfile.html
  Index: loadfile.html
  <h2><a name="loadfile">LoadFile</a></h2>
   Load a text file into a single property. Unless an encoding is specified,
   the encoding of the current locale is used. There is no explicit limit
   upon the size of the file which can be loaded, but loading very large
   files is not something anyone has yet explored. 
  <table border="1" cellpadding="2" cellspacing="0">
      <td valign="top"><b>Attribute</b></td>
      <td valign="top"><b>Description</b></td>
      <td align="center" valign="top"><b>Required</b></td>
      <td valign="top">srcFile</td>
      <td valign="top">source file</td>
      <td valign="top" align="center">Yes</td>
      <td valign="top">property</td>
      <td valign="top">property to save to</td>
      <td valign="top" align="center">Yes</td>
      <td valign="top">encoding</td>
      <td valign="top">encoding to use when loading the file</td>
      <td align="center" valign="top">No</td>
      <td valign="top">failonerror</td>
      <td valign="top">Whether to halt the build on failure</td>
      <td align="center" valign="top">No, default "true"</td>
  <pre>    &lt;loadfile property="mail.recipients"
        srcFile="recipients.txt" / &gt;
  Load file recipients.txt into property "mail.recipients"
  <pre>    &lt;loadfile property="encoded-file"
        encoding="ISO-8859-1" / &gt;
  Load a file using the latin-1 encoding
  <pre>    &lt;loadfile 
        failonerror="false" /&gt;
  Load a file, don't fail if it is missing (a message is printed, though) 
  <p align="center">Copyright &copy; 2000,2001 Apache Software Foundation. All rights

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message