"scott.stark(a)jboss.org" wrote : Dimitris said we are pulling in the osgi jars
just to use its version class. Can we move to our own compatible interface to avoid this?
|
We do have an interface,
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/microcontaine...
but you still need an implementation.
Currently, we use the OSGi version class as our implementation:
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/microcontaine...
There was a previous discuss on this problem.
The issue is basically if we don't use the OSGi version then we have
to come up with some complicated code that handles comparisons between
the different implementations when doing compareTo().
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/microcontaine...
Of course, its probably not a real problem in practice since it is unlikely that
foo:1.0.0 uses a different version implementation to foo:1.0.1 or foo:2.0.0 :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119166#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...