RFR: 8267059: Gradle :clean and :apps tasks fail on Windows if ANT_HOME contains spaces

Kevin Rushforth kcr at openjdk.java.net
Fri May 14 01:58:39 UTC 2021


On Thu, 13 May 2021 00:07:15 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> This PR fixes an issue when building OpenJFX on Windows and command-line arguments contain paths with spaces.
> 
> The problem is that on Windows, `ant` is invoked via `cmd`, which leads to quotes being interpreted twice. This can be fixed with the option `cmd /s`, which prevents interpreting quotes on the rest of the command line. The result is as if the rest of the command line had been typed verbatim at the command prompt.

This will need careful testing.

-------------

PR: https://git.openjdk.java.net/jfx/pull/499


More information about the openjfx-dev mailing list