[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1973) Problem with two files in same dir, names differ only by case

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon Mar 31 10:13:40 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1973?page=comments#action_12405904 ] 
            
Viacheslav Kabanovich commented on JBIDE-1973:
----------------------------------------------

Windows model does not allow for two files 'page.jsp' and 'Page.jsp' to exist in the same folder. 
That means that for a fast check whether a file 'paGe.jsp' can be created we need to keep in 
a cache for used names 'page.jsp' rather than 'Page.jsp'. 
Why have we ignored that under Linux files page.jsp and Page.jsp can coexist in the same folder? 
Most probably idea was to enforce developing applications that could be run under Windows. 
Since the very first version of our product this has become the first complaint. 
So, to solve the problem, I just checked that file system cares for case of letters, 
and if (and only if) it is, put to caches unchanged names, otherwise did as before. 
I think this must work.



> Problem with two files in same dir, names differ only by case
> -------------------------------------------------------------
>
>                 Key: JBIDE-1973
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1973
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor
>    Affects Versions: 2.0.0.GA
>         Environment: SuSE linux, java 1.6.0_03-b05, eclipse 3.3.2
>            Reporter: Simon Kitching
>         Assigned To: Viacheslav Kabanovich
>             Fix For: 2.1
>
>
> When two .jsp or .xhtml files are in the same directory, and their names differ only by case then opening with the "JBoss Tools JSP Editor" or "JBoss Tools HTML Editor" always opens the "first" one of them regardless of which is actually selected.
> It is not possible to open the other file with the jboss editors. However selecting "open with" and choosing a non-jboss editor works fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list