We're using Ant in our project. Our buildfile starts like this:
(big long file here)
Ant works fine, both inside and out of IntelliJ. But while editing, the file attribute is marked in red, and IntelliJ says that 'Attribute "file" not allowed here.' This is odd, because if I ctrl-space right before it, IntelliJ provides "file" as a valid attribute completion, and if I ctrl-space right inside the quote mark, it provides the property file as a valid option too. Editing our Ant file is really annoying because of this (everything is red), am I missing something obvious?
If I trim the Ant file down to:
This works fine. Ant also has massive problems resolving properties defined in the file, many of them are marked in red even if they're clearly defined. This is driving me crazy.
6.0.4, OS X, JDK 1.5