Re: PatternVersionMatcher in Ivy code base

2008-08-04 Thread Xavier Hanin
On Mon, Aug 4, 2008 at 9:41 PM, Maarten Coene <[EMAIL PROTECTED]>wrote:

> Xavier,
>
> I've looked at the code, and I can't remember writing such a thing and I
> can't remember using it.
>
> The svn history logs indicates I've added the code, so I can only think of
> 3 options:
> - there must be something wrong with my memory
> - there went something wrong importing the svn history from jayasoft to
> apache
> - I've added it on request of someone else who maybe posted it on the
> jayasoft forums (I've checked JIRA, but didn't find anything)

I can't remember either, I remember discussing this as a new feature, and I
thought it was a contribution. But anyway, we can find what this version
matcher is doing from code, and maybe add a couple of tests and some
documentation. Nothing urgent though, so I'll open a JIRA.

Xavier


>
>
> Maarten
>
>
>
>
> - Original Message 
> From: Xavier Hanin <[EMAIL PROTECTED]>
> To: Ant Developers List 
> Sent: Monday, August 4, 2008 8:22:38 PM
> Subject: PatternVersionMatcher in Ivy code base
>
> Hi,
>
> While answering a question from a user on the user ml, I've checked the
> code
> to see if we have a version matcher able to work with regular expression,
> as
> I remembered sg like this have been developed before. I've found
> PatternVersionMatcher. But it seems this is not documented, not tested and
> not even declared in our default typedef.properties. According to the svn
> log, Maarten, you seem to be the one who has checked in this code. Do you
> remember your use case? Do you have any hint on how it is used? According
> to
> the code there's something with parenthesis and arguments given to the
> revision and the matcher. But at least an example would help. And since it
> seems to be very powerful, adding documentation about it would be nice too
> -
> a kind of new feature, despite it's in the code base for 2 years now :-).
>
> Xavier
>
> --
> Xavier Hanin - Independent Java Consultant
> http://xhab.blogspot.com/
> http://ant.apache.org/ivy/
> http://www.xoocode.org/
>
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/


Re: PatternVersionMatcher in Ivy code base

2008-08-04 Thread Maarten Coene
Xavier,

I've looked at the code, and I can't remember writing such a thing and I can't 
remember using it.

The svn history logs indicates I've added the code, so I can only think of 3 
options:
- there must be something wrong with my memory
- there went something wrong importing the svn history from jayasoft to apache
- I've added it on request of someone else who maybe posted it on the jayasoft 
forums (I've checked JIRA, but didn't find anything)

Maarten




- Original Message 
From: Xavier Hanin <[EMAIL PROTECTED]>
To: Ant Developers List 
Sent: Monday, August 4, 2008 8:22:38 PM
Subject: PatternVersionMatcher in Ivy code base

Hi,

While answering a question from a user on the user ml, I've checked the code
to see if we have a version matcher able to work with regular expression, as
I remembered sg like this have been developed before. I've found
PatternVersionMatcher. But it seems this is not documented, not tested and
not even declared in our default typedef.properties. According to the svn
log, Maarten, you seem to be the one who has checked in this code. Do you
remember your use case? Do you have any hint on how it is used? According to
the code there's something with parenthesis and arguments given to the
revision and the matcher. But at least an example would help. And since it
seems to be very powerful, adding documentation about it would be nice too -
a kind of new feature, despite it's in the code base for 2 years now :-).

Xavier

-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/



  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



PatternVersionMatcher in Ivy code base

2008-08-04 Thread Xavier Hanin
Hi,

While answering a question from a user on the user ml, I've checked the code
to see if we have a version matcher able to work with regular expression, as
I remembered sg like this have been developed before. I've found
PatternVersionMatcher. But it seems this is not documented, not tested and
not even declared in our default typedef.properties. According to the svn
log, Maarten, you seem to be the one who has checked in this code. Do you
remember your use case? Do you have any hint on how it is used? According to
the code there's something with parenthesis and arguments given to the
revision and the matcher. But at least an example would help. And since it
seems to be very powerful, adding documentation about it would be nice too -
a kind of new feature, despite it's in the code base for 2 years now :-).

Xavier

-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/