shafqat ali
shafqat ali

Reputation: 33

${Env.CATALINA_HOME} does not exit in openshift

I have a question which is related to openshift online and I am using a Tomcat7 cartridge,Mysql5.5 and Ant Cartridge 0.1.And I am trying to deploy OpenGTS project to openshift but when I open a SSH session and I try to run this command "ant all" it shows that "BUILD FAILED /var/lib/openshift/568e35812d52717d1f000122/app-root/runtime/repo/build.xml:66: /var/lib/openshift/568e35812d52717d1f000122/app-root/runtime/repo/${Env.CATALINA_HOME} does not exit" I am worry about that,I deleted the tomcat application and created again but it is showing same error.please help me.thanks.

Upvotes: 0

Views: 741

Answers (1)

Rao
Rao

Reputation: 21359

Make sure <property environment="env"/> is present at the top of the script.

Also CATALINA_HOME environment variable is defined in the system.

Use ${env.CATALINA_HOME} instead of ${Env.CATALINA_HOME}.

Upvotes: 0

Related Questions