Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 17:39:53 +0100
From:      Ernst de Haan <znerd@freebsd.org>
To:        Rasputin <rasputin@submonkey.net>, java@freebsd.org
Subject:   Re: A Modest Proposal for Java(tm) dependency selection among ports
Message-ID:  <200111191639.fAJGdro13223@zaphod.euronet.nl>
In-Reply-To: <20011119163216.B56021@shikima.mine.nu>
References:  <20011115130202.E33074@johncoop.MSHOME> <200111191317.fAJDHRi12634@zaphod.euronet.nl> <20011119163216.B56021@shikima.mine.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
Rasputin and all,

> Sorry to jump in after the fact ,but I wondered if there
> was a specific problem with JAVA_VER
>
> - this would tie in nicely with things like
>
> XFREE86_VERSION and OS_VERSION, etc,
> and could be compared against in the same way that
> many ports use OS_VERSION (i.e. numerically > )

Sounds reasonable. I was trying to keep things simple, dividing the Java 
version number into minor/medior/major, but you're right, this functionality 
is already available, so why not use it. Okay, then I suggest using 
"JAVA_VERSION" instead of "JAVA_VER" to keep in sync with "XFREE86_VERSION" 
and "OS_VERSION". I will update the proposal.

> In any case, I think make.conf would be suitable to hold
> relevant variables (once we decide what they are).

Sounds reasonable. Will think this over.

> If an app needs a specific version of a JRE/JDK surely it can
> just have a RUN_DEPENDS clause that points to an absolute path

This is always possible, perhaps we can improve this as well.

> Also most ports seem to use JAVADIR or JAVA_HOME -
> the two seem fairly interchangable so perhaps they could be merged in here
> as well??

We should choose the name that covers the load best. Perhaps one or more out 
of these:

JAVA_HOME
JDK_HOME
JRE_HOME

> A lot of ports seem to use dependencies specific to whoever
> wrote the port, so this is a mess worth fixing - roll on bsd.java.mk :)

/me hi5s rasputin


Ernst


-- 
Ernst de Haan
EuroNet Internet B.V.

    "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?200111191639.fAJGdro13223>