Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 9168 invoked from network); 23 Feb 2004 15:29:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Feb 2004 15:29:14 -0000 Received: (qmail 61190 invoked by uid 500); 23 Feb 2004 15:28:49 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 61004 invoked by uid 500); 23 Feb 2004 15:28:48 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 60990 invoked from network); 23 Feb 2004 15:28:48 -0000 Received: from unknown (HELO ms-smtp-02.nyroc.rr.com) (24.24.2.56) by daedalus.apache.org with SMTP; 23 Feb 2004 15:28:48 -0000 Received: from rochester.rr.com (roc-66-67-216-164.rochester.rr.com [66.67.216.164]) by ms-smtp-02.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id i1NFSmEj006647 for ; Mon, 23 Feb 2004 10:28:48 -0500 (EST) Message-ID: <403A1C30.4000109@rochester.rr.com> Date: Mon, 23 Feb 2004 10:28:48 -0500 From: "Dean A. Hoover" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: ant emulation of "Upload a WAR file to install" References: <403A0851.10805@rochester.rr.com> <403A1AF3.6000501@cyberspaceroad.com> In-Reply-To: <403A1AF3.6000501@cyberspaceroad.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks. I'll give that a try... when does tomcat notice the war file? Adam Hardy wrote: > On 02/23/2004 03:04 PM Dean A. Hoover wrote: > >> I am using ant 1.6 and tomcat 4.1.29. >> I have set my webapps directory to someplace >> other than the usual place. When I use >> the /manager/html/list application through >> my browser, I can use the "Upload a WAR file to install" >> form to put my war file in the webapps directory, >> unpack it and run it. This is exactly the behavior >> I would like to emulate in ant, but I do not see >> how. I have played around with the "install" and >> "deploy" tasks, but they do not operate the same >> as the upload form does. How can I do what the >> form does using ant? > > > You just need ant to copy the war into your APPBASE directory. Then > tomcat will do the rest, assuming that your host (in server.xml) is > configured to autoDeploy="true" and unpackWARs="true". > > > Adam --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org