bodewig     2004/04/13 03:36:42

  Modified:    docs/manual/CoreTasks exec.html
  Log:
  Add RedHat S/390 hint submitted by Jack Woehr
  
  Revision  Changes    Path
  1.40      +24 -0     ant/docs/manual/CoreTasks/exec.html
  
  Index: exec.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/exec.html,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- exec.html 27 Mar 2004 21:22:58 -0000      1.39
  +++ exec.html 13 Apr 2004 10:36:42 -0000      1.40
  @@ -48,6 +48,30 @@
   set to <code>true</code> instead as this task will follow the VM's
   interpretation of exit codes.</p>
   
  +<h4>RedHat S/390 Users</h4>
  +
  +<p>It has been <a
  
+href="http://listserv.uark.edu/scripts/wa.exe?A1=ind0404&L=vmesa-l#33";>reported
  +on the VMESA-LISTSERV</a> that shell scripts invoked via the Ant Exec
  +task must have their interpreter specified, i.e., the scripts must
  +start with something like:
  +
  +<blockquote>
  +<pre>
  +#!/bin/bash
  +</pre>
  +</blockquote>
  +
  +or the task will fail as follows:
  +
  +<blockquote>
  +<pre>
  +[exec] Warning: UNIXProcess.forkAndExec native error: Exec format error
  +[exec] Result: 255
  +</pre>
  +</blockquote>
  +</p>
  +
   <h3>Parameters</h3>
   <table border="1" cellpadding="2" cellspacing="0">
     <tr>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to