Date: Thu, 9 Apr 2020 16:12:00 +0200 From: Angelo Polo <language.devel@gmail.com> To: Michael Osipov <1983-01-06@gmx.net> Cc: freebsd-java@freebsd.org Subject: Re: Java 11 for devel/apache-ant? Message-ID: <CAHZqPkza-K=ci8Y3VSoKrZ96bYJP1dhF1XxDJqr1uXoMEMx=9Q@mail.gmail.com> In-Reply-To: <47296191-e305-68e5-d165-35a070872117@gmx.net> References: <CAHZqPkx=tj-Oh0RcMvSnMXOfyK6M2tVhWdp0yawfgBscM8vm=Q@mail.gmail.com> <47296191-e305-68e5-d165-35a070872117@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael,
Whether considered good form or not I can't say, but it's fine to use
USE_JAVA this way. From bsd.java.mk:
132 . if defined(USE_JAVA)
133
134 . if !defined(JAVA_VERSION) &&
empty(USE_JAVA:C/[0-9]*[\.]*[0-9]*[+]*//)
135 JAVA_VERSION=${USE_JAVA}
136 . endif
Best,
Angelo
On Thu, Apr 9, 2020 at 4:01 PM Michael Osipov <1983-01-06@gmx.net> wrote:
> Am 2020-04-09 um 14:21 schrieb Angelo Polo:
> > Hello devel/apache-ant maintainers,
> >
> > Are there any known issues with setting to build and run apache-ant on
> Java
> > 11?
> > USE_JAVA= 11
> ^^
> This one is wrong. The USE_JAVA variable is just "YES". You need to set
> JAVA_VERSION=11+
>
> See:
>
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-java.html#using-java-variables
>
> M
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHZqPkza-K=ci8Y3VSoKrZ96bYJP1dhF1XxDJqr1uXoMEMx=9Q>
