You can archive your web app using ant's jar task.
Mark
-Original Message-
From: Philipp Taprogge [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 2:05 AM
To: Tomcat Users List
Subject: Programmatically deploying webapps
Hi!
I am stuck here :-/
Perhaps anyone could give me a poke in the right direction.
What is want to do is this: I am writing an installer for my web
application. It is intended to ask the user for
hostnames/IP-addresses
for tomcat and a db-server, edit the context.xml to reflect the
datasource, do some sql initialisation (so far, so good) and
then (now
that seems tricky) antomatically deploy the (local) war to a remote
tomcat instance. It seems possible at least with tc5, since the ant
task and the deployer app seem to do exactly this. How can it
be archived?
Thanks in advance
Phil
-
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]