You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2006/07/28 06:02:16 UTC

[jira] Assigned: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

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

David Jencks reassigned GERONIMO-1917:
--------------------------------------

    Assignee:     (was: David Jencks)

The simple fix I had in mind for this didn't work.  I don't know how to solve the problem.

> repository doesn't deal well with case insensitive file systems
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-1917
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1917
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 1.1
>            Reporter: David Jencks
>             Fix For: 1.1.1
>
>
> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.

-- 
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

        

Re: [jira] Assigned: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

Posted by John Sisson <jr...@gmail.com>.
The only idea I can think of is to try calling file.getParentFile() and 
then call file.listFiles() which I think should return A/B/1/car in its 
list and compare to the name the user specified a/b/1/car, but the 
performance would be very bad and you wouldn't want this overhead on all 
platforms.

John

David Jencks (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/GERONIMO-1917?page=all ]
>
> David Jencks reassigned GERONIMO-1917:
> --------------------------------------
>
>     Assignee:     (was: David Jencks)
>
> The simple fix I had in mind for this didn't work.  I don't know how to solve the problem.
>
>   
>> repository doesn't deal well with case insensitive file systems
>> ---------------------------------------------------------------
>>
>>                 Key: GERONIMO-1917
>>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1917
>>             Project: Geronimo
>>          Issue Type: Bug
>>      Security Level: public(Regular issues) 
>>          Components: kernel
>>    Affects Versions: 1.1
>>            Reporter: David Jencks
>>             Fix For: 1.1.1
>>
>>
>> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.
>>     
>
>