Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2000 13:27:16 -0400
From:      "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
To:        behanna@zbzoom.net, FreeBSD-Java <java@FreeBSD.ORG>
Subject:   Re: Port for the Orion Server (J2EE Application Server)
Message-ID:  <818090000.978283636@grolsch.ai>
In-Reply-To: <Pine.BSF.4.21.0012311124180.9456-100000@browning.pennasoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Sunday, December 31, 2000 11:25:34 -0500 Chris BeHanna 
<behanna@zbzoom.net> wrote:

> On Sun, 31 Dec 2000, Jeroen C. van Gelderen wrote:
>
>> --On Saturday, December 30, 2000 19:50:07 -0500 Chris BeHanna
>> <behanna@zbzoom.net> wrote:
>>
>> > On Sat, 30 Dec 2000, Jeroen C. van Gelderen wrote:
>> >
>> >>> [...]
>> >>
>> >> Being responsible for a number of open source Java libraries I
>> >> strongly prefer that a port does a binary install.
>> >
>> >     With (almost?) all ports, you have always had the option of
>> > grabbing the precompiled package and doing
>> >
>> >     pkg_add <pkgtarball>
>> >
>> > instead of cd'ing to the ports area and doing
>> >
>> >     make install
>> >
>> > I strongly believe that this model should be followed for Java as well
>> > as for C/C++.
>>
>> Uhm. You have not addressed any of the concerns expressed in the mail
>> you  are responding to. Nor do you provide any arguments in favor of
>> your strong  belief.
>
>     The argument is simple:  those who want jars can grab them via the
> pkg_add method.  Those who want source can use the make install
> method.  This is completely consistent with the existing ports model
> and requires no change in practice.

As outlined in my mail: what you propose may be difficult (point 2b), not 
possible (point 1), inappropriate (point 3) or inconvenient (point 2abc).

Keep in mind that Java and C/C++ are fundamentally different. Most C 
programs are shipped in source form and the user is expected to 
./configure, make, make install. The ports system naturally matches and 
automates this process.

Java programs on the other hand are mostly shipped as precompiled jars 
(i.e. binary) and the end-user is not expected to use the source except for 
reference purposes and/or for contributing.

The Jakarta webpage says:

"We make the actual source code available for anyone to use. In general, 
the source code is meant for developers who want to "hack" in order to 
integrate Servlets and JSP into other products."

and

"In general, binaries are meant for developers who want to use the Servlet 
and JavaServer Pages technologies (versus those who want to "hack" the 
technologies in order to integrate them into other products)."

This suggests that installing the binary is exactly what should be done: 
ports are for end-user deployment, not for development. Incidentally, this 
is exactly what most (if not all) Java ports do currently: install the 
binary.

More generally: the ports system should be adapted to the applications it 
is used for, not the other way around.

Cheers,
Jeroen


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?818090000.978283636>