You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Vamsavardhana Reddy <c1...@gmail.com> on 2006/03/24 08:58:40 UTC
FileSystemRepository not able to handle entry with version number which is a single digit.
I see the following in FileSystemRepository.java
Pattern.compile("(.+)/(.+)s/(.+)-([0-9].+)\\.([^0-9]+)");
This reqular expression is not matching an entry like the following.
group/jars/artifact-1.jar
Here the version number is "1", a single digit.
Re: FileSystemRepository not able to handle entry with version number which is a single digit.
Posted by Vamsavardhana Reddy <c1...@gmail.com>.
Done.
-Vamsi
On 3/27/06, Dain Sundstrom <da...@iq80.com> wrote:
>
> Can you file a JIRA on this?
>
> IIRC this is a pattern taken directly from maven, so we may want to
> get them to patch it also.
>
> -dain
>
> On Mar 24, 2006, at 5:16 AM, Vamsavardhana Reddy wrote:
>
> > Settled with Pattern.compile("(.+)/(.+)s/(.+)-([0-9].*)\\.([^0-9]
> > +)") for now.
> >
> > -Vamsi
> >
> > On 3/24/06, Vamsavardhana Reddy <c1...@gmail.com> wrote:
> > Pattern.compile("(.+)/(.+)s/(.+)-([^-]+)\\.([^0-9]+)") should do a
> > better job.
> >
> > -Vamsi
> >
> >
> > On 3/24/06, Vamsavardhana Reddy < c1vamsi1c@gmail.com> wrote:
> > I see the following in FileSystemRepository.java
> >
> > Pattern.compile("(.+)/(.+)s/(.+)-([0-9].+)\\.([^0-9]+)");
> >
> > This reqular expression is not matching an entry like the following.
> >
> > group/jars/artifact-1.jar
> >
> > Here the version number is "1", a single digit.
> >
> >
>
>
Re: FileSystemRepository not able to handle entry with version number which is a single digit.
Posted by Dain Sundstrom <da...@iq80.com>.
Can you file a JIRA on this?
IIRC this is a pattern taken directly from maven, so we may want to
get them to patch it also.
-dain
On Mar 24, 2006, at 5:16 AM, Vamsavardhana Reddy wrote:
> Settled with Pattern.compile("(.+)/(.+)s/(.+)-([0-9].*)\\.([^0-9]
> +)") for now.
>
> -Vamsi
>
> On 3/24/06, Vamsavardhana Reddy <c1...@gmail.com> wrote:
> Pattern.compile("(.+)/(.+)s/(.+)-([^-]+)\\.([^0-9]+)") should do a
> better job.
>
> -Vamsi
>
>
> On 3/24/06, Vamsavardhana Reddy < c1vamsi1c@gmail.com> wrote:
> I see the following in FileSystemRepository.java
>
> Pattern.compile("(.+)/(.+)s/(.+)-([0-9].+)\\.([^0-9]+)");
>
> This reqular expression is not matching an entry like the following.
>
> group/jars/artifact-1.jar
>
> Here the version number is "1", a single digit.
>
>
Re: FileSystemRepository not able to handle entry with version number which is a single digit.
Posted by Vamsavardhana Reddy <c1...@gmail.com>.
Settled with Pattern.compile("(.+)/(.+)s/(.+)-([0-9].*)\\.([^0-9]+)") for
now.
-Vamsi
On 3/24/06, Vamsavardhana Reddy <c1...@gmail.com> wrote:
>
> Pattern.compile("(.+)/(.+)s/(.+)-([^-]+)\\.([^0-9]+)") should do a better
> job.
>
> -Vamsi
>
>
> On 3/24/06, Vamsavardhana Reddy <c1...@gmail.com> wrote:
> >
> > I see the following in FileSystemRepository.java
> >
> > Pattern.compile("(.+)/(.+)s/(.+)-([0-9].+)\\.([^0-9]+)");
> >
> > This reqular expression is not matching an entry like the following.
> >
> > group/jars/artifact-1.jar
> >
> > Here the version number is "1", a single digit.
> >
>
>
Re: FileSystemRepository not able to handle entry with version number which is a single digit.
Posted by Vamsavardhana Reddy <c1...@gmail.com>.
Pattern.compile("(.+)/(.+)s/(.+)-([^-]+)\\.([^0-9]+)") should do a better
job.
-Vamsi
On 3/24/06, Vamsavardhana Reddy <c1...@gmail.com> wrote:
>
> I see the following in FileSystemRepository.java
>
> Pattern.compile("(.+)/(.+)s/(.+)-([0-9].+)\\.([^0-9]+)");
>
> This reqular expression is not matching an entry like the following.
>
> group/jars/artifact-1.jar
>
> Here the version number is "1", a single digit.
>