set ANT_OPTS for validate