commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luc Maisonobe <Luc.Maison...@free.fr>
Subject Re: [VOTE] [math] top-level package name
Date Tue, 19 May 2009 21:37:35 GMT
Craig L Russell a écrit :
> Sorry for excerpting.
> 
> On May 19, 2009, at 2:14 PM, Luc Maisonobe wrote:
> 
>> With different packages names, the situation is simpler to handle: you
>> can have both libraries (in any order) in your classpath without
>> problems. You can have both 1.2 even hidden deep inside another jumbo
>> package and 2.0 without your code picking up the old classes when you
>> think it should pick the new ones ... This has happened only a few days
>> ago with commons-math.
> 
> IIUC, this problem is solved by OSGi through its tricky use of class
> loaders. Of course, you can say that OSGi is the very definition of jar
> hell, but at least they are trying.

OSGi is clearly the way to go. Unfortunately, it is not used everywhere
and many applications use either plain old CLASSPATH tuning.

Luc

> 
> Craig
> 
> Craig L Russell
> Architect, Sun Java Enterprise System http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message