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 java.html
Date Tue, 20 Nov 2001 06:53:06 GMT
stevel      01/11/19 22:53:06

  Modified:    docs/manual/CoreTasks java.html
  Log:
  Pulled the stuff on system.exit, because that is caught, and left a 'fork if things go wierd'
message to handle the other cases :-)
  
  Revision  Changes    Path
  1.5       +5 -5      jakarta-ant/docs/manual/CoreTasks/java.html
  
  Index: java.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/java.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- java.html	2001/10/30 10:05:34	1.4
  +++ java.html	2001/11/20 06:53:06	1.5
  @@ -11,10 +11,9 @@
   <h3>Description</h3>
   <p>Executes a Java class within the running (Ant) VM or forks another VM if
   specified.</p>
  -<p>Be careful that the executed class doesn't call System.exit(), because it
  -will terminate the VM and thus Ant. In case this happens, it's highly suggested
  -that you set the fork attribute so that System.exit() stops the other VM and not
  -the one that is currently running Ant.</p>
  +<p>
  +If odd things go wrong when you run this task, set fork="true" to use a new
  +JVM.
   <h3>Parameters</h3>
   <table border="1" cellpadding="2" cellspacing="0">
     <tr>
  @@ -29,7 +28,8 @@
     </tr>
     <tr>
       <td valign="top">jar</td>
  -    <td valign="top">the location of the jar file to execute (must have a Main-Class
entry in the manifest). Fork must be set to true if this option is selected.</td>
  +    <td valign="top">the location of the jar file to execute (must have a 
  +    Main-Class entry in the manifest). Fork must be set to true if this option is selected.</td>
       <td align="center" valign="top">Either jar or classname</td>
     </tr>
     <tr>
  
  
  

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