the tomcat deploy task doesn't build the war, it only deploys it, so unlikely that it is at fault. Have you checked the war manually to ensure it unzips normally with some zip util?

also the unzipping is not really "done" by the deploy task - but is something that tomcat does at some point as part of its process of deploying a war.

--Tim


Peter Verhoye wrote:
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]





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

Reply via email to