Trying to make an idiot proof tomcat deployment