Date: Fri, 25 May 2001 13:07:03 -0700 From: Nick Sayer <nsayer@quack.kfu.com> To: Ernst de Haan <ernst@jollem.com> Cc: Greg Lewis <glewis@eyesbeyond.com>, sobomax@FreeBSD.ORG, java@FreeBSD.ORG Subject: Re: Java port behavior ideas Message-ID: <3B0EBB67.3020708@quack.kfu.com> References: <3B0C3A63.3020908@quack.kfu.com> <200105241911.f4OJBtS32613@mail.uic-in.net> <20010526045110.A18502@misty.eyesbeyond.com> <20010525215138.A55928@c187104187.telekabel.chello.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Ernst de Haan wrote:
>
> The dependencies, however, would be a more complex story. We should search
> through the current Makefiles to see what ports depend on what JDK. Perhaps we
> can have an intermediate situation, where the old dirs still exist and contain
> a Makefile that just points to the new location. I know this construct is used
> in other places in the ports tree as well.
I think the best situation is to abstract it all by adding something
along the lines of
USE_JAVA=
yes
which would add a dependency on the vmwrapper and _any_ acceptable
JRE/JDK (perhaps with a make.conf default or some such).
I would appreciate the disk space savings from being able to run
Konqueror and browser plugins and JAR files with a JRE only, since I
don't actually do any java development myself.
As for the where-to-place-JAR-files-and-jar-running-scripts issue,
remember that at least one port (net/airport) installs multiple JAR
files, so a shell script binding of $PREFIX/bin/$PORTNAME ->
$PREFIX/share/$PORTNAME/${PORTNAME}.jar won't do.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B0EBB67.3020708>
