Date: Mon, 3 Oct 2005 18:04:47 +0200 From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> To: "Mikhail T." <mi@aldan.algebra.com> Cc: java@FreeBSD.org Subject: Re: some questions about Java ports Message-ID: <20051003160445.GA2845@arabica.esil.univ-mrs.fr> In-Reply-To: <200510030230.j932Uwbo005425@blue.virtual-estates.net> References: <200510030230.j932Uwbo005425@blue.virtual-estates.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Everything you ask here is documented in the Porter's handbook, Java section: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-java.html Herve On Sun, Oct 02, 2005 at 10:30:58PM -0400, Mikhail T. wrote: > Hello! > > I have the following issues with the current bsd.java.mk and > thereabouts: > > 1) JAVA_HOME -- `make -V JAVA_HOME' prints the expected > value, but trying to, say, add JAVA_HOME="${JAVA_HOME}" > to MAKE_ENV results in an empty string being added... > > 2) JAVALIBDIR and JAVAJARDIR seem to be the same -- which > one should be used to look for other ports' JARs and > which to install my own? > > 3) Is "USE_JAVA=version" legitimate, or is one supposed to > use the redundant "USE_JAVA=yes" and "JAVA_VERSION=version"? > > 4) How to pass javac options to ant (when relying on USE_ANT=yes)? > > 5) On amd64 (and others, I guess), the only native JDK is 1.5. So, > when a port declares something like 1.3+ or 1.4+, bsd.java.mk > should build 1.5 on the platform, should not it? > > Any comments, patches? Thanks! > > -mi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051003160445.GA2845>