You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jason Dillon (JIRA)" <de...@geronimo.apache.org> on 2006/07/21 20:40:14 UTC

[jira] Commented: (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=comments#action_12422738 ] 
            
Jason Dillon commented on GERONIMO-1781:
----------------------------------------

Where is FileSystemRepository.java?  Looks like this is for Maven1Repository...

> 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