From owner-freebsd-java@FreeBSD.ORG Tue Nov 4 10:30:31 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4342E16A4CE for ; Tue, 4 Nov 2003 10:30:31 -0800 (PST) Received: from andouillette.esil.univ-mrs.fr (andouillette.esil.univ-mrs.fr [139.124.41.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3CB043FBF for ; Tue, 4 Nov 2003 10:30:29 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from andouillette.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])hA4ILePP078072 for ; Tue, 4 Nov 2003 19:21:40 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost)hA4ILdkY078071 for freebsd-java@FreeBSD.ORG; Tue, 4 Nov 2003 19:21:39 +0100 (CET) X-Authentication-Warning: andouillette.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Tue, 4 Nov 2003 19:21:39 +0100 From: Herve Quiroz To: freebsd-java@FreeBSD.ORG Message-ID: <20031104182139.GB37133@andouillette.esil.univ-mrs.fr> Mail-Followup-To: freebsd-java@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Building Java ports from sources or not ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 18:30:31 -0000 Hi, I was wondering if it is actually relevant to try and build Java ports from source. Indeed I used to agree with this policy (mostly because it allows the user to be sure that all dependencies are installed as well) but it is quite painful to maintain. Some Java libraries have specific Ant tasks according to the JDK used to build. In such a case, there is no problem. But most of the Java libraries won't build on a JDK other than 1.4 altough they may be used in a Java 1.3 environment (provided you don't use the 1.4 specific features obviously). That's why I would like this subject to be discussed, as I am planning of porting dom4j, which is quite complex regarding the number of dependencies (mandatory and optional ones). There's also the problem mentioned by someone else (I'm too lazy to serch my mailbox sorry) regarding API docs related pkg-plist content that differs from one JDK to another... ..and the problem where some libraries need to connect to some website during build (often while building API docs), which disallow user to install the port while he's offline (unless he use a package obviously). So do we need to agree on some common policy or is it a "per-case" issue? Herve