You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Karsten Wutzke <kw...@starconcept.de> on 2003/04/15 17:52:55 UTC

Deploys to work/Standalone/localhost directory... why?

Hi all!

I'm quite new to Tomcat...

Why do the Tomcat 4.1 Ant tasks deploy and install put the context 
directory to <tomcat-root>/work/Standalone/<context>, at least on my 
machine? I'm using Ant to do it:

<property name="local.manager.url" value="${local.root.url}/manager"/>
<property name="local.manager.username" value="${manager.username}"/>
<property name="local.manager.password" value="${manager.password}"/>

<property name="webapp.name"         value="basketball"/>
<property name="webapp.context.path" value="/{webapp.name}"/>

<target name="deploy-local" depends="dist,startup-local" 
description="Deploys the web app to local Tomcat.">

   <deploy url="${local.manager.url}"
           username="${local.manager.username}"
           password="${local.manager.password}"
           path="${webapp.context.path}"
           war="file://${dist.file}"/>
</target>

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org