tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Verhoye <peter.verh...@synergetic-solutions.be>
Subject Automatic deploy with ant and Tomcat 4.1.31
Date Fri, 01 Jul 2005 09:31:22 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message