Nucleus component names are case-sensitive. Because properties are stored in operating-system files, on an operating system that uses case-sensitive filenames, it is possible to have components whose name differs only by case. For example, on UNIX systems, you can have a Person
component and a person
component, with their properties stored in separate files named Person.properties
and person.properties
.
On Windows, however, file names are not case-sensitive, so creating components whose names differ only by case can lead to problems. If you have a component named Person
, and attempt to create a component named person
, the second component’s property file will overwrite the first component’s.
To prevent this from happening, you can set the checkFileNameCase
property of the top-level Nucleus component to true
. When this property is set to true
, Nucleus will not allow you to create components whose names differ only by case.
Setting this property to true
slows down the ATG platform somewhat, so by default it is set to false
. You may want to set it to true
while you’re developing your site. If you do, be sure to set it back to false
when you deploy your site.