Thanks, setting ANT_HOME worked, though I'm not sure why it's needed. Line
756 seems to call ant without needing its home path, since the executable
is defined in the path variable.

Is this a bug in the build or new instructions after some update?

On Thu, Apr 11, 2019 at 2:18 PM Kevin Rushforth <kevin.rushfo...@oracle.com>
wrote:

> 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