ant error while performing a 'gradle clean'

Nir Lisker nlisker at
Thu Apr 11 05:18:33 UTC 2019


When I run a `gradle clean` I get the following message:

> Task :apps:cleanWin FAILED
'ant' is not recognized as an internal or external command,
operable program or batch file.

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Dev\openjfx\rt\build.gradle' line: 758

* What went wrong:
Execution failed for task ':apps:cleanWin'.
> Process 'command 'cmd'' finished with non-zero exit value 1

However, just running `ant version` gives:

Apache Ant(TM) version 1.10.5 compiled on July 10 2018

`gradle build` also works fine.

There is a PATH variable set to 'apache-ant-1.10.5/bin'.

Any ideas?

- Nir

More information about the openjfx-dev mailing list