bsd.java.mk question

Herve Quiroz herve.quiroz at esil.univ-mrs.fr
Tue Jan 11 06:36:14 PST 2005


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


More information about the freebsd-java mailing list