From owner-freebsd-java@freebsd.org Thu Jun 27 18:13:30 2019 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C56B115C95A0 for ; Thu, 27 Jun 2019 18:13:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5FB856A052 for ; Thu, 27 Jun 2019 18:13:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1FF0015C959F; Thu, 27 Jun 2019 18:13:30 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEC7315C959B for ; Thu, 27 Jun 2019 18:13:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 878376A04C for ; Thu, 27 Jun 2019 18:13:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CCE079971 for ; Thu, 27 Jun 2019 18:13:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5RIDSZt077272 for ; Thu, 27 Jun 2019 18:13:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5RIDS83077266 for java@FreeBSD.org; Thu, 27 Jun 2019 18:13:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 237913] devel/apache-ant - upgrade, build from source Date: Thu, 27 Jun 2019 18:13:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: glewis@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 18:13:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237913 Greg Lewis changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glewis@FreeBSD.org --- Comment #5 from Greg Lewis --- 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.=