* Karl Trygve Kalleberg <[EMAIL PROTECTED]> [2004-01-09 09:18:40 +0100]:
> We are currently playing around with the following packaging scheme for java
> applications (0th draft):
>
> Each Java package will install its jar files into
> /usr/share/<packagename-slot>/lib/, instead of /usr/share/<packagename>/lib/
>
> There will still be a
> /usr/share/<packagename-slot>/package.env file, and it can contain
> more than just the CLASSPATH env variable.
Looks good.
> ---
> export JAVA=`java-config -J`
> export CLASSPATH=`java-config -p commons-logging-1,bcel-0,junit-3`
> ${JAVA} org.foobar.Main $*
> ---
Just a comment: Normally, when I want the classpath for junit, I just
want the classpath for junit. I don't remember which version or slot of
junit I want. How about a mechanism for automatically choosing the latest
slot if the slot is unspecified? Kind of like the way shared libraries
work?
Eivind
--
Eivind Tagseth,
E-post jobb: [EMAIL PROTECTED], e-post priv: [EMAIL PROTECTED]
Mobil: +47 922 43 742
--
[EMAIL PROTECTED] mailing list