Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2019 18:13:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 237913] devel/apache-ant - upgrade, build from source
Message-ID:  <bug-237913-8522-U1v3ezoNjP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237913-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237913-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237913

Greg Lewis <glewis@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |glewis@FreeBSD.org

--- Comment #5 from Greg Lewis <glewis@FreeBSD.org> ---
I would recommend against building ant from source.

Aside from the issues Michael mentions, which are significant, we've seen in
the past that this created complexities in the port.  This includes:

* Building with a certain JDK version means that older JDKs can't run the
classes that are built.  E.g. if I build with openjdk11 then openjdk8 won't=
 be
able to execute ant.  If you force the build to use the oldest JDK availabl=
e in
ports then you force users who may not want it to have to install it.  In
general the packaged JARs are built with the oldest JDK that the source
supports and this can then be executed by any newer JDK, without the user
having to install the older JDK.

* Some Java based projects provide different functionality based on the ver=
sion
of the JDK they are built with.  I don't think ant falls into that category,
but in general once we start building Java ports from source we run into
problems where we're not sure what functionality we have since it depends on
the version of the JDK it was built with.  This becomes a mess.

Overall, the Java community tends to distribute and use compiled class code=
 as
standard.  We've tried going down the "build from source" route before, but=
 it
turned out to add a lot of complexity and maintenance without providing any
real benefits.  Particularly for a vendor like ASF I think we should be
comfortable using their binary packages.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237913-8522-U1v3ezoNjP>