Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 15:36:09 +0100
From:      Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
To:        Yuri Khotyaintsev <yuri@irfu.se>
Cc:        freebsd-java@freebsd.org
Subject:   Re: bsd.java.mk question
Message-ID:  <20050111143609.GA68083@arabica.esil.univ-mrs.fr>
In-Reply-To: <200501111458.19485.yuri@irfu.se>
References:  <200501111458.19485.yuri@irfu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 11, 2005 at 02:58:17PM +0100, Yuri Khotyaintsev wrote:
> Hej!
> 
> I encountered the following problem with bsd.java.mk:
> 
> When I put JAVA_BUILD=yes in the Makefile, I have JAVAC undefined.
> In order to set JAVAC, I need to put JAVA_BUILD=jdk.
> 
> I would expect  JAVA_BUILD=yes to set JAVAC . If JAVA_BUILD=jdk is the 
> intended behavior, this must be explained in the description part of 
> bsd.java.mk. From the current description it looks like JAVA_BUILD can be set 
> to yes|no.

That's my fault, I believe. JDK/JRE differenciation is a planned
feature. I just didn't had the time to implement it yet. The original
proposal mention this behaviour [1] but then I wrote some erroneous
documentation. I will change the documentation in bsd.java.mk header and
in the Porter's handbook as well to reflect this.

BTW I think I have found a simple way to implement JDK/JRE
differenciation, so I'll give it a try in the near future...

Thanks for reporting that.

Herve

[1] http://www.esil.univ-mrs.fr/~hquiroz/freebsd/bsd.java.mk-2.0.html



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