Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 87582 invoked from network); 11 May 2004 09:25:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 May 2004 09:25:48 -0000 Received: (qmail 13317 invoked by uid 500); 11 May 2004 09:26:28 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 13248 invoked by uid 500); 11 May 2004 09:26:27 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 13220 invoked by uid 98); 11 May 2004 09:26:27 -0000 Received: from rambiusparkisanius@yahoo.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(66.218.78.142):. Processed in 0.016891 secs); 11 May 2004 09:26:27 -0000 X-Qmail-Scanner-Mail-From: rambiusparkisanius@yahoo.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(66.218.78.142):. Processed in 0.016891 secs) Received: from unknown (HELO web40605.mail.yahoo.com) (66.218.78.142) by hermes.apache.org with SMTP; 11 May 2004 09:26:27 -0000 Message-ID: <20040511092523.85859.qmail@web40605.mail.yahoo.com> Received: from [62.44.96.2] by web40605.mail.yahoo.com via HTTP; Tue, 11 May 2004 02:25:23 PDT Date: Tue, 11 May 2004 02:25:23 -0700 (PDT) From: Ivan Ivanov Subject: Re: war deploy To: Ant Users List , pvalle@eprocess.fr In-Reply-To: <40A08563.4060801@eprocess.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello Philippe, a month ago I created a web app installion script, which creates db for the app and deploys the war. I am sending you the whole script (it is small). "deploy" target will be of interest of you. I do not use tomcat ant tasks, since deploying in tomcat is a matter of single . Note also that my "deploy" target should be invoked when tomcat is _started_. Of course, you can start tomcat via your ant script too. If you want this message me and I will send you more scripts. Regards Ivan ---- install.xml ---- ]> IAT installation script; installs IAT distribution --- Philippe Valle wrote: > HI, > > > how to deploy WAR file with ant 1.6.1 ( i use tomcat > 4.1.29 ) : > > > this lines in build.xml file doesnt works : > > <-- Configure the custom Ant tasks for the Manager > application --> > classname="org.apache.catalina.ant.DeployTask"/> > classname="org.apache.catalina.ant.InstallTask"/> > classname="org.apache.catalina.ant.ListTask"/> > classname="org.apache.catalina.ant.ReloadTask"/> > classname="org.apache.catalina.ant.RemoveTask"/> > classname="org.apache.catalina.ant.ResourcesTask"/> > classname="org.apache.catalina.ant.RolesTask"/> > classname="org.apache.catalina.ant.StartTask"/> > classname="org.apache.catalina.ant.StopTask"/> > classname="org.apache.catalina.ant.UndeployTask"/> > > > Thanks , for sample code . > > Philip > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org