Date: Sat, 26 May 2001 08:23:25 +0200 From: Ernst de Haan <ernst@jollem.com> To: Nick Sayer <nsayer@quack.kfu.com> Cc: Greg Lewis <glewis@eyesbeyond.com>, sobomax@FreeBSD.ORG, java@FreeBSD.ORG Subject: Re: Java port behavior ideas Message-ID: <20010526082325.A405@c187104187.telekabel.chello.nl> In-Reply-To: <3B0EBB67.3020708@quack.kfu.com>; from nsayer@quack.kfu.com on Fri, May 25, 2001 at 01:07:03PM -0700 References: <3B0C3A63.3020908@quack.kfu.com> <200105241911.f4OJBtS32613@mail.uic-in.net> <20010526045110.A18502@misty.eyesbeyond.com> <20010525215138.A55928@c187104187.telekabel.chello.nl> <3B0EBB67.3020708@quack.kfu.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Nick, > > 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). Well, if extended a little bit this would be quite useful. Note that ports usually depend on a certain minimum version of a Java Runtime Environment. So we could introduce a bsd.java.mk file, as suggested previously, and introduce: USE_JAVA11= YES USE_JAVA12= YES USE_JAVA13= YES USE_JAVA14= YES In combination with the new javavmwrapper this should work like a charm =) > 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. Okay, the default should be to install a JRE iso a JDK. > 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. Nope. So does Orion. And so does ArgoUML (I intend to write a port for it in the no-so-distant future). /Ernst -- Ernst de Haan Java Architect Jollem Information Technology "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ 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?20010526082325.A405>