Some files in our repository are individual to each developer. For example some developers use a local database, which is configured in a properties file in the project. So each developer has different settings. When one developer commits, he always has to take care to not commit his individually configured files.
How do you handle this?
Our properties files are under a ‘properties’ directory. Each developer has their own ‘username.properties’ files which they can override properties in the environment-specific files such as ‘dev.properties’, or ‘test.properties’. This takes advantage of ANT’s immutable properties (include personal first, THEN environment properties).