ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61649] The same scripted invocation of Ant works on z/OS using 1.9.7, but fails using 1.9.9
Date Tue, 24 Oct 2017 11:13:33 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61649

--- Comment #7 from Stefan Bodewig <bodewig@apache.org> ---
Created attachment 35452
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35452&action=edit
diff of wrapper script between 1.9.6 and 1.9.9

Oh, there is no new syntax, the wrapper script has been improved to handle
embedded newlines and a bunch of shell meta characters that are part of command
line arguments properly.

The new argument parsing code is quite convoluted and relies (among other
things) on sed and sh being close to POSIX. This most likely sin't true for
z/OS' versions.

To see the full amount of changes you really need to diff the ant script
between the rel/1.9.6 and rel/1.9.9 tags (see attachment).

You could try replacing the wrapper script with that of Ant 1.9.6 in order to
verify it really is the change that is affecting you:
https://github.com/apache/ant/blob/rel/1.9.6/src/script/ant

we have added special code to deal with Solaris 10 and could do so for z/OS if
we knew what to do exactly (short of falling back to the old parsing code). The
main change was https://github.com/apache/ant/pull/25 and it contains a zio
with ugly command line test cases that were all expected to work.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message