The attached diff is a usage note for the Ant Exec task corresponding to a
mainframe
Linux user's experience. I spent sometime verifying his problem on the lists
and in email.
Possibly related a quirk of specific versions RedHat Linux/390, zsh, or the 390
JVM.
Perhaps not important enough to be added to the manual, but offered here if it
is
found interesting.
--
Jack J. Woehr # We have gone from the horse and buggy
Senior Consultant # to the moon rocket in one lifetime, but
Purematrix, Inc. # there has not been a corresponding moral
www.purematrix.com # growth in mankind. - Dwight D. Eisenhower
Index: docs/manual/CoreTasks/exec.html
===================================================================
RCS file: /home/cvspublic/ant/docs/manual/CoreTasks/exec.html,v
retrieving revision 1.39
diff -u -r1.39 exec.html
--- docs/manual/CoreTasks/exec.html 27 Mar 2004 21:22:58 -0000 1.39
+++ docs/manual/CoreTasks/exec.html 8 Apr 2004 23:41:09 -0000
@@ -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]