Add deploy ant target that builds adn deploys.
Make exceptions more helpful for debugging.