slonm / orion-cpu

Automatically exported from code.google.com/p/orion-cpu
0 stars 0 forks source link

Чувствительность к регистру файлов #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
В Orion-Web - была проблема:
1. Не обнаруживались файлы .properties, пока они 
были написаны с большой буквы, например, 
OrgUnitsWeb.properties.
2. Когда сделали с маленькой, стали 
обнаруживаться

Поскольку идеология Tapestry - 
нечувствительность имён файлов ресурсов к 
регистру, я думаю нам необходимо поступить 
также.

Original issue reported on code.google.com by kolgen...@gmail.com on 23 Jun 2011 at 7:43

GoogleCodeExporter commented 9 years ago
Unix использует регистрозависимые файловые 
системы. Если найдешь способ открыть файл 
имя которого в неизвестном регистре, то я - 
за.

Original comment by slobodya...@gmail.com on 23 Jun 2011 at 8:20

GoogleCodeExporter commented 9 years ago
Согласен. Нужно быть аккуратнее с 
регистрами. Вот нашёл на сайте Tapestry:

http://tapestry.apache.org/exploring-the-project.html

You do have to name your component template file, Index.tml, with the exact 
same case as the component class name, Index. If you get the case wrong, it may 
work on some operating systems (such as Windows) and not on others (Mac OS X, 
Linux, and most others). This can be really vexing, as it is common to develop 
on Windows and deploy on Linux or Solaris, so be careful about case in this one 
area.

Original comment by kolgen...@gmail.com on 24 Jun 2011 at 5:39