You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org> on 2006/04/06 21:08:05 UTC

[jira] Updated: (GERONIMO-1781) FileSystemRepository not able to handle entry with version number which is a single digit

     [ http://issues.apache.org/jira/browse/GERONIMO-1781?page=all ]

Dain Sundstrom updated GERONIMO-1781:
-------------------------------------

    Component: kernel
    Assign To: Dain Sundstrom

> FileSystemRepository not able to handle entry with version number which is a single digit
> -----------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1781
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1781
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: kernel
>     Versions: 1.0, 1.1, 1.2
>     Reporter: Vamsavardhana Reddy
>     Assignee: Dain Sundstrom
>     Priority: Minor
>      Fix For: 1.1

>
> 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.
> FIX:  Change to Pattern.compile("(.+)/(.+)s/(.+)-([0-9].*)\\.([^0-9]+)")

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira