0

I am trying to install Tomcat 8 in OpenShift by following this tutorial, but I am stuck in step:

Next we need to remove the dependency of build-docs target from deploy target as it gives an exception

target name="deploy" depends="package, build-tomcat-jdbc"
          description="Default. Builds a working Tomcat instance"

I can't find out where to find this line to modify it, is it in build.properties?

Simon East
  • 55,742
  • 17
  • 139
  • 133
Lola Loulita
  • 471
  • 4
  • 21

1 Answers1

0

This line belongs to build.xml file, which is usually at the same location as build.properties.default, in ${tomcat.source} folder.

More details on Tomcat building here.

Leandro Carracedo
  • 7,233
  • 2
  • 44
  • 50
  • Thank's I will search for it now, but following the same tutorial I have to do ant clean, but it says command not found and even when I try to install it with apt get , the same error what's wrong !!! – Lola Loulita Apr 16 '15 at 18:16
  • I think this is related to http://stackoverflow.com/questions/26592421/how-to-use-ant-to-compile-and-deploy-my-webapp-in-openshift-server it seems that ant was remove from DIY cartridge – Leandro Carracedo Apr 16 '15 at 18:34