AnsweredAssumed Answered

ant is creating ${env.APP_TOMCAT_HOME} dirs

Question asked by bwakkie on Aug 6, 2009
Latest reply on Oct 17, 2011 by vignesh.sabapathi
while running ant after setting the environment variables…

export JAVA_HOME=/usr/lib/jvm/java-6-sun/
export TOMCAT_HOME=/home/bwakkie/dev/apache-tomcat-6.0.20/
export APP_TOMCAT_HOME=$TOMCAT_HOME
export CATALINA_HOME=$TOMCAT_HOME
export VIRTUAL_TOMCAT_HOME=/home/bwakkie/dev/apache-virtual-tomcat-6.0.20/

… and executing in the svn root…

ant build-tomcat

I get a strange error:
BUILD FAILED
/home/bwakkie/source/svn/Alfresco/root/build.xml:617: Directory does not exist:/home/bwakkie/source/svn/Alfresco/root/${env.TOMCAT_HOME}/lib

Whats wrong here?

I also checked http://wiki.alfresco.com/wiki/Install_Tomcat6 to see if it solves things as I use tomcat6 but it didn't.

Outcomes