From owner-freebsd-ports@FreeBSD.ORG Fri Jan 16 08:19:23 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C719D16A4CE for ; Fri, 16 Jan 2004 08:19:23 -0800 (PST) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id E842743D5A for ; Fri, 16 Jan 2004 08:19:21 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) i0GGJ1Rj013335; Fri, 16 Jan 2004 18:19:01 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from hal.noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id i0GGJ1KY043307; Fri, 16 Jan 2004 18:19:01 +0200 (EET) (envelope-from past@noc.ntua.gr) From: Panagiotis Astithas Organization: NTUA/NMC To: "Kang Liu" , "'Xin LI'" , Date: Fri, 16 Jan 2004 18:19:00 +0200 User-Agent: KMail/1.5.4 References: <274268190.01893@bjpu.edu.cn> In-Reply-To: <274268190.01893@bjpu.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401161819.00767.past@noc.ntua.gr> cc: ports@freebsd.org Subject: Re: FreeBSD Port: jakarta-tomcat5-5.0.16 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2004 16:19:23 -0000 On Friday 16 January 2004 18:05, Kang Liu wrote: > > -----Original Message----- > > From: owner-freebsd-ports@freebsd.org > > [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of > > Panagiotis Astithas > > Sent: Friday, January 16, 2004 11:45 PM > > To: Kang Liu; 'Xin LI'; dadelcas@cantv.net > > Cc: ports@freebsd.org > > Subject: Re: FreeBSD Port: jakarta-tomcat5-5.0.16 > > > > > > We already have this, by using for example: > > USE_JAVA=1.3+ > > To differentiate between native and emulated versions, wait > > for bsd.java.mk v2.0. > > > > Cheers, > > -- > > Panagiotis Astithas > > Electrical & Computer Engineer, PhD > > Network Management Center > > National Technical University of Athens, Greece > > > > _______________________________________________ > > But "USE_JAVA" can only set a basic environment where tomcat5 can run, > I think Xin Li means if there is no jdk installed, > we set "USE_JAVA_PREFER=1.4" & "USE_JAVA=1.3+" > jdk14 would be installed instead if jdk13. > > Kang So you mean that when no JVM is present, prefer the most recent instead of the less recent? This sounds reasonable to me. I believe it can be implemented with simple changes in bsd.java.mk. -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece