Ant build file uses variables now and some reformatting

* Paths are stored in variable and the variables are used
* Removed the extra space in self-closing tags