On Tue, Apr 29, 2008 at 11:40 PM, Archie Cobbs <[EMAIL PROTECTED]> wrote:
> I have a question about revision dependencies and precisely how the "+" > wildcard works.... e.g., in a dependency like this: > > <dependency conf="default->apis,impl" org="org.apache.xerces" > name="xerces" rev="2.5+"/> > > I think the best way to ask the question is with a little true/false quiz > :-) > > Does rev="2.5+" match "2.5.3" ? y > > Does rev="2.5+" match "2.6" ? n > > Does rev="2.5+" match "3.0" ? n > > Does rev="2.5.+" match "2.5.3" ? y > > Does rev="2.5.+" match "2.6" ? n > > Does rev="2.5.+" match "3.0" ? n I know the syntax is confusing, but the + versions can be read as "starts with?". If you need more powerful stuff, use version ranges. Xavier > > Thanks, > -Archie > > -- > Archie L. Cobbs > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/
