Fixing $env.TOMCAT_HOME directory creation in eclipse
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfgUjsDUfu-y_ARRXOaJ6xC9R0ms06M0XdLtlvK7HWY4aroENWBkRXatuZqix42Cv2DwFasONhScUcxLlTqg5_Uzeo5oH9tFiQalXHwMwpzyqpXboUFv0_IAkEugH9pcFS6SiIyaVVq0VA/s640/Screen+Shot+2016-10-14+at+10.36.36+PM.png)
I ran into this issue when I cloned a Git repository, was running the ant build and was trying to deploy the build to Tomcat. And every time I did that I got a status of the WAR file being deployed to ${env.TOMCAT_HOME}/webapps. This created a new directory of the same name in the project....and I could not deploy the project....well because it WAS NOT deployed to Tomcat. ${env.TOMCAT_HOME} was being treated like a 'string' in the ant build...not a variable like it should be. And I had something looking like this. I tried looking into setting environment variables on my machine...tried another round hopelessly with root privileges ......to no avail. To make my temper worse I had done this once before successfully on a friend's computer....had very smartly bookmarked the blogpost that mentioned how to do it and now....that entire blog had been removed. On a Friday evening after a full day's work...yeah...right.....i know! Only when I was going to give u...