[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ClassLoadingMetaData ease-of-use

adrian@jboss.org do-not-reply at jboss.com
Fri Feb 22 09:26:29 EST 2008


"scott.stark at jboss.org" wrote : 
  | Can we use the osgi/mathematical syntax of a version range to specify from/to behaviors?
  | 
  |   | <... version="[1.2.3, 4.5.6)" />
  |   | 
  | meaning the version must be in the range, 1.2.3 <= version < 4.5.6
  | 

I can add it as an option.It is probably more prone to error 
and easily forgotten by non-mathematicians though? :-)

And as you'll see in this example, it's not really any terser.

  | <requirements>
  |    <!-- This -->
  |    <module name="test" range="[1.2.3, 4.5.6)"/>
  |    <!-- is the same as ->
  |    <module name="test" from="1.2.3" to="4.5.6"/>
  | 

NOTE: The toString() of VersionRange already uses that syntax.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131411#4131411

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131411



More information about the jboss-dev-forums mailing list