I got ANT recently installed in Eclipse, and it overrides my formatting
preferences for all .java files, if these files belong to web projects.
It doesn't happen for .java files from non-web projects.
This sounds mysterious. Can you be more specific about what you mean by
"installing ANT"? Ant normally "comes with" every Eclipse installation,
so I'm wondering if you mean something other than what normally comes
with Eclipse?