ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ant/docs/manual/CoreTasks java.html
Date Wed, 20 Apr 2005 20:26:00 GMT
stevel      2005/04/20 13:26:00

  Modified:    docs/manual/CoreTasks java.html
  Log:
  mark a task use as <code>, wrap some lines.
  
  Revision  Changes    Path
  1.41      +7 -4      ant/docs/manual/CoreTasks/java.html
  
  Index: java.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/java.html,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- java.html	16 Mar 2005 16:56:03 -0000	1.40
  +++ java.html	20 Apr 2005 20:26:00 -0000	1.41
  @@ -266,7 +266,7 @@
   <p>A nested <a href="../CoreTypes/redirector.html">I/O Redirector</a>
   can be specified.  In general, the attributes of the redirector behave
   as the corresponding attributes available at the task level.  The most
  -notable peculiarity stems from the retention of the &lt;java&gt;
  +notable peculiarity stems from the retention of the <code>&lt;java&gt;</code>
   attributes for backwards compatibility.  Any file mapping is done
   using a <CODE>null</CODE> sourcefile; therefore not all
   <a href="../CoreTypes/mapper.html">Mapper</a> types will return
  @@ -275,13 +275,16 @@
   defaults can be specified for input, output, and error output files.
   </p>
   <h3>Errors and return codes</h3>
  -By default the return code of a <code>&lt;java&gt;</code> is ignored.
Alternatively, you can set <code>resultproperty</code> to the name
  +By default the return code of a <code>&lt;java&gt;</code> is ignored.
  +Alternatively, you can set <code>resultproperty</code> to the name
   of a property and have it assigned to the result code (barring immutability,
   of course).
  -When you set <code>failonerror="true"</code>, the only possible value for <code>resultproperty</code>
is 0. Any non zero response is treated as an
  +When you set <code>failonerror="true"</code>, the only possible value for
  +<code>resultproperty</code> is 0. Any non-zero response is treated as an
   error and would mean the build exits.
   <p> Similarly, if <code>failonerror="false"</code> and <code>fork="false"</code>
  -, then <code>&lt;java&gt;</code> <b>must</b> return 0 otherwise
the build will exit, as the class was run by the build jvm.</p>
  +, then <code>&lt;java&gt;</code> <b>must</b> return 0 otherwise
the build will
  +exit, as the class was run by the build JVM.</p>
   
   <h3>JAR file execution</h3>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message