From owner-cvs-all@FreeBSD.ORG Thu Nov 11 19:17:38 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2675016A4CE; Thu, 11 Nov 2004 19:17:38 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09AA143D39; Thu, 11 Nov 2004 19:17:38 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iABJHbJi030925; Thu, 11 Nov 2004 19:17:37 GMT (envelope-from glewis@repoman.freebsd.org) Received: (from glewis@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iABJHb1Y030924; Thu, 11 Nov 2004 19:17:37 GMT (envelope-from glewis) Message-Id: <200411111917.iABJHb1Y030924@repoman.freebsd.org> From: Greg Lewis Date: Thu, 11 Nov 2004 19:17:37 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/java/javavmwrapper Makefile pkg-deinstall pkg-install pkg-plist ports/java/javavmwrapper/src javavmwrapper.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 19:17:38 -0000 glewis 2004-11-11 19:17:37 UTC FreeBSD ports repository Modified files: java/javavmwrapper Makefile pkg-plist java/javavmwrapper/src javavmwrapper.sh Added files: java/javavmwrapper pkg-deinstall pkg-install Log: . Usher in javavmwrapper 2.0, a rewrite of the wrapper scripts designed to allow the simple use of multiple VMs. Brief detail of the main changes: . When a VM is registered, symbolic links for its executables are created in ${LOCALBASE}/bin. This allows people to just type 'java', 'javac', etc. without having to add the VM installation directory to their PATH. . The actual 'java' that is executed via one of these symlinks is determined by the order of the (sorted) configuration file ${LOCALBASE}/etc/javavms and by the environment variables JAVA_VERSION, JAVA_OS and JAVA_VENDOR which function to select a VM as they do in the ports framework. . There is a new command, checkvms, to sanity check the configuration and symlinks. . The "javavm" executable is currently retained in its original capacity as a synonym for Java for backward compatibility. However, its use is deprecated. . Temporarily set MAINTAINER to myself to make monitoring any initial bug reports easier. The intent is to convert it to java@ at a later date. This is built on the ideas of znerd, hq and Shelton C. Johnson Jr., with hq and Shelton contributing code and reviews. PR: 27079, 39080 Reviewed by: hq, Shelton C. Johnson Jr. Revision Changes Path 1.11 +10 -3 ports/java/javavmwrapper/Makefile 1.1 +45 -0 ports/java/javavmwrapper/pkg-deinstall (new) 1.1 +20 -0 ports/java/javavmwrapper/pkg-install (new) 1.3 +1 -0 ports/java/javavmwrapper/pkg-plist 1.8 +437 -34 ports/java/javavmwrapper/src/javavmwrapper.sh