Date: Fri, 1 Jun 2001 10:43:31 +0200 From: Ernst de Haan <ernst@jollem.com> To: java@freebsd.org Subject: JDK ports revisited Message-ID: <20010601104331.A1730@c187104187.telekabel.chello.nl>
next in thread | raw e-mail | index | archive | help
Hi all,
Following is the suggested short term solution to solving the issues
surrounding our JDK ports. Considering the discussions we had I would like to
make this proposal and I would *really* like to see some feedback, either
positive or negative.
Step 1:
-------
(a) Rename a few ports:
* java/jdk -> java/jdk11
* java/jdk12-beta -> java/jdk12
* java/linux-jdk -> java/linux-blackdown-jdk12
* java/linux-jdk13 -> java/linux-sun-jdk13
* java/linux-jdk14 -> java/linux-sun-jdk14
* java/jdk-doc -> java/jdk11-doc
(b) Make sure the old port directories display a warning message and then
divert the make process to the new directory. The old port would become a
`slave' to the new one. This should avoid problems with _DEPENDS stuff in
depending ports.
(c) Change the installation directory for these ports (I omitted ${PREFIX} for
brevity:
* jdk11: jdk1.1.8 [OK]
* jdk12: jdk1.2.2 -> jdk1.2.2b10
* linux-blackdown-jdk12: linux-jdk1.2.2 -> linux-blackdown-jdk1.2.2
* linux-sun-jdk13: linux-jdk1.3.0 -> linux-sun-jdk1.3.0
* linux-sun-jdk14: linux-jdk1.4.0 -> linux-sun-jdk1.4.0b1
* jdk11-doc: jdk1.1.8/docs -> share/doc/jdk1.1/
(d) Make sure the ports also install symlinks so that the old installation
directory still points to the new directory. This should make sure that
_DEPENDS stuff in other ports should not break.
Step 2:
-------
(a) Find out what all the dependent ports are, modify them all and then submit
a patch.
(b) Add a few new ports, for *instance*:
* java/linux-sun-jdk12 # The Sun JDK 1.2 for Linux
Will install to ${PREFIX}/linux-sun-jdk1.2.2
* java/linux-ibm-jdk12 # The IBM JDK 1.2 for Linux
Will install to ${PREFIX}/linux-ibm-jdk1.2.2
* java/jdk12-doc # The JDK 1.2 docs
Will install to ${PREFIX}/share/doc/jdk1.2/
* java/jdk13-doc # The JDK 1.3 docs
Will install to ${PREFIX}/share/doc/jdk1.3/
* java/jdk14-doc # The JDK 1.4 docs
Will install to ${PREFIX}/share/doc/jdk1.4/
Step 3
------
After eveything works as expected, and the new ports have been updated, we can
safely remove the symlinks in ${PREFIX} (we'll modify the ports makefiles for
this) and we can remove the slave ports in /usr/ports/java/.
Kind regards,
/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?20010601104331.A1730>
