Yes, that gets saved with your configuration, so you should only need to do it once.
I'll take a look at improving that detection later this afternoon. The top level project tag is one of the things the detection code is looking at. For this specific case, I think we should rule out Ant just because of the supplied DOCTYPE.