ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59321] bootstrap/bin/ant script fails when building ant with syntax error, possibly an un-matched quote
Date Wed, 07 Sep 2016 13:00:17 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59321

--- Comment #11 from Jamie Penman-Smithson <jpenman.smithson@gmail.com> ---
(In reply to Jamie Penman-Smithson from comment #10)
> Created attachment 34221 [details]
> Escape arguments for Solaris sh
> 
> I've managed to get it working using Solaris sh with a few tweaks to the way
> that the arguments are escaped, I've attached a patch.
> 
> With the limited testing I have done, it appears to work:
> 
> $ ant -log"f"ile f"o"o\a.log
> Buildfile: [..]
> $ ls -al fooa.log
> -rw-r--r--   1 devutils other       2445 Sep  7 13:33 fooa.log

I've also tested this on a Linux box (RHEL 6) and it also works there:

$ ant -log"fi"le f\oo"bar".log
Buildfile: build.xml
$ ls -al foobar.log 
-rw-rw-r--. 1 ecat ecat 1.7K Sep  7 13:58 foobar.log

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message