I guess this script has two common use cases: 

- run by User as user at $LOCAL_GIT_REPO_ROOT
- run by Vagrant as root at /root

Vagrant does not include 'workdir' or 'user' settings for <code>config.vm.provision "shell"</code>, and running <code>ant build</code> or <code>ant run</code> as root will create messy file permissions for the Vagrant user, so I suggest removing the <code>ant run</code> line (and this new block) and adding to to instructions instead.