geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy" <c1vams...@gmail.com>
Subject Re: FileSystemRepository not able to handle entry with version number which is a single digit.
Date Fri, 24 Mar 2006 13:16:31 GMT
Settled with Pattern.compile("(.+)/(.+)s/(.+)-([0-9].*)\\.([^0-9]+)") for
now.

-Vamsi

On 3/24/06, Vamsavardhana Reddy <c1vamsi1c@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.
> >
>
>

Mime
View raw message