Integrated: 8267059: Gradle :clean and :apps tasks fail on Windows if ANT_HOME contains spaces
Michael Strauß
mstrauss at openjdk.java.net
Fri Jan 7 11:50:20 UTC 2022
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 pull request has now been integrated.
Changeset: 487e4b17
Author: Michael Strauß <mstrauss at openjdk.org>
Committer: Kevin Rushforth <kcr at openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/487e4b17e6bfca754f8fccf2f720a1bf686d1102
Stats: 45 lines in 1 file changed: 27 ins; 15 del; 3 mod
8267059: Gradle :clean and :apps tasks fail on Windows if ANT_HOME contains spaces
Reviewed-by: kcr, sykora
-------------
PR: https://git.openjdk.java.net/jfx/pull/499
More information about the openjfx-dev
mailing list