I suspect that gradle apps will fail in the same way. Try setting ANT_HOME.

-- Kevin


On 4/10/2019 10:18 PM, Nir Lisker wrote:
Hi,

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

Reply via email to