geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Sisson <jrsis...@gmail.com>
Subject Re: [jira] Assigned: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems
Date Fri, 28 Jul 2006 14:16:37 GMT
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.
>>     
>
>   


Mime
View raw message