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 (JIRA)" <de...@geronimo.apache.org> on 2006/07/25 09:55:15 UTC

[jira] Closed: (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 ]

Vamsavardhana Reddy closed GERONIMO-1781.
-----------------------------------------


> 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
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 1.0, 1.1, 1.2
>            Reporter: Vamsavardhana Reddy
>            Priority: Minor
>             Fix For: 1.1.x
>
>
> 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