Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 19:44:33 +0200
From:      Ernst de Haan <znerd@FreeBSD.org>
To:        Nick Johnson <freebsd@spatula.net>
Cc:        freebsd-java@freebsd.org
Subject:   Re: ports and /usr/local/java
Message-ID:  <200208161744.TAA10264@smtp.hccnet.nl>
In-Reply-To: <20020816101811.B29093-100000@turing.morons.org>
References:  <20020816101811.B29093-100000@turing.morons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Nick,

There is already a proposal for a standard, documented, directory structure 
for Java ports. But it's not implemented yet. The ball is in my hands at the 
moment, but I haven't taken the time to score yet.

For now the rules -which I realise my ports don't obey- are as follows if you 
look at the hier(7):

* All architecture-independent files should go into ${PREFIX}/share
* All Java files should go into ${PREFIX}/share/java

For the proposal I mentioned see:
http://people.freebsd.org/~znerd/javalibdirs.html

I know it's already outdated. It doesn't cover Java-based application since 
at the time of writing I assumed these could just go into ${PREFIX}...


Ernst


On Friday 16 August 2002 19:24, Nick Johnson wrote:
> Ok, here I go rocking the boat.
>
> If you look through ports you'll see a ton of p5 modules that neatly drop
> themselves in well-known locations.  This makes installing dependencies
> for perl stuff quite easy.
>
> Unfortunately, we don't have such a thing for java apps and classes since
> these things aren't tightly controlled by anyone, but I think it would be
> desirable for us to be able to do dependencies to make installation of
> java packages easier.
>
> So what do folks think about creating some kind of /usr/local/java
> hierarchy to manage this stuff?  Maybe with some categories similar to the
> categories established in ports.  I'm thinking of maybe something like
> this:
>
> /usr/local/java/
> /usr/local/java/contrib/packageName/{the whole package}
> /usr/local/java/site_java/{category}/{symlinks to jar files in contrib}
> /usr/local/java/makeClasspath
>
> I'll probably do something like this for myself regardless, but it seems
> like something like this could be beneficial to everyone, not just me.
>
> Any thoughts?
>
>    Nick
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-java" in the body of the message

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?200208161744.TAA10264>