apps compilation fails on ubuntu 20.04
Kevin Rushforth
kevin.rushforth at oracle.com
Thu Aug 12 19:52:16 UTC 2021
I still need to catch up on my email, since I still have the original
question in my queue.
The answer to the original query is that there is a known bug with ant
1.10.7 [1] that will cause this error. You can either use ant 1.10.5
(which is the one we specify in build.properties) or use ant 1.10.8.
As for the gradle sdk problem, I've not seen any problems relating to
using gradle 7.0.1. Is your repo up to date? Specifically, you need the
following commit:
https://github.com/openjdk/jfx/commit/111bac4180a646662a81223bdbb56880789d5a90
-- Kevin
[1] https://bz.apache.org/bugzilla/show_bug.cgi?id=63874
On 8/12/2021 12:33 PM, Abhinay Agarwal wrote:
> I am on Ubuntu 20.04. Using ANT 1.10.8, "gradlew apps" works for me.
>
> However, "gradlew sdk" fails for me since we upgraded to Gradle 7.0.1. I always switch back to Gradle 6.9 to build a local sdk.
> ________________________________
> From: openjfx-dev <openjfx-dev-retn at openjdk.java.net> on behalf of Thiago Milczarek Sayão <thiago.sayao at gmail.com>
> Sent: Friday, August 6, 2021 8:05 AM
> To: openjfx-dev at openjdk.java.net <openjfx-dev at openjdk.java.net>
> Subject: apps compilation fails on ubuntu 20.04
>
> Hi
>
> Does anyone knows how to get *gradlew apps* working on ubuntu 20.04?
>
> I have:
> Apache Ant(TM) version 1.10.7 compiled on October 24 2019
> openjdk version "16.0.1" 2021-04-20
>
> I want to run the test apps.
>
> -do-compile:
> [javac] Compiling 143 source files to
> /home/tsayao/IdeaProjects/jfx/apps/samples/3DViewer/build/classes
> [javac] error: invalid flag:
> @/home/tsayao/IdeaProjects/jfx/build/compile.args
> [javac] Usage: javac <options> <source files>
> [javac] use --help for a list of possible options
>
> Thanks.
More information about the openjfx-dev
mailing list