ant error while performing a 'gradle clean'
nlisker at gmail.com
Thu Apr 11 11:57:17 UTC 2019
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.rushforth at oracle.com>
> 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
More information about the openjfx-dev