Java 11 for devel/apache-ant?
Angelo Polo
language.devel at gmail.com
Thu Apr 9 14:12:16 UTC 2020
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 at 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
>
More information about the freebsd-java
mailing list