Getting ant script to same functionality as maven