Re: version range question

2007-03-15 Thread Kenney Westerhof
t doing this breaks other unit tests. I'll make an IT test and see what happens just patching the contains method. -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 9:18 AM To: Maven Developers List Subject: Re: version range quest

RE: version range question

2007-03-15 Thread Brian E. Fox
st patching the contains method. -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 9:18 AM To: Maven Developers List Subject: Re: version range question Brian E. Fox wrote: > Well, I made the change and all the IT tests pass. I'm not s

Re: version range question

2007-03-15 Thread Kenney Westerhof
do much to solve the real problem. -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 8:46 AM To: Maven Developers List Subject: Re: version range question Brian E. Fox wrote: The problem is that I assumed "2.0.5" == "

RE: version range question

2007-03-15 Thread Brian E. Fox
solve the real problem. -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 8:46 AM To: Maven Developers List Subject: Re: version range question Brian E. Fox wrote: > The problem is that I assumed "2.0.5" == "[2.0.5,)"

Re: version range question

2007-03-15 Thread Kenney Westerhof
VersionSpecificationException { VersionRange vr = null; vr = VersionRange.createFromVersionSpec( requiredVersionRange ); return vr.containsVersion( actualVersion ); } -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent:

RE: version range question

2007-03-15 Thread Brian E. Fox
ception { VersionRange vr = null; vr = VersionRange.createFromVersionSpec( requiredVersionRange ); return vr.containsVersion( actualVersion ); } -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 5:45 AM To: Maven Developer

Re: version range question

2007-03-15 Thread Kenney Westerhof
be not if it's not really used) I'd like someone to bless it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Wednesday, March 14, 2007 1:06 AM To: Maven Developers List Subject: Re: version range question I would create a

RE: version range question

2007-03-14 Thread Brian E. Fox
D] On Behalf Of Carlos Sanchez Sent: Wednesday, March 14, 2007 1:06 AM To: Maven Developers List Subject: Re: version range question I would create a jira issue with your tests as unit tests then search for usages of createFromVersionSpec through the whole maven and see how it's used On 3

RE: version range question

2007-03-14 Thread Brian E. Fox
Maven Developers List Subject: Re: version range question I would create a jira issue with your tests as unit tests then search for usages of createFromVersionSpec through the whole maven and see how it's used On 3/13/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: > I'm still hav

Re: version range question

2007-03-13 Thread Carlos Sanchez
I would create a jira issue with your tests as unit tests then search for usages of createFromVersionSpec through the whole maven and see how it's used On 3/13/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: I'm still having trouble with this. I wrote a sample class to show my problem. The issue is

RE: version range question

2007-03-13 Thread Brian E. Fox
I'm still having trouble with this. I wrote a sample class to show my problem. The issue is that all the contains calls are correct except that a singular version ie "2.0.5" always returns true. Is this an artifact bug, or am I doing something wrong? According to the javadoc for the method (shown i

RE: version range question

2007-02-18 Thread Brian E. Fox
My example below is slightly misleading. In the call to containsVersion() I am actually passing a proper ArtifactVersion not a string...I was trying to illustrate the contents of that param. -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Sunday, February 18, 2007 8: