Help! My ant file is all red!
Posted by chris on Sep 1st, 2005
After upgrading from Intellij IDEA 4.5 to 5.0, I found that my ant file suddenly had lots of properties highlighted in red. These were properties that were read in from an external properties file. Suddenly Intellij was not recognising them. At first I thought this was a line-ending issue as it only seemed to happen on Mac or Linux. But no, the solution: Go into the file types section of the settings and ensure that files with .properties extension are classified as “Properties files” not “Text files”. Sanity restored.

