For the "version" of a deployment/module I'm currently using the
OSGi version class.
See
deployers-structure-spi/org.jboss.deployers.structure.spi.classloading.helpers.VersionImpl
Doing this will make it easier to interoperate with OSGi in the future,
but it does introduce a dependency of the OSGi core jar into the bootstrap classloader.
Can anybody think of alternate way to do this?
The basic problem is if we want multiple Version implementations
then they will like have to understand each other to implement:
| Comparator<Version>.compareTo(Version other)
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071188#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...