From owner-freebsd-java@FreeBSD.ORG Thu Sep 29 10:48:11 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 802A316A41F for ; Thu, 29 Sep 2005 10:48:11 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53F9143D48 for ; Thu, 29 Sep 2005 10:48:09 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j8TAm09V065814; Thu, 29 Sep 2005 13:48:00 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j8TAmA9l092084; Thu, 29 Sep 2005 13:48:11 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <433BC658.7000808@ebs.gr> Date: Thu, 29 Sep 2005 13:47:52 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050830) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jonc@chen.org.nz Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: JBoss ports do not respect the user's JAVA_VERSION X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2005 10:48:11 -0000 The jboss ports build along the jboss3ctl (or jboss4ctl) and hardcode in it the JAVA_HOME it uses during the build. This makes it impossible to change the jdk afterwards without rebuilding. Unfortunately, it seems that you cannot build jboss3/4 with jdk15, when you also have jdk14 installed. This is caused by the port specifying the java version like this: JAVA_VERSION= 1.4+ I have modified this to: JAVA_VERSION?= 1.4+ Actually grepping through the java category shows that almost all java-dependent ports, behave like that. Shouldn't we make a sweep and fix them all? Panagiotis