tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karsten Wutzke <kwut...@web.de>
Subject Deploys to work/Standalone/localhost... why?
Date Tue, 15 Apr 2003 15:54:45 GMT
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


Mime
View raw message