Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2005 23:49:33 +0000 (UTC)
From:      Herve Quiroz <hq@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/Mk bsd.java.mk
Message-ID:  <200502272349.j1RNnXx5054155@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
hq          2005-02-27 23:49:33 UTC

  FreeBSD ports repository

  Modified files:
    Mk                   bsd.java.mk 
  Log:
  Add JAVA_VERSION, JAVA_OS and JAVA_VENDOR to SUB_LIST.
  
  NOTE: these are only added if the related variables are defined by the port.
  
  This should ease the configuration of launcher shell scripts used for Java
  application ports, when they are using javavmwrapper to invoke a JVM. From now,
  a simple launcher that suits most of the Java application ports can be writen
  using the following scheme:
  
    #!/bin/sh
    JAVA_VERSION="%%JAVA_VERSION%%" \
      "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/myport.jar" "$@"
  
  As mentioned above, this is of course only correct provided that the port
  defines JAVA_VERSION.
  
  Approved by:    glewis (co-maintainer)
  
  Revision  Changes    Path
  1.65      +10 -1     ports/Mk/bsd.java.mk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502272349.j1RNnXx5054155>