From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10817 invoked from network); 9 Jan 2004 11:48:13 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 9 Jan 2004 11:48:13 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1Aev7c-0000Cf-Vl for arch-gentoo-dev@lists.gentoo.org; Fri, 09 Jan 2004 11:48:13 +0000 Received: (qmail 13423 invoked by uid 50004); 9 Jan 2004 11:48:10 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 14140 invoked from network); 9 Jan 2004 11:48:09 +0000 Date: Fri, 9 Jan 2004 12:48:19 +0100 From: Karl Trygve Kalleberg To: Eivind Tagseth Cc: gentoo-dev@lists.gentoo.org, gentoo-java@lists.gentoo.org Message-ID: <20040109114819.GE7591@boblycat.org> References: <20040109081840.GA7591@boblycat.org> <20040109084438.GI4262@tagseth-trd.consultit.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040109084438.GI4262@tagseth-trd.consultit.no> User-Agent: Mutt/1.5.4i Sender: Karl Trygve Kalleberg Subject: Re: [gentoo-dev] Help with new Cocoon ebuild X-Archives-Salt: 652bbe38-8728-46d9-bc51-49cf422e93a9 X-Archives-Hash: b370cbd5e98c9e0cec34527c68946a1d 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 -- gentoo-dev@gentoo.org mailing list