Hi,

I'm trying to use an Ant build script to deploy/install a war file to a
local Tomcat server. I've found and read the documentation.

The task I use is as follows:

<target name="tomcat.install" description="Installs the Web Application"
depends="package">
  <echo message="Installing ${tomcat.app.name} ..."/>
  <install url="${tomcat.manager.url}"
username="${tomcat.manager.username}"
password="${tomcat.manager.password}" path="/${tomcat.app.name}"
config="file:${basedir}/${assemble}/META-INF/context.xml"
war="file:${basedir}/${artifacts}/${war.file}"/>
</target>

Now, the war file to be installed is copied in the local work folder of
the manager application but the unzipping of the war file does not work
well. It seems only the WEB-INF directory gets unzipped, the other
files/folders are nowhere to be seen.

Anyway offer any help?

Thanks in advance,

Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to