geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anita Kulshreshtha (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-3044) Common Libs portlet does not split the file name correctly on linux
Date Fri, 30 Mar 2007 15:25:25 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485531
] 

Anita Kulshreshtha commented on GERONIMO-3044:
----------------------------------------------

some nit picking...
  As you noticed the problem is here if(localFile.indexOf("/") > 0). The correct comparison
is if(localFile.indexOf("/") >= 0)
    This is because an absolute path name in unix starts with a "/". The patch you supplied
works because the absolute pathname in  windows do not start with "\"  and the comparison
(> 0) works.

> Common Libs portlet does not split the file name correctly on linux
> -------------------------------------------------------------------
>
>                 Key: GERONIMO-3044
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3044
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 2.0-M4, 2.0-M5
>            Reporter: Jay D. McHugh
>            Priority: Minor
>         Attachments: geronimo-3044.patch
>
>
> Determining the appropriate path delimiter doesn't work - so every path is split as though
it is on windows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message