a more robust ant build.xml
ignoring bin/doc for safety
removing unecessary argument
with doc