On Fri, Jan 09, 2004 at 09:44:38AM +0100, Eivind Tagseth wrote:
>
> > ---
> > 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?

Naturally. 

java-config would default to selecting the highest slot if none was
specified. 

However, for libraries, it is usually the case that you have to program
against a particular 'series', as both ABIs and APIs tend to break with
major revisions. 

Example: gtk 1.x vs gtk 2.x,


Kind regards,

Karl T

--
[EMAIL PROTECTED] mailing list

Reply via email to