Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 9029 invoked from network); 15 Apr 2003 18:01:38 -0000 Received: from sccrmhc02.attbi.com (204.127.202.62) by daedalus.apache.org with SMTP; 15 Apr 2003 18:01:38 -0000 Received: from nicki.visi.com (c-24-118-17-192.mn.client2.attbi.com[24.118.17.192]) by sccrmhc02.attbi.com (sccrmhc02) with SMTP id <200304151801410020074ptse>; Tue, 15 Apr 2003 18:01:41 +0000 Message-Id: <5.2.0.9.2.20030415125935.02ed1ae8@shell.visi.com> X-Sender: hoju@shell.visi.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Tue, 15 Apr 2003 13:03:59 -0500 To: "Ant Users List" From: Jacob Kjome Subject: Re: Deploys to work/Standalone/localhost... why? In-Reply-To: <3E9C2D09.9080302@web.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_106747406==.ALT" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=====================_106747406==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Well, you are describing exactly what the "deploy" task is for. If you are using this for development purposes, you should use the "install" task which doesn't persist the context after a Tomcat restart. Instead, it just mounts the directory which is the root of your just built webapp as a running context in Tomcat. It doesn't send any file anywhere and a simple stop of Tomcat or the "remove" task gets rid of all traces that your app was even running under Tomcat. It is *much* more convenient for development purposes than "deploy/undeploy". Jake At 06:02 PM 4/15/2003 +0200, you wrote: >Hi all! > >Why do the Tomcat 4.1 Ant tasks deploy and install put the context >directory to /work/Standalone/localhost/, at least >on my machine? Anything misconfigured? > > > > > > > > >description="Deploys the web app to local Tomcat."> > > username="${local.manager.username}" > password="${local.manager.password}" > path="${webapp.context.path}" > war="file://${dist.file}"/> > > >Nothing unusual I'm using... The depends tasks work fine, they create the >war file which is to be distributed and startup-local starts up local >Tomcat web server, if it hasn't been started yet. > >Can anyone help? > >Thanks! >Karsten > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org --=====================_106747406==.ALT--