The "javadoc" tag in ant requires a "destdir" attribute. This should not be. The -d param goes to the Doclet and is handled by the standard doclet... if you have an alternate doclet it may not recognize the -d param. It should not be required.
Import errors
Fixed in Ant 1.2